Community Forums › Forums › Archived Forums › Design Tips and Tricks › How Can I Chance the view listings word at my AgentPro Theme
Tagged: Agentpress Pro, language, view listing text
- This topic has 7 replies, 3 voices, and was last updated 10 years, 2 months ago by
Angelo.
-
AuthorPosts
-
June 26, 2015 at 11:04 pm #157642
Angelo
MemberHi, Im from Costa Rica and i would like some help.
I just Got the Genesisi Framework and also the AgentPress Pro Theme.
When I Put the Featured Listings at my theme in the widget area , below each listing there is direct access to the listings and it says (VIEW LISTING) ...I would like to chance that word, i meaen instead of VIEW LISTING..I want to show ( VER LISTA) i dont know much about code , thats why Im here becouse I Know here are people who can help me o do that ...I really need to know how to chance that..I tried to doit with the Poedit...But is dificult for me ...is there any other way to do that withot the Poedit...June 30, 2015 at 10:01 am #157941Ginger
ParticipantHello Angelo,
If you look in the file archive-listing.php, around line number 82, you'll see this code:
$loop .= sprintf( '<a href="%s" class="more-link">%s</a>', get_permalink(), __( 'View Listing', 'agentpress' ) );Change where it says 'View Listing' to whatever you like.
Please use caution when editing php files, one typo and you can cause your site not to load. This tutorial from Carrie is a good overview when editing your site files:
http://www.carriedils.com/editing-wordpress-site-101/
@gscoolidge | Support Nerd | Website Producer/Tweaker | IDX Integrations | Hosting Options
October 30, 2015 at 9:58 pm #169682Angelo
MemberNo Ginger ...it doesnt work...afeter a long time trying ,I can not Find The Way to do this 🙁
October 30, 2015 at 10:11 pm #169684Brad Dalton
ParticipantThere's 2 ways to generate the listings.
1. Ginger refers to the archive template included in the theme.
2. There's the Agentpress Listings plugin which also outputs listings in widget areas.
You can try the
agentpress_featured_listings_widget_loop
filter to modify the default output of the listings. ( Untested )
This question relates to the modification of the Listings plugin and not the theme so may be better asked on the plugin Developers forums.
October 30, 2015 at 10:30 pm #169685Brad Dalton
ParticipantActually, just tested this and you can change the text in the archive template included in the theme.
October 31, 2015 at 10:57 am #169730Angelo
MemberThank you Mr.Dalton..., your tutoriales at WP Sites
Are very helpfull.Thanks to you too Ginger.
I Finally Found the way to do itFile Path
Plugins/agentpress-listings/includes/class-featured-listings-widget.php
line number 91
$loop .= sprintf( '%s', get_permalink(), __( 'View Listing', 'agentpress-listings' ) );October 31, 2015 at 11:25 am #169737Brad Dalton
ParticipantBe aware that modifying plugin files is not best practice because your changes will be lost when the plugin updates.
November 1, 2015 at 12:14 pm #169805Angelo
MemberOk Thanks Brad.
-
AuthorPosts
- The topic ‘How Can I Chance the view listings word at my AgentPro Theme’ is closed to new replies.