Aspire Pro image above title problem

Homepage Community Forums Aspire Theme Support Aspire Pro image above title problem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19597
    aspireproman
    Customer

      Hi all,
      I don’t know if this is solved already or not, but I can’t find a solution with any search results on google.

      The problem is, the featured image being above the title of each post in Aspire Pro. can you get rid of that?, but keep the featured image set as what it was?.

      I still like the featured image being shown in widgets or on the front page, i just dont want it sitting above the post title (below the blog header).

      Thanks in advance for any tips.

      #19598
      Eric
      Customer

        I saw a few posts where other users asked about this here in the forum. Check out your functions.php file and look for some code that looks like this –

        //* Add featured image above the entry content
        add_action( 'genesis_entry_header', 'aspire_featured_photo', 5 );
        function aspire_featured_photo() {
        
        	if ( is_attachment() || ! genesis_get_option( 'content_archive_thumbnail' ) )
        		return;
        
        	if ( is_singular() && $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
        		printf( '<div class="featured-image"><img src="%s" alt="%s" class="entry-image"/></div>', $image, the_title_attribute( 'echo=0' ) );
        	}
        
        }

        That’s the code they used to have Featured Images show on single posts. If you want to remove it, then remove that code above…..you can also comment it out as well.


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #19601
        aspireproman
        Customer

          Thank you my friend that did the trick!. Much appreciated :). For those doing this and it’s not working for you, disable your Firewall in WordPress before modifying your theme code. I forgot to do that.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Aspire Pro image above title problem’ is closed to new replies.