Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #1481


    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,

    Please help



    $additional_loop = new WP_Query(array('post_type' => 'page', 'page_id'=>18,46,12,7,18));

    dose not work, only firts page apeers, Hmmmm :(

    any suggestions?


    Try this, it worked for me :

    $additional_loop = new WP_Query(array(‘post_type’ => ‘page’, ‘post__in’ => array(18,46,12,7,18)));

    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,

    thx Vehem



    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?

    Thank you!



    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!


    Glad that you solved the problem :)

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

The topic ‘How to Change slider, so its display not category but spesific page ID's’ is closed to new replies.