• Resolved dariuskri

    (@dariuskri)


    Hi, I would like to add this Shortcode to my site theme:

    echo do_shortcode (‘[psac_post_slider show_date = “false” show_author = “false” show_comments = “false” show_category = “false” speed = “700” limit = “35” orderby = “rand” category = “Reviews”]’);

    I enter the code in the Header but it doesn’t work. I only see the text but the slide does not appear.
    How is it used correctly?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dariuskri

    (@dariuskri)

    Correct, the shortcode I want to insert is exactly what the plugin creates:

    [psac_post_slider show_date=”false” show_author=”false” show_comments=”false” show_category=”false” arrows=”false” speed=”800″ limit=”35″ orderby=”rand” category=”Recensioni”]

    In the post above I have mistakenly entered some tests that I have done, but I cannot get any Shortcode to work. I would like to insert the code in the Header or in the right location of the theme so that it appears above or below the Navigation bar.

    Plugin Author pluginandplay

    (@pluginandplay)

    Hello @dariuskri

    When you add shortcode in a template file then you need to use like this:

    <?php echo do_shortcode('[psac_post_slider show_date="false" show_author="false" show_comments="false" show_category="false" speed="700" limit="35" orderby="rand" category="Reviews"]'); ?>

    Thread Starter dariuskri

    (@dariuskri)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add the Shortcode to the theme’ is closed to new replies.