Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: trouble with using a shortcode inside a shortcode
    Stefan Girndt
    Participant

    I want to create a website template that I can easily fill with the business details of a prospect.
    All business information (Name, phone, email, address etc.) goes into shortcodes and can be used wherever I want to reference this information.

    Especially the city and state will be used all throughout the website on different pages.
    And I want to update to a new business in one spot without going through all the pages and updating the information manually.

    Perhaps shortcoder isn’t the right tool for this use case?

    in reply to: trouble with using a shortcode inside a shortcode
    Stefan Girndt
    Participant

    I still don’t get it to work using my already existing shortcodes for city and state.
    In your example, I would still have to edit the values for city and state on the page where I use the maps shortcode.

    I wanted to edit the value for city only in the city shortcode and that value would be used everywhere else.

    I tried with

    [sc name=”maps” city=”[sc name='city']” state=”[sc name='state']“]

    But that still didn’t work…

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

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter