Sascha

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Frontend Editing of ALL community events #1035262
    Sascha
    Participant

    Thanks for hinting me to the right direction! 😉

    I modified your links with the allready existing functions/classes:

    <?php	if ( current_user_can('edit_others_posts') ) {
    $post = get_post(get_the_ID());
    echo Tribe__Events__Community__Main::instance()->getEditButton( $post, __( 'Edit', 'tribe-events-community' ), '<span class="edit wp-admin events-cal"> |', '</span> ' );	
    }
    if ( current_user_can('delete_others_posts') ) {
    echo Tribe__Events__Community__Main::instance()->getDeleteButton( $post );
    }
    ?>

    Works great! Thanks!!!

    Sascha

    in reply to: Frontend Editing of ALL community events #1034337
    Sascha
    Participant

    Hey Brook,

    that is awesome! Works as expected! 🙂

    Just one more thing. Would it also be possible to add a “Delete” Link? what would be the url to add?

    Cheers Sascha

    in reply to: German translation issue #1029939
    Sascha
    Participant

    hi guys,

    I have the same issue. Thanks for looking into it.

    I do not yet understand why the placeholder %s is replaced with “veranstaltung” without the capitalization. IMO the translation states “Veranstaltung” for “event”.

    What to do? 🙂

    Please keep us updated.

    Cheers Sascha

Viewing 3 posts - 1 through 3 (of 3 total)