• Resolved warmbooter

    (@warmbooter)


    I just installed this theme in my site, and I noticed that when I enter in a site’s page, it always display a image below the mainmenu. Note that I don’t have a featured image set for the pages, so it display always the same image (I don’t know why it chooses that specific image) in any of the pages page.

    The only way I found to stop the image from displaying in the pages was commenting the line

    	<?php // Display Custom Header Image
    		//dynamicnews_display_custom_header(); ?>

    In the header.php file

    I guess the plugin should detect when a page has no featured image set, and do not display anything in such cases. For posts, there are options to disable the featured images, but I found no similar option for pages.

    Is there a better way to stop displaying the images in pages, without need to edit the header.php file?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks for using Dynamic News.

    The theme displays the featured image as a header image on static pages. That feature allows you use different header images for your static pages.

    If a page has no featured image assigned, the theme displays the normal custom header image as fallback. You can set the header image on Appearance > Customize > Header Image.

    If you remove the custom header image then no image is displayed below the main menu.

    Best,
    Thomas

    Thread Starter warmbooter

    (@warmbooter)

    Hi! So, probably there is some bug in the theme code, because I have no header image set, and the theme still insists to show a specific image. I double checked and there is no image assigned in the “Header image” setting.

    Theme Author ThemeZee

    (@themezee)

    Hi again,

    As I said the theme displays the featured image of the static page as header image. Only in case there is no featured image, the header image is displayed.

    If both featured image and header image are not available, nothing is shown.

    Best,
    Thomas

    Thread Starter warmbooter

    (@warmbooter)

    Hi Thomas,

    Well, I have no featured image set, and have no header image set, and there is still an image being show.

    Let me know if there is a way to help you debugging my situation.

    Carlos

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured image (?) always displayed on pages’ is closed to new replies.