- This topic has 5 replies, 2 voices, and was last updated 2 years, 10 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
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.
I am using the Mai Delight theme and I want to use the Agentpress listings plugin with this theme. I want to make some changes in the property details of this plugin based Custom post type. In the past, I could have done so by going to the functions.php file. However, the functions file is almost empty, in the Mai delight theme. Is there a way to solve the problem?
It looks like Agentpress has some shortcodes built in, when I scan the code here https://github.com/studiopress/agentpress-listings/blob/master/includes/class-agentpress-listings.php#L114
I don't see much in the way of customizing the property details though. You can possibly use the
do_shortcode_tag filter to change the output, or maybe what you're going for can be done with CSS alone.
Actually there is a PHP filter on the details too https://github.com/studiopress/agentpress-listings/blob/master/includes/class-agentpress-listings.php#L47
Thank you for pointing me in this direction. Unfortunately, I do not know PHP. Do you mean I should replace the file in folder after making the necessary changes in the PHP file?
Thank you again
No, sorry. A filter is something that can be added in your theme's functions.php or a custom functionality plugin, to override the agentpress output. It's definitely developer level stuff though. You mentioned looking in the theme's functions.php so I thought you were looking for code solutions.
JoveDig, Thank you for proposing the solution. It means I will have to hire a developer. Thanks anyways
© 2023 WPEngine, Inc.