Hi, i have a grid based Page Preview under my content on my 'home' page. the problem is, that in the grid view the 'home' page is listed again. how can i hide the current page from being displayed?
i load the Parent Pages by using :
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( 'post_type=page&post_parent=0&orderby=menu_order' ); get_template_part( 'leistungen', 'grid' ); wp_reset_query(); ?>
i use this in a similar way on an other page as well, just that i only call the child pages of that page. all child pages will have the preview in a grid of the other child pages with the same parent. i am looking for a solution i could use in generell, if thats possible.. Thanks in advanced for help!