Jump to content
Sign in to follow this  

Creating a custom Image and Ad header per post per Category

Recommended Posts


Hi - I'm using Platform Pro Developer and with the base child theme. I'm trying to add an HTML header (containing an image and an ad) that will display at the top of each post, differentiated by category (so an Amazon Ad and Image header for all posts in my Amazon category). I'm a PHP noob and have been 'point & click' creating to this point... Everything I read points me towards creating some PHP and using the loop to determine when and what to display. I guess I'm looking for confirmation that I'm going about this properly; Do I copy/create a wp-blog-header.php (for the loop) in the base child theme and stick all my PHP Cat_ID stuff there? Any guidance is appreciated :-)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this