Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

[SOLVED] multiple dynamic pages


  #1  
Old Jan 5, 2012, 07:46 PM
kangcarew
 
14 posts · Dec 2011
What i am trying to achieve is to have 2 pages that operate where the content is dynamic. ie. home page is a blog tracking exercise progress, "page2" is a food journal that is updated like a blog. Basically a second page that only displays "food journal" category posts. I searched the forum and couldn't find anything like this. Thanks for any ideas.
  #2  
Old Jan 5, 2012, 07:56 PM
juggledad's Avatar
juggledad
 
23,686 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is a template in the gold forums -JuggleDad's multi column, custom query template -that would work. You create a page, assign the template to it, add a custom query 'category_name='food journal' and only the journal entries will show up. You can also have the results display in multiple columns.

The gold forums are available to members who have donated at least $20
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 5, 2012, 07:59 PM
kangcarew
 
14 posts · Dec 2011
perfect, I sent the donation to you. Could I add a similar query to not show "food journal" posts on first page?
  #4  
Old Jan 6, 2012, 04:31 AM
juggledad's Avatar
juggledad
 
23,686 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what you do is create another page and set it as the front page, then use a custom query 'cat=-3' where you would change 3 to the ID of the 'food journal' category. If you wanted to exclude a couple categories, you would use 'cat=-1,-2,-3'.

there are a number of examples at http://codex.wordpress.org/Function_...ce/query_posts
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dynamic Content Gallery Works on Front Page but screws up all other pages of New WordPress Fan Forum How-To 2 Jan 19, 2011 01:34 AM
Calling the loop on multiple pages FCBrian Atahualpa 3 Wordpress theme 0 Oct 28, 2009 10:25 AM
Multiple Landing Pages At One Time? SCLove Atahualpa 3 Wordpress theme 12 Oct 20, 2009 07:26 AM
multiple post pages michael close Forum How-To 3 Jun 23, 2009 08:03 PM
multiple pages... (homepage) designer666 Atahualpa 3 Wordpress theme 1 May 12, 2009 10:43 AM


All times are GMT -6. The time now is 03:34 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.