Shortcut Codes

This topic contains 16 replies, has 2 voices, and was last updated by  Stephen Harris 11 years, 1 month ago.

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #3583

    to be more precise, in order to plot the content of the array attrs I added the code:

    foreach ($atts as $att){
    echo " start " . $att . " end" ;
    }

    and got

    start showpastevents=false end start end start event_category=”evenement-interculturel” end

    Guillaume
    #3586

    Ah, I see. I thought that was the case from your previous post but I wasn’t sure if it was the forum messing with the format.

    To be clear, $atts should be an array. If it’s not then somethings wrong!

    Have you tried the following on just a blank page:

    [eo_events event_category="evenement-interculturel"]
    

    Does that work? If not, try again with the theme set to TwentyTwelve & other plug-ins disabled. I know you’ve tried already but the $atts array should be an array, so something somewhere is upsetting it!

    Stephen Harris
Viewing 2 posts - 16 through 17 (of 17 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.