Wordpress: Variable content on each post page

Soldato
Joined
27 Dec 2005
Posts
17,316
Location
Bristol
I recently did this website: http://www.cliftontimes.co.uk/

They're now looking to have sponsors on each page, and as this wasn't in the original brief it was planned for both aesthetically and functionally.

They want sponsor logos on the bottom of the front page, which is fine, but then they also want different sponsors on each of the content pages (ie Business etc).

What would be the best way of doing this? Is it possible to have a "stickied" post which would contain the logos and hence appear at the top of each category page?

All ideas welcome :).
 
Do they want to manage the sponsors shown?

If not I would just build it in to the template to have certain sponsors on certain pages.

Are you using categories for your posts for the Business / F&D sections etc? You can get a plugin that allows category templates, so you could build in certain sponsors for certain categories and have them extracted from a sponsor category with a custom field that defines which section they belong to? So the system would loop through the sponsor category posts, if the custom field matched the current category title it would display that sponsor.
 
Custom Post Type

Create a CPT and have categories/tags for each post, each post being an individual sponsor. You can then pull through the CPT with categor/tagy filters such as "home" or "business" and output the relevant post data :)
 
Do they want to manage the sponsors shown?

Possibly, although they're not very technically minded so I'm trying to wangle a monthly upkeep whereby I change various things for them at the start of the month. But I'm exploring all options at the moment.

And yes, categories are used for the upper links/displaying etc.

Thanks for the replies, will look into those options :).
 
Back
Top Bottom