• Hi,

    Your plug-in is great, very useful. I don’t know if I would use TEC if it wasn’t for your plugin.

    Question: I would like to have a page that lists all the organizers alphabetically. When I use the organizer shortcode it returns a list of events, not organizers.

    Any suggestions?

    Thanks
    Parampreet

    https://wordpress.org/plugins/event-rocket/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Your plug-in is great, very useful. I don’t know if I would use TEC if it wasn’t for your plugin.

    That’s awesome to hear – thank you!

    Question: I would like to have a page that lists all the organizers alphabetically.

    Should be possible to make that tweak with a snippet like this (which you might add to your theme’s functions.php file) and force alphabetical ordering:

    add_filter( 'eventrocket_embed_organizer_args', 'order_orgs_alphabetically' );
    
    function order_orgs_alphabetically( $args ) {
        $args['orderby'] = 'title';
        $args['order']   = 'ASC';
        return $args;
    }

    When I use the organizer shortcode it returns a list of events, not organizers.

    That’s not good.

    I don’t find the same problem, though: can you provide me with a live example and also share the shortcode plus any parameters you are using?

    Thread Starter Parampreet

    (@parampreet)

    If I put it in [event_embed organizers] or [event_embed organizer] it returns a list of all events.

    If I put in [event_embed organizers=”6011″] it will return all events by organizer 6011.

    I’m using this on a test site so there are only a handful of events put in but you can find the results here:

    http://www.torontokundaliniyoga.com/word/alphabetized-organizer-list/

    Thank You,
    Parampreet

    Plugin Author Barry

    (@barryhughes-1)

    If I put it in [event_embed organizers] or [event_embed organizer] it returns a list of all events.

    That is the problem, then – the [event_embed] shortcode only returns events (it’s purpose is to held you embed events, not organizers).

    What you need here is a different shortcode:

    [organizer_embed]

    This one is used to embed organizers. Does that help?

    Thread Starter Parampreet

    (@parampreet)

    I just tried [organizer_embed] on it’s own, with specific organizer id’s and all variations result a blank page.

    This is what I’m using:

    WordPress Version: 4.0.1
    Events calendar: 3.8.1, Events calendar pro: 3.8.1, Community Events 3.8.2, Event Rocket Version 2.5

    Plugin Author Barry

    (@barryhughes-1)

    Do those organizers have events?

    Thread Starter Parampreet

    (@parampreet)

    Yes they do. I checked the IDs. Also if I switch the tag to [event_embed] with the same IDs all the events for that particular organizer show up.

    Plugin Author Barry

    (@barryhughes-1)

    Can you provide a URL for the page where you are using that shortcode?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘List Organizers Alphabetically’ is closed to new replies.