• Resolved dee0954

    (@dee0954)


    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?

    https://wordpress.org/plugins/categories-images/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Muhammad

    (@elzahlan)

    hey,

    have you tried any code examples from the docs here ?
    use any of them and then tell me if you still can’t use the plugin.

    Thanks.

    I would need some help here to.

    I am not able to figure out where I have to put the code.

    Just #1: For teh default usage:

    <?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url(); ?>

    I am using the following theme:
    http://wordpress.org/themes/wilson

    For some reason I do not have a category.php

    so the question is, where to add the code ?

    Thank you so much for every little help, I really appreciate it !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category page header img code’ is closed to new replies.