Winning Agent

Sales That Work

  • About
  • Store
  • Blog
  • The Stream
  • Forum
  • Jobs

Featured imagine showing up twice in listing post pages

Home › Forums › Winning Agent Pro Theme › Featured imagine showing up twice in listing post pages

Tagged: feature imagine listing post

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 2 months ago by Marcy Diaz.
Viewing 1 reply thread
  • Author
    Posts
    • April 28, 2017 at 1:02 pm #8190
      sunofabeach
      Participant

      The featured imagine on my listing post pages are showing up twice, how do I remove the one at the very top but keep the one with the for sale banner?


    • April 28, 2017 at 1:11 pm #8211
      Marcy Diaz
      Keymaster

      I’m not quite sure what you’re asking because I don’t see your site. Perhaps this is what you want.
      Look in functions.php. Use FTP to upload the edited file. Be sure to save a copy of functions.php before editing.
      Comment out this section by adding // to the add_action line as shown below.

      // Add featured image above single posts.
      //add_action( 'genesis_before_entry_content', 'wap_featured_image' );
      function wap_featured_image() {
      	global $post;
      	// Return early if not a singular or does not have thumbnail
      	if ( ! is_singular() || ! has_post_thumbnail() ) {
      		return;
      	}
        	echo '<div class="featured-image">';
      		echo get_the_post_thumbnail( $post->ID, 'feature-wide' );
      	echo '</div>';
      }

  • Author
    Posts
Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Log In

Forum Login

Log In
Register Lost Password

Search Forums

StudioPress Real Estate WordPress Theme: Agent Focused Pro Theme
StudioPress Premium WordPress Themes: Winning Agent Pro Theme

Recent Replies

  • How to edit main page background image opacity
  • Fresh Install Issues
  • Remove Background Image
  • Sidebar on Homepage
  • Featured Page on Homepage Not Clickable
OptinMonster

Loan Types & Property Definitions

There are a lot of different types of mortgages, and there are a lot of different types of real estate property. Here is a list of the most common types of each. We’ve added some links to the most popular articles on the subject.

Read More

Real Estate and Mortgage Forum

We think getting many viewpoints to a particular question is important because it helps you to make better decisions. It’s so important that we have woven the Forum all throughout Winning Agent. We invite you to ask questions, make comments, and be part of the discussion.

Read More

Glossary of Real Estate Terms

Real estate and mortgage finance often times comes with its own unique language. If you work with it every day, it becomes 2nd nature, but most people don’t work with it every day. So we’ve created a glossary of mortgage and real estate terms.

Read More

Copyright © 2022 Winning Agent · Powered by the Genesis Framework · Contact Us
Become an Affiliate
This site uses affiliate links, but know that we only recommend products we personally use and enjoy!