Removing part of a function
-
Hi there!
Just wanted to say first that this plugin is great! We are considering switching over from our current database to your plugin if we can figure out how to customize to what we need.
I read through the “create and edit your own template” help sheet and it was very helpful, thank you! However, I’m wondering how I can remove certain parts of a function instead of the entire thing.
A big example would be the author box- I will be posting all the listings on the website, though I do not want it to show my author bio on the listing page- instead we usually have from 1-3 brokers who need to have their contact info on the listing. How would I substitute my author bio and replace it with another real estate agent’s and also add an additional metabox for a third agent if needed?
Another smaller example would be the sale price. We’d like the top section to of a single property listing to say either: For sale or for lease, but we don’t want the price to show in the header. I tried commenting out the epl_property_price function, but the entire “For sale…” disappeared.
Your help is greatly appreciated!
Mike
- The topic ‘Removing part of a function’ is closed to new replies.