I am using wordpress to design the website for my church (you can see our page here at livinghopefellowshipefc.com). It has been a real adventure and I am learning lots more about html/php/web design.
Now what I want to do is change the content of the right sidebar so that it changes relative to each page. For example, on the front page it will have links “todays devotional”, “recent news”, etc. On the about page it will have links to “statement of faith”, “our history”, “contact us”, etc. On the missions page, it will have links to “global outreach”, “local outreach”, etc.
I am guessing I’m going to have to modify some theme files, but I am not yet sure which files. I will continue to research but any help you can provide will be much appreciated!
1. One global sidebar file that loads custom content depending upon the current page
2. Different sidebar files that are loaded depending upon the current page.
Option 1 involves editing a single file (usually sidebar.php) but it does mean that the file can become quite complex. Option 2 results in a number of smaller sidebar files but you may then have to make very small edits to a number of other files in your theme – depending upon where your current sidebar is called in your theme (hint: look for <?php get_sidebar();?>).
Yay for plugins- it seems that I found a solution using the Display Widget and Sub Pages Widget plugins. Feel free to correct me if this is not the best way to do things, but at the very least it seems to work and do what I want it to do.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘having different front/sub pages’ is closed to new replies.