• Resolved the-webde

    (@the-webde)


    Hello :-), the plugin is great but i have a small problem. On Pages it works like a charm. But the Images did not appear on category or post pages. I use the Twenty Fourteen Theme.

    a small snippet from my header.php file

    this do not work on category pages or posts:
    <?php do_action('apply_header_images'); ?>
    
    this work on any page/post and category page:
    
    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="">
    		</a>

    https://www.ads-software.com/plugins/wp-header-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Hmmm, i think its time to improve this plugin. Can you please wait till weekend? So i will update its version with the improved features.

    Thread Starter the-webde

    (@the-webde)

    sure ?? i can wait ?? the rest works like a charm. I tried to figure out why it do not work on posts or category pages but no success yet. I changed the Permalink Structure, looked into the Database but did not find an error. I will make some tests on the weekend with some other test installations with/without plugins and different WP standard templates. If i find anything i will post it here ?? Thanks for your great work!!!! ??

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Hi,

    Sorry for the delay, the new version is with with category and custom permalink thing handling as well.

    Thanks,
    Fahad

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works on pages but not on categories/posts?’ is closed to new replies.