Forum: Feature Requests

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Feature Requests premium extension please open a new premium support ticket.

Rename certain field names and add fields

Forums Feature Requests Rename certain field names and add fields

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30037
    m1k3kdot
    Member

    I’m looking to change the word Website to More information: in the store listing as well as add others like incentive that will contain text content. Anyone know how without hacking the plugin? Is there a function I can add?

    #30041

    You could easily do that using WordPress custom fields.
    1) add the information you want, for example price, to a custom field of the post.

    2) You can use hooks provided in the results template to dynamically display the custom fields using a function added to the functions.php file of your theme . Or you could create a custom results template file and add the custom fields to it.

    Let me know if you need more details about the approach above.

    #30040
    m1k3kdot
    Member

    I’d love more details. Ideally, I’d remove things like hours and replace them universally for every listing in my CPT with Discount etc.

    #30039
    m1k3kdot
    Member

    Is there a way to modify the fields and add other fields without modifying the template?

    #30038

    To modify the existing fields you will need to modify the core files. GEO my WP was not built for that.

    The easiest way to add field will be by using custom fields as mentioned above.
    adding the custom field and value for each post in the back-end and displaying it in the front-end is easy by adding the line of code above to the results template file.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.