Support » Plugin: WP Responsive Recent Post Slider » Slider on the page header

  • Resolved elenapostyrnak7

    (@elenapostyrnak7)



    Hello.

    I created slider. But I don’t know how to put a slider on the page header. I want it to appear on every page. How can I do this with your plugin?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP OnlineSupport

    (@wponlinesupport)

    Hello,
    Thanks for reaching here,
    You can put below shortcode in header.php file
    <?php echo do_shortcode(‘[PUT SHORTCODE HERE]’); ?>

    Please check and let me know if you have any query or issue.
    Thanks & regards

    Hi,
    I reply to this topic because I have the same problem, but when I put the php code after my header it does not work.

    I just see the slider shortcode written on the page. I tried to put it everywhere but it doesn’t work and I can’t understand what’s wrong.

    Plugin Author WP OnlineSupport

    (@wponlinesupport)

    Hello,

    Please first activate the plugin and put this shortcode this way

    <?php echo do_shortcode('[recent_post_slider]'); ?>

    if still the issue please share your site url and screenshot where you added so we can check the issue.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.