Support » Plugin: Promotion Slider » [Plugin: Promotion Slider] Can not get it to read Promotions

  • Resolved finleydesign

    (@finleydesign)


    This driving me insane, I am using the PHP code to add the slider to my homepage, which works an absolute dream if I ask it to look at Posts and Categories in “homebanner” etc

    But I want to use the actual Promotions and Promotions section so the client can add what they want, not normal wordpress posts

    The code I have added to the home.php is

    <?php echo do_shortcode(‘[promoslider id=”my_id” post_type=”post” category=”homebanner”]’); ?>

    I have created a “Promotions Category” called homebanner, added promotion posts but nothing!!!!

    http://wordpress.org/extend/plugins/promotion-slider/

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    (@woodent)

    Have you tried this?

    <?php echo do_shortcode('[promoslider id="my_id" category="homebanner"]'); ?>

    Also, it seems that you may have created a category under posts as well as under promotions. Be sure you are passing the category slug into the shortcode. If you created a category by the same name in both places, you likely have a ‘homebanner’ and ‘homebanner-2’ slug which could be part of the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Promotion Slider] Can not get it to read Promotions’ is closed to new replies.