• 0
Sign in to follow this  
Followers 0

Custom Category Headers


Question

Posted · Report post

I am attempting to get customized header images on 5 different blog categories within the same install. I've seen several workarounds (none of which adequately solve my problem) and am considering some alternatives.

 

For a non-Pagelines site, this code makes sense to show different images on different categories:

 

<code>

<?

if (is_home()){
<img src="welcome.jpg">
}

if(is_category('Travels')){
echo '<img src="travels.jpg">';
}
if(is_category('Musings')){
echo '<img src="musings.jpg">';
}
if(is_category('Lunch')){
echo '<img src="lunch.jpg">';
}
?></code>

 

However, I'm not certain Pagelines gives me that functionality or doesn't have it hidden deep inside something.

 

Some pointers about which section(s)? to start editing? 

 

Do I just need to give up on Pagelines and get a regular theme and customize from there?

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

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  
Followers 0