If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6731

    I would like to add static pages into the frontpage slider, and I found this thread : http://www.kriesi.at/support/topic/ (Purchase code hidden if logged out) -the-slider.

    However it was solved one year ago, and the code of index.php seems changed.

    Any help is appreciated.



    in your case you need to replace:

    $query_string .= "&cat=".$k_options['mainpage']['slider_cat_final'];


    $query_string = array('post_type' => array( 'post', 'page' ), 'posts_per_page' => 5, 'post__in' => array(37,50,54,30,32));

    and instead of 37,50,54,30,32 enter your own ids and adjust the posts_per_page number.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Add static pages to frontpage slider’ is closed to new replies.