Manually set the ID for the shortcode?

Forums › Forums › Search & Filter Pro › Manually set the ID for the shortcode?

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #38737

    Hi

    I have a staging site and a live site but I wanted to make sure IDs for the Search and Filter shortcodes remain the same.

    When you create a new one in the back-end it assigns the ID randomly and automatically which means one of my S&F have two different IDs which means it is hard to test on the dev site before moving it over to the live one.

    Is there a way of changing the ID that is generated or another short code which allows you to use the name or something?

    Ross Moderator
    #38812

    Hey Luke

    I’m afraid not for now.

    S&F forms are a custom post type, so this ID is managed/generated by WP.

    I’m looking to add an option whereby you can use a name / slug in the shortcodes, so that the ID no longer matters – which would make importing/exporting a breeze.

    This will hopefully be in the next few weeks.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.