im a brand spankin new user andcant seem to acheive what i wanna do:-
id like too index say for example 50 seperate pages from 1 link on the main page,how please just tell me how lol
im a brand spankin new user andcant seem to acheive what i wanna do:-
id like too index say for example 50 seperate pages from 1 link on the main page,how please just tell me how lol
rofl
thanks for ya support lol
well no problem, so what was at least so exactly lol you wanted to get support for? can you detail-lol it bit? so rofl lmao
under 'pages' on the main page id like a link saying for example 'houses for sale' when you click this link it takes you too another page with 50 links,each link would link too a page with details of a property,each of the 50 links on the previous page would each have a differant property.
not that my site has anything too do with property sales,i just wanted too feel like a property tycoon lol
if you want to do this in pages, then you can do the following:
setup all your pages & sub pages, and then include this in your page.php template after the main content loop:
<? $pageChildren = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = ".$post->ID." AND post_type = 'page' ORDER BY menu_order", 'OBJECT'); ?>
<? if ( $pageChildren ) : foreach ( $pageChildren as $pageChild ) : setup_postdata( $pageChild ); ?>
LOOP STUFF HERE
<? endforeach; endif; ?>
but this will be really cumbersome to do in pages.. i'd suggest creating categories and using posts to list those 50 entries, not pages..
many thanks llama
is it possible not to displays recent posts on the main page??
how are we doing with this?
How are we doing what?
You do with this like you do with that. But that does only work if this is like that. If this is not like that then you need to do something different from that to achieve this.
is it possible not to displays recent posts on the main page?? yes, it is possible to not do so. checkout the static frontpage option in the blog administration.
This topic has been closed to new replies.