WordPress.org

Support

Support » Plugins and Hacks » AgentPress Listings » [Resolved] Hiding "Features" in Property Details?

[Resolved] Hiding "Features" in Property Details?

  • I’ve submitted my question over at Studiopress but wanted to submit it here too:

    I was wondering how you can hide Tags from a custom post but still use them (just invisible). For example, I’m using the AgentPress theme and tags are setup as “Features.” When you add the Features (tags) they appear on a Listing page inside the Property Details div. I need to retain this functionality for Search but I do not want them visible anywhere on the site. Make sense?

    http://64.31.38.66/~retailpl/listings/barrett-parkway/

    I was able to hide them using CSS:

    .entry-content a, .entry-content a:visited {
    display: none;
    }

    However, the comma’s still appear. I’ve found the code in the AgentPress Listing plugin here:

    case “listing_features”:
    echo get_the_term_list( $post->ID, ‘features’, ”, ‘, ‘, ” );
    break;

    Not sure what the preferred method is for this but would love for these to not appear at all on the page yet still be attached to the post.

    Cheers!
    JC

    http://wordpress.org/extend/plugins/agentpress-listings/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ron Rennick

    @wpmuguru

    MultiSite Guru

    You have already done so, but I wanted to respond for others reading the thread – post this type of question at http://www.studiopress.com/forums/.

    The question you are asking is theme customization.

    Copy that…would you be able to respond there? I’m so close to getting this to work the way I need to! 😉

    Plugin Author Ron Rennick

    @wpmuguru

    MultiSite Guru

    Copy that…would you be able to respond there?

    I do use Genesis & custom child themes for all our sites. But otherwise I’m not a theme customizer.

    I’m confused, isn’t that controlled by your plugin and class-listings.php? I understand about the customization but this isn’t controlled by the theme is it?

    Plugin Author Ron Rennick

    @wpmuguru

    MultiSite Guru

    We do not recommend editing the plugin. If you want to hide something hide it using CSS in your theme’s stylesheet.

    Yeah, I’m able to hide it but the commas still appear which is the issue. The commas are found inside the php code, just not sure why I’m not able to hide these via CSS?

    Well, I must have missed something super simple before but I was able to remove the tags including the commas with CSS. I was banging my head there for a while…cheers!

    Hi cyrjm, please can you let me know how you manage to get rid of the “Additional Features” from showing in the property details box? Many thanks.

    Going back in my notes I believe it is this:

    .property-details-col2 p {
    display: none;}

    .post-meta {
    display: none;
    }

    Hi cyrjm,

    Are you sure that’s the correct code? Where did you place it in the theme’s CSS file?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Hiding "Features" in Property Details?’ is closed to new replies.
Skip to toolbar