Author text before agent name on agent listing page
-
Hi Simon,
I would like to show “Author” when intended, but show “Agent” or something similar when showing listings by a particular agent. Here is an example of an agent archive, but notice the text “Author” before the agent’s name:
https://rwd.yourweblayout.com/realty/author/fitzwilliam-darcy/?listings=1
I tried copying archive.php into a wpcasa subfolder in my theme but the only way I can remove the text “Author” before the agent’s name is to edit the archive.php file in my custom theme. This wouldn’t be an issue, except what if the site has both real estate listings and a blog? I tried writing a conditional to check for listing_agent, but that resulted in a blank page, so either that isn’t supported, or there was some error in my conditional.
Thanks!
Christi
- The topic ‘Author text before agent name on agent listing page’ is closed to new replies.