Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #576758

    I am trying to add a header to all of my blog posts.
    I have tried editing the single.php but can’t see any changes on the site.

    I also want to move the breadcrumbs below the main slider is this possible?

    Image attached.

    #576789

    Hi Vincent!

    Not really sure what you mean by adding a header to the posts. Highlight in your screenshot exactly what your trying to do so we can get a better idea.

    For the breadcrumbs you could try this out, https://kriesi.at/support/topic/transparent-header-layout-issues/#post-544853, to make a shortcode version of them.

    Best regards,
    Elliott

    #576791

    I want to add a static image to the top of every posts.

    I was going to add the img tag into the single.php

    Ignore the breadcrumbs for now

    #577513

    Hey!

    Yes, you can modify the single.php file or use the following filter in the functions.php file:

    add_action('ava_after_main_title', 'ava_after_main_title_mod');
    function ava_after_main_title_mod() {
    	if( is_single() ) {
    		 echo "ADDITIONAL CODE HERE";
    	}
    }

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.