• Resolved chrysgpc

    (@chrysgpc)


    Hi,

    I’m playing with this theme since 2 days and it’s very great. It fits my need. Regarding the top header image on each post, is there a way to disable this functionality or display ‘if condition’ ?

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You would have to edit the bavotasan_header_image() function in order to add some sort of conditional that would modify how that element works. Removing it will affect the design and other elements might not look the way you would expect.

    Thread Starter chrysgpc

    (@chrysgpc)

    Too bad the plugin does not give the possibility to enable or disable that function. How does it works if I have multiple images in my post?

    Is there a way to modify this function in my child theme ? As I’m quite a newbie with wordpress and php I’m not sure if it’s a good solution and how to do it. Any suggestion ?

    Thanks

    It’s a pretty complex modification. Not something that can easily be explained here. You would probably have to hire someone to get it working the way you want.

    Explain more what you would like to do exactly.

    Or to hide the header on all pages except home, try this:

    Add this snippet to your child theme’s functions.php file:

    function add_styles(){
    	//check if we are NOT on the home page.
    if (!is_home())
    {
       echo '<style type="text/css">
    			.title-card-wrapper {  display: none;}
    		</style>';
    }
    }
    add_action('wp_head', 'add_styles');

    If i understand Chrysgpc right, then he want something like this site have: http://indiemusik.se/pop/blogg/

    If you look above each post it have its own header.
    Correct me if this is’nt what you are looking for Chrysgpc.

    Thread Starter chrysgpc

    (@chrysgpc)

    I’ve upgraded to the version 1.0.3 and post featured image is not used anymore as the header image for the post.

    Yup. A lot of people asked to remove the option, and I thought it made sense since you can specify a header image using the custom header image function. 😉

    Thread Starter chrysgpc

    (@chrysgpc)

    Yes agreed. Thanks for that. Great theme by the way 😉

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Top header image on each post’ is closed to new replies.