- This topic is empty.
-
AuthorPosts
-
May 22, 2009 at 12:35 am #24917
CrixLC
MemberHi everyone, this is my first time to post here, so please bear with me.
I’m doing this project where the over-all look of the site will be like this: [img]http://img.photobucket.com/albums/v323/kwicky21/design-mockup.jpg[/img]
If you notice, there are menu items across the top of the page, and there are also links along the right side under the "links" heading.
My question is this: if I develop this site using WordPress, will there be a way for me to have those menu items above as pages, and the links on the side as pages as well? The ones on the top are pretty static, but I want the user to be able to add links on the side as well. But those links need to be pointed to permanent pages as well; that is, having a URL of "http://www.domain.com/Personal-Injury", for instance, and not "http://www.domain.com/2009/05/01/Personal-Injury", etc.
Any help will be appreciated.
Thanks!
Regards,
CrixMay 22, 2009 at 2:54 am #57948freekrai
ParticipantYou have 2 good options, one, create custom fields called "topbar" and "sidebar", and then on pages that display on top, set topbar to 1 and for the side, sidebar gets set to 1
Take a look here: http://codex.wordpress.org/Displaying_P … lect_Query for more info.
May 22, 2009 at 4:00 am #57949AshtonSanders
ParticipantYes, that is very possible.
You will use wp_list_pages to display the pages for both the top and side navigation: http://codex.wordpress.org/Template_Tags/wp_list_pages
What I normally do is create all the pages of the website, then I use the "include" property to make the top nav only display certain pages (no matter what pages the client makes later):Code:Then I leave the side navigation to display all the pages ever created.
May 22, 2009 at 4:31 am #57950CrixLC
MemberNice! I didn’t know there were custom fields until now. This helps a lot.
Thanks a million guys. I’ll be sure to repay the favor one day.
Regards,
Crix -
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.