Category page header img code
-
Thank you for this plugin.
Being a beginner, i’m not sure where your php code must be inserted
Here is part of the header.php code<section id="pagetitle" class="pagetitle"> <?php if(is_singular()) the_post_thumbnail(array(1000, 1000), array('class' => 'pagetitle-image')); ?> <h1 class="pagetitle-title<?php if(has_post_thumbnail()) echo ' has-thumbnail'; ?>"> <?php global $post; if(isset($post->ID)) $current_id = $post->ID; else $current_id = false; if(is_category() || is_tag() || is_tax()) echo single_tag_title('', true);
I don’t recognise any tags or <img> tags here where your code can be inserted.
Could you please guide me how to go about this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Category page header img code’ is closed to new replies.