• Resolved Markus Maier

    (@markusmaier)


    Hi!

    I am using the events-manager (non-Pro) in the current available version and try to use a custom attribute with the following code:
    #_ATT{myattribute}{[insert page=’111′ display=’content’]|[insert page=’222′ display=’content’]|[insert page=’333′ display=’content’]}

    Unfortunately, the ‘-Character seems to create a problem, since alwyays the first option is used after saving the event. I also tried to escape it (using \’ instead of ‘). If I do not provide selectable items and write the shortcode [insert page=’111′ display=’content’] into the attribute value form when creating en event, the result of the shortcode is perfectly displayed. Therefore it seems that the select-dropdown ist causing the issue. When testing pre-defined values like {text ‘123’|text ‘456’} the same problem occurs, so it is not only shortcode related.

    Any hints, or will I be forced to have an additional file opened with the prepared short codes?

    Best regards from Leipzig/Germany (which explains my poor English – sorry for that!)

    Markus

Viewing 1 replies (of 1 total)
  • Thread Starter Markus Maier

    (@markusmaier)

    arrrgh… the short codes are also working withiout any ‘-character

    #_ATT{myattribute}{[insert page=111 display=content]|[insert page=222 display=content]|[insert page=333 display=content]}

    DOES work! Also page slugs instead of page ids. Perfect!

    Sorry for my unnecessary question!

    Markus

Viewing 1 replies (of 1 total)
  • The topic ‘Using schortcodes in #_ATT’ is closed to new replies.