• Resolved netfuelltd

    (@netfuelltd)


    Hello,
    I have installed and configured the plugin and the add on search widget which are awesome.

    I have a custom single-wpsl_stores.php template which is working great, I just need to be able to rewrite the output of what is generated by the [wpsl_address] and [wpsl_hours] shortcodes if possible?

    I want to put the wpsl_address into a p tag and some other minor tweaks, and in the wpsl_hours I want to remove it from the table entirely.

    Kind regards
    Liam

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    The only way to change the output for those shortcodes is by tweaking the core code itself

    Thread Starter netfuelltd

    (@netfuelltd)

    Hi Tijmen,
    Thank you for getting back to me.

    Is it possible to use the class-frontend.php in my child theme as an override to avoid any issues when the plugin is updated?

    Kind regards
    Liam

    Plugin Author Tijmen Smit

    (@tijmensmit)

    No, there’s unfortunately no way around it then editing the core files. I will look into using an external template, or a filter that allows you to change the structure without having to edit the file itself in the next major update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change output of [wpsl_address] and [wpsl_hours] on single-wpsl_stores.php’ is closed to new replies.