If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
i wood like to change slider to specific page id’s not category’s,
I know i need to modify this line, but cant get working correctly.
$additional_loop = new WP_Query("cat=".$k_option['mainpage']['feature_cats_final']."&posts_per_page=".$k_option['mainpage']['feature_count']);
I want to display only:
$additional_loop = new WP_Query("page_id=18,46,60,71,82"."&posts_per_page=5");
but i cant figure out what is going wrong for me,
$additional_loop = new WP_Query(array('post_type' => 'page', 'page_id'=>18,46,12,7,18));
dose not work, only firts page apeers, Hmmmm :(
Try this, it worked for me :
You still have to select the number of page (5) in the admin panel.
I’ve heard the author of the theme is working to include this option in a next update, could be helpful though ! :)
$additional_loop = new WP_Query(array('post_type' => 'page', 'order' => 'ASC', 'post__in' => array(18,46,60,71,82,99,109)));
Just addet order=> ASC and it ex what i was looking for,
I have set up pages instead of posts in the slider at http://napraforgomag.hu/. However, I wasn’t able to find out how to change the description in the slider, just below the title of the slide. Is that possible to manage the text appearing in sliders?
I think this is not possible with pages because they don’t have an excerpt field/option.
I have solved it: I inserted a MORE tag before the text I did not want to see in the slider.
Have a great day!
The topic ‘How to Change slider, so its display not category but spesific page ID's’ is closed to new replies.