agentpress pro

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

Lot of users are asking this question: How to modify the “View Listing” text?. Very simple way you can change the text. Just drop the following code in your functions.php file and see the magic. add_filter( ‘gettext’, ‘agentpress_change_view_listings_text’, 20, 3 ); /** * Change view listings text. * * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext * @see switch http://php.net/manual/en/control-structures.switch.php… Keep Reading about How to change the “View Listing” text – AgentPress Listings Plugin

Displaying Listings Randomly on Single Listing Page in 5 minutes

Step 1: Creating a new widget area “Featured Listings” for single listing page using genesis_register_sidebar function. This new widget area will come at Appearance -> Widgets page. Add the following code in your functions.php file: Step 2: Placing this new widget area at top of listing content area. Put the following code in your functions.php… Keep Reading about Displaying Listings Randomly on Single Listing Page in 5 minutes