Is it possible to have pages in the sidebar only on certain pages...
What I want to do is setup my site like my current one, but move from Joomla to WP. I love the layout of ice-cream, and so looking for some help.
So, if you went to say the About Us page we want pages for the owners, press releases, and employment....
The primary navigation on the top would only be the Home | About | Clients | whatever....
Then when you clicked on About, it would load the base about page, but there would be a sidebar, and I would like to only have the pages for the about page.
I have seen were people use the categories as pages. The biggest thing is that I do not want all pages to show in the sidebar on each page, only selected pages showing in the sidebar.
Any help would be great...
ps... AWESOME theme so far.
So, if you went to say the About Us page we want pages for the owners, press releases, and employment....
The primary navigation on the top would only be the Home | About | Clients | whatever....
Then when you clicked on About, it would load the base about page, but there would be a sidebar, and I would like to only have the pages for the about page.
I have seen were people use the categories as pages. The biggest thing is that I do not want all pages to show in the sidebar on each page, only selected pages showing in the sidebar.
Any help would be great...
ps... AWESOME theme so far.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answer from the company
-
Hi David
Yes -- there's a way to do exactly what you describe using something called WordPress 'page templates'. They let you change the design of each page slightly depending on your requirements.
There's a little bit of coding you'd need to do (or ask us to do), but it's mostly quite simple:
1) Log in to your FTP account, then browse to /wp-content/themes/ice-cream-dream/ and duplicate the file called "page.php".
2) Give that file a new name. ("about.php" or "client.php", for example.)
3) Open the file in a text editor, and add the following lines to the top, changing the text after "Template Name" to whatever you want to call it:
<?php /*
Template Name: About Us Page
*/
?>
4) Next, scroll down to the line of PHP code that says 'get_sidebar()' and replace it with the html code for the links to the pages you'd like to be in the sidebar for that page template.
5) Repeat steps 1-4 for as many different page templates as you need.
6) Now, when you create a page in the WordPress admin area, scroll down to the option that says "Page Template". You'll see a drop down list that gives you an option to change the page template, like this one:

Simply select one of the templates you've created and the page will display as you've coded it to. This technique can be used to change anything on the page -- not just the sidebar.
If you have any trouble at all, or want us to give you an estimate to make the changes for you, feel free to reply here or email help@wordprezzie.com
Best wishes
Nick
--
http://wordprezzie.com
The company says
this answers the question
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi David
Yes -- there's a way to do exactly what you describe using something called WordPress 'page templates'. They let you change the design of each page slightly depending on your requirements.
There's a little bit of coding you'd need to do (or ask us to do), but it's mostly quite simple:
1) Log in to your FTP account, then browse to /wp-content/themes/ice-cream-dream/ and duplicate the file called "page.php".
2) Give that file a new name. ("about.php" or "client.php", for example.)
3) Open the file in a text editor, and add the following lines to the top, changing the text after "Template Name" to whatever you want to call it:
<?php /*
Template Name: About Us Page
*/
?>
4) Next, scroll down to the line of PHP code that says 'get_sidebar()' and replace it with the html code for the links to the pages you'd like to be in the sidebar for that page template.
5) Repeat steps 1-4 for as many different page templates as you need.
6) Now, when you create a page in the WordPress admin area, scroll down to the option that says "Page Template". You'll see a drop down list that gives you an option to change the page template, like this one:

Simply select one of the templates you've created and the page will display as you've coded it to. This technique can be used to change anything on the page -- not just the sidebar.
If you have any trouble at all, or want us to give you an estimate to make the changes for you, feel free to reply here or email help@wordprezzie.com
Best wishes
Nick
--
http://wordprezzie.com
The company says
this answers the question
-
Inappropriate?Hi Nick -
Thanks for providing some great WP "tutorials" here - have a few interesting ideas to test after reading a few of the simple mods you've outlined for others.
Is it possible to change the header CTA predicated on the above on a per page or post basis? ( we publish in about 25 markets right now and have been using Thesis for many of them due to the custom code alterations possible on a post specific level - but I really prefer the look and uniqueness of ICD)
Lastly - I know you've not released any follow up themes - are there a set of simple mods like the ones you've outlined here, that could be done to ICD that may be simple for you to do - that could effectively incorporate some of the features you were planning? I'd be happy to pay a second time for the a V2 of ICD if you do..:-)
Best -
Ian -
Hi Ian
Yes -- it's possible to change the header using the method described above on a per-page basis (or on a per-post basis with the post templates plugin here: http://wordpress.org/extend/plugins/p...).
Essentially it's exactly the same process as I've detailed above, except that you'd swap out the code that says get_header(); and replace it with a line of php that says include 'header2.php';
You can then create a header2.php file with different content in the ice-cream-dream folder. I'm not sure how Thesis handles it in comparison, but if you want to let us know and discuss it further you're welcome to start a new post about alternate headers on Get Satisfaction.
Sorry that we've not had a chance to release any follow-up themes. We've still got several in the pipeline, and we'll release them as soon as we can. No plans for an Ice Cream Dream 2 yet, but we think you'll like the new ones nevertheless!
Best wishes
Nick
http://wordprezzie.com -
Inappropriate?No worries, Nick - and thanks for the reply - being able to change the offer in the header on a per page, or per post basis is very exciting - and I didn't realize it could be done with such ease..:-)
I'm as close to being a tech idiot as possible while appearing to know what I'm doing - but - the analogous area in Theses - the custom code portion of the sidebar - can be alternated on a similar granular level using custom fields - which overrides the default offer (for our purposes) on each site. So an optin for a PPC campaign, a picture in the next, or a survey in a third, etc - provides a pretty useful way, from a marketing standpoint - of adding specificity to the blog for monetization purposes.
On ICD- the flexibility in the header should emulate the same - so that's an exciting possibility for sure..:-)
Thanks again -
Ian -
Inappropriate?I've tried this and it goes a bit crazy on me, I think it's at step 4 - exactly what should I delete and replace?
Parse error: syntax error, unexpected T_STRING in /home1/tikibook/public_html/wpress/wp-content/themes/ice-cream-dream/store.php on line 8
is the error.
(I'm trying to add an ecommerce pack and want links back to the cart etc in the sidebar)
Alternatively, can the entire sidebar be removed on pages? -
Hi Kathyrn
To replace the sidebar, just delete the whole of line 16 (highlighted here: http://img.skitch.com/20090227-kiey45...) and add the code you need to display your e-commerce information.
If you'd like to replace the sidebar altogether in a page template, simply remove lines 15, 16, and 17 (from the screenshot linked above). Then, to make the left column stretch to fill the space that the sidebar occupied, change the "span-13 append-1" on line 5 to read "span-20 last".
That should be all you need to build your own custom template, I hope. Any problems, let us know!
Best wishes
Nick
Loading Profile...



EMPLOYEE
