How Can I Ensure That One Element Remains Unchanged?

by zoro
4 replies
I am using Wordpress with Page Builder Elements.

Hi, I'm hoping someone can help me figure this out.

I am using the Advantage Theme with site origin page builder.

I have a page duplicator tool that I use together with shortcode keyword sets

The tool I have automatically combines the page duplicator + keywords to generate new unique pages eg, boston/plumbing-repairs, boston/auto-mechanic, boston/heater-repairs

Here is my problem:

Each page generated gets updated with a unique business phone number. But when I go back and make changes to the master Draft Page, then update it's main content, all the duplicated pages revert back to the Draft Page, this means all the individual biz phone numbers that were inserted manually, have now disappeared.

Hence my question: How can I ensure that the one element containing the biz phone numbers, remains constant, when ever I update the Master Draft page and re-duplicate all pages again?

I hope this makes sense. Thank you for you help in advance.

John
#element #ensure #remains #unchanged
  • Profile picture of the author rwil02
    So basically each keyword ends up with a unique phone number / extension?

    Is there a rule for generating or assigning them?
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[10217391].message }}
    • Profile picture of the author zoro
      Originally Posted by rwil02 View Post

      So basically each keyword ends up with a unique phone number / extension?

      Is there a rule for generating or assigning them?
      Yes correct, but I manually input each business phone number into each of the duplicated the pages. My problem is, that next time I update the Master Draft Page with new content, and then again duplicate it using the keyword sets, my manually inputted phone numbers are deleted and replaces with what ever the Master Draft page has.
      {{ DiscussionBoard.errors[10218541].message }}
      • Profile picture of the author rwil02
        I'd look at including in the template a PHP include or require statement for the phone #


        PHP: include - Manual


        <?php include "phone/{keywords here}.php" ?>


        Then for each keyword, you can just add a new {keywords here}.php file into a "phone" folder.
        Those should then get kept when you rebuild the draft.
        Signature

        Roger Willcocks
        L-Space Design
        Please vote to help me win a 3kW solar array

        {{ DiscussionBoard.errors[10218685].message }}
        • Profile picture of the author zoro
          Originally Posted by rwil02 View Post

          I'd look at including in the template a PHP include or require statement for the phone #


          PHP: include - Manual


          <?php include "phone/{keywords here}.php" ?>


          Then for each keyword, you can just add a new {keywords here}.php file into a "phone" folder.
          Those should then get kept when you rebuild the draft.
          Thanks Mate, I'll give it a try and report back.
          {{ DiscussionBoard.errors[10218823].message }}

Trending Topics