• Resolved bolt24

    (@bolt24)


    Since I can’t use the shortcode for the blog page (not used as my index-page) for a topslider for all news/blogs where to inject the PHP code?

    I tried this below but don’t know where to put it correctly.

    <?php
      if(get_the_title()=="Blog") {
          echo do_shortcode('[smartslider3 slider=11]');
      }
    ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Where to put the PHP code for the blog page?’ is closed to new replies.