• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Agentpress Featured Listing Thumbnail 'Sold'

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Agentpress Featured Listing Thumbnail 'Sold'

This topic is: not resolved
  • This topic has 3 replies, 4 voices, and was last updated 11 years, 4 months ago by Genesis Developer.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 9, 2015 at 11:01 am #151276
    jamesg89
    Member

    Hey All,

    I figured out how to add 'SOLD' to the thumbnail photos for featured listings on the front page (for those looking how to do this simply add 'Sold' to the Custom Text in Property Details of the Listing).

    Now I am trying to make a few variable formats for how this shows. For instance, if 'Sold' then bg=red, if 'Just Listed' bg=blue, if 'Price Reduced' then bg=green.

    Thanks in advance!
    James

    http://www.vancouverlistingsearch.com/
    May 9, 2015 at 1:28 pm #151296
    Johann Kratzik
    Member

    Hi James,

    I guess you are talking about Post Meta Fields. Probably you enter the word "SOLD" into such a field in the backend. And probably you have a template file with PHP functions to display those field values - "SOLD" and "Just listed".

    It will of course be possible to add the according variables and CSS classes but not without viewing the PHP code. I can take a look at it if you send me the files to [email protected]. The according PHP functions might be split into different files.

    Thanks,
    Johann


    Offering customization work for FREE – Read more

    June 30, 2015 at 4:52 am #157910
    Adi
    Participant

    Hi James,

    Can I ask how you acheived the SOLD overlays on your listings? I'm looking to do something similar!

    sold

    Many thanks

    Adrian

    June 30, 2015 at 11:46 am #157957
    Genesis Developer
    Member

    @Adi check this


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble