• 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

How to change the “View Listing” text – AgentPress Listings

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 › General Discussion › How to change the “View Listing” text – AgentPress Listings

This topic is: resolved

Tagged: AgentPress Listings, Agentpress Pro, Change View Listings

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 9 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 3, 2016 at 6:03 pm #180591
    Angelo
    Member

    Hi, time ago i was looking for this answer and i finally get it from the genesisdeveloper.me

    This function works perfect to chance the AgentPress to change the “View Listing” text in AgentPress Pro Theme, let me Know if it works for you

    the code you see below should be placed into your theme's functions.php file.

    <?php
    //* Do NOT include the opening php tag shown above. Copy the code shown below.
    //* Change the View Listing Text
    add_filter( 'gettext', 'agentpress_change_view_listings_text', 20, 3 );
    function agentpress_change_view_listings_text( $translated_text, $text, $domain ) {

    if ( ( 'agentpress-listings' == $domain ) || ( 'agentpress' == $domain ) ) {

    switch ( $translated_text ) {

    case 'View Listing' :

    $translated_text = __( 'Modified Text', 'agentpress-listings' );
    break;

    }

    }

    return $translated_text;
    }

    http://genesisdeveloper.me/how-to-change-the-view-listing-text-agentpress-listings-plugin/
    June 29, 2016 at 12:44 pm #188569
    Susan
    Moderator

    As you posted this a while back, I hope you got your issue resolved.

    If it is resolved, please go ahead and mark it resolved, so that it can be closed.

    If you are still looking for a solution, you might have more luck posts on the Genesis Facebook group - it's a pretty active group with 5,000 members: https://www.facebook.com/groups/genesiswp/

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ 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

© 2023 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