I am so close to finishing a project on the page (http://ihcstudio.com/) but am stuck with one issue and that is how to change the accordion slider to link to my pages rather than posts.
I built the entire site using pages, as the content is going to be very static, and am happy with the rest of the site. Just the Home page is now an issue as I cannot find a way to point the sider, and the actual blocks underneath to the pages. I really want to use the pages and not have to duplicate everything to posts.
Please, has anyone got a solution? Or maybe tell me how I can recreate the accordion in a static page (which I see is also a way to change the home page)
In index.php replace
$additional_loop = new WP_Query("cat=".$k_option['mainpage']['feature_cats_final']."&posts_per_page=".$k_option['mainpage']['feature_count']);
$additional_loop = new WP_Query(array('post_type' => array( 'page' ), 'posts_per_page' => 10, 'post__in' => array(37,50,54,30,32)));
and instead of 37,50,54,30,32 insert your page ids (separate them with commas).
The topic ‘Substitute Posts for Pages on Home Page’ is closed to new replies.