About making a shortcut in Events+

With a shortcut I want to show all the event titles (linked te the eventpage) from a event category which I made (namely category “Germany” (cat ID =”31″:wink:. How should the shortcut look like and can I place it in a textfield of the WP texteditor) ThanX

  • Alexander
    • DEV MAN’s Mascot

    Hi @ kreij006,

    I’m not quite sure what you mean by shortcut. Do you just mean shortcode. This can be done with the shortcodes Events+ provides. Here’s an example. Just include either code in a post or page.

    If your category slug is “gemany” you can do this:

    [eab_archive category =”germany”]

    Or simply use the ID:

    [eab_archive category =31]

    Thanks for being a WPMU DEV member. Let us know if we can be of any further assistance.

    Best regards,

  • kreij006
    • New Recruit

    Hello Jack

    (seems i cant attach my screenshot, ill try again)

    thanks for your quick response (me healthy (-: but hopeless )-: )

    I send you 4 screenshots (screen1…4.jpg), bundles in one image, and circled with red the very spots on the screens.

    Hope you can figure it out. If nessesary i'll send more info

    Kind regard

    Maarten

    [attachments are only viewable by logged-in members]

  • Alexander
    • DEV MAN’s Mascot

    Hi Maarten,

    I can see the screenshots ok. I just tested this myself and the archive shortcode displays the list of events with a button linking to the event page.

    Can you try removing the <p></p> tags from your page and see if that helps?

    Also, in my test I used [eab_archive category=”germany”] I can’t quite make it out in the screenshot, but can you confirm that you’re using exactly the slug for the category, or the ID without quotes?

    Thanks!