The conditional tag is_page with a php if, elseif, else could do this:
http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page
Thanks for the tip! I’ll have a look and see if I can figure it out. Not very clued up on php though π
OK, I found a plugin called More Fields which looks like a possibility.
I’m hoping to find a solution to have 1 location to update these amounts and then they would show on the appropriate page. So I could put the UK total raised in one box somewhere and this would appear say at the top right of the UK page and all its sub-pages (except the red nose day one). I’ll explain further. Here is the page hierarchy with the totals that need to be on each (and and the ones below until a new one is mentioned):
# Home – Worldwide Total
# About Us
# Contact Us
# Fundraising
# Governance
# Press
# Privacy Policy
# Site Map
# Terms and Conditions
# Trustees
# United Kingdom – UK Total
* Charity Focus
* Trader Focus
* Gallery
* Red Nose Day – Red Nose Day Total
o Corporate Activities
o Gallery
# United States – US Total
* Charity Focus
* Trader Focus
* Gallery
# Australia – AUS Total
* Charity Focus
* Trader Focus
* Gallery
* Bushfire Appeal – Bushfire Appeal Total
o Activity
o Our Appeal
# New Zealand – NZ Total
* Charity Focus
* Trader Focus
* Gallery
# France – FR Total
* Charity Focus
Could I create a page and hide it from the navigation and somehow pull the content to display on the appropriate pages somehow do you think? Having trouble getting my head around it lol
I’ll have a good look into ‘More Fields’ and see if that helps…
Thanks for advice so far! All further ideas welcome!
/Doug
OK, so, More Fields looks good in the way that I can put a box which lets me choose options on the pages edit area, but I’m not sure how to make those options mean anything. I now have a box which lets me choose which total to put on a page, but I don’t know how to make it do anything with anything lol – I think I’m missing something important…
I use the Widget Logic plugin, then the Text widgit, and set it to which pages i want the text to appear to. Works great without messing with the .php pages.