Previous Page link in wp-bakeryInclude PHP FORM in SQL ContentSession value doesnt pass on to the next pagecontact form including referral of previous page button (multiple on one page)Multiple Contact Form 7 forms of the same id/form on the same page returning different names/id depending on which link is clickedGet Contact Form 7 Form ID In PHPWordpress shortcodes bug in custom themeHow to add an HTML attribute to vc_btn (WP Bakery Visual Composer)?Styling WordPress Contact Form 7 differently depending on pagevar_dump inside wordpress functions.phpJS Modifying populate contact form dropdown based on URL

Is Sanskrit really the mother of all languages?

Is there any difference between these two sentences? (Adverbs)

Default argument for a functor in a templated parameter

How can I describe hit point damage without talking about wounds?

What's this constructed number's starter?

Global variables and information security

Are buttons really enough to bound validities by S4.2?

What are some countries where you can be imprisoned for reading or owning a Bible?

Why is a pressure canner needed when canning?

If I sell my PS4 game disc and buy a digital version, can I still access my saved game?

Do 643,000 Americans go bankrupt every year due to medical bills?

How do I stop making people jump at home and at work?

Is the Levitate spell supposed to basically disable a melee-based enemy?

A Meal fit for a King

Does POSIX guarantee the paths to any standard utilities?

Left my gmail logged in when I was fired

If I have an accident, should I file a claim with my car insurance company?

Life post thesis submission is terrifying - Help!

'Hard work never hurt anyone' Why not 'hurts'?

Is it rude to ask my opponent to resign an online game when they have a lost endgame?

Who are these people in this satirical cartoon of the Congress of Verona?

Label "Alto en grasa saturada, sal, ..." should there also be Alta?

How could a planet have one hemisphere way warmer than the other without the planet being tidally locked?

Can anyone find an image of Henry Bolingbroke's Sovereygne Feather Seal?



Previous Page link in wp-bakery


Include PHP FORM in SQL ContentSession value doesnt pass on to the next pagecontact form including referral of previous page button (multiple on one page)Multiple Contact Form 7 forms of the same id/form on the same page returning different names/id depending on which link is clickedGet Contact Form 7 Form ID In PHPWordpress shortcodes bug in custom themeHow to add an HTML attribute to vc_btn (WP Bakery Visual Composer)?Styling WordPress Contact Form 7 differently depending on pagevar_dump inside wordpress functions.phpJS Modifying populate contact form dropdown based on URL






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















In the earlier thank-you page template I used the previous link found from $_SERVER['HTTP_REFERER'] and stored in the variable $previous_page. Installed the wp-bakery recently. Now the content are from page builder itself. How can the $previous_page variable can provide as anchor tag.



Prefer to use content from the page builder rather than the template file.



How accurate, If I use the shortcode that the if-else conditions written in functions.php and $previous_page stored in the shortcode variable [thankyou_previous_page]?



Any other suggestions?



Earlier Template Page



if (isset($_SERVER['HTTP_REFERER']))
$previous_page = $_SERVER['HTTP_REFERER'];
else
$previous_page = 'htpp://www.website.com/';

<p>Your enquiry has submitted. Thank you for contacting us.</p>

<a href="<?php echo $previous_page;?>">Back to Previous Page</a>


New wp-bakery page builder



enter image description here




Note:



$previous_page is the page where the thank-you page redirected from. might be from about-us or contact-us or products or home or whereever the cf7 form submits.










share|improve this question
































    0















    In the earlier thank-you page template I used the previous link found from $_SERVER['HTTP_REFERER'] and stored in the variable $previous_page. Installed the wp-bakery recently. Now the content are from page builder itself. How can the $previous_page variable can provide as anchor tag.



    Prefer to use content from the page builder rather than the template file.



    How accurate, If I use the shortcode that the if-else conditions written in functions.php and $previous_page stored in the shortcode variable [thankyou_previous_page]?



    Any other suggestions?



    Earlier Template Page



    if (isset($_SERVER['HTTP_REFERER']))
    $previous_page = $_SERVER['HTTP_REFERER'];
    else
    $previous_page = 'htpp://www.website.com/';

    <p>Your enquiry has submitted. Thank you for contacting us.</p>

    <a href="<?php echo $previous_page;?>">Back to Previous Page</a>


    New wp-bakery page builder



    enter image description here




    Note:



    $previous_page is the page where the thank-you page redirected from. might be from about-us or contact-us or products or home or whereever the cf7 form submits.










    share|improve this question




























      0












      0








      0








      In the earlier thank-you page template I used the previous link found from $_SERVER['HTTP_REFERER'] and stored in the variable $previous_page. Installed the wp-bakery recently. Now the content are from page builder itself. How can the $previous_page variable can provide as anchor tag.



      Prefer to use content from the page builder rather than the template file.



      How accurate, If I use the shortcode that the if-else conditions written in functions.php and $previous_page stored in the shortcode variable [thankyou_previous_page]?



      Any other suggestions?



      Earlier Template Page



      if (isset($_SERVER['HTTP_REFERER']))
      $previous_page = $_SERVER['HTTP_REFERER'];
      else
      $previous_page = 'htpp://www.website.com/';

      <p>Your enquiry has submitted. Thank you for contacting us.</p>

      <a href="<?php echo $previous_page;?>">Back to Previous Page</a>


      New wp-bakery page builder



      enter image description here




      Note:



      $previous_page is the page where the thank-you page redirected from. might be from about-us or contact-us or products or home or whereever the cf7 form submits.










      share|improve this question
















      In the earlier thank-you page template I used the previous link found from $_SERVER['HTTP_REFERER'] and stored in the variable $previous_page. Installed the wp-bakery recently. Now the content are from page builder itself. How can the $previous_page variable can provide as anchor tag.



      Prefer to use content from the page builder rather than the template file.



      How accurate, If I use the shortcode that the if-else conditions written in functions.php and $previous_page stored in the shortcode variable [thankyou_previous_page]?



      Any other suggestions?



      Earlier Template Page



      if (isset($_SERVER['HTTP_REFERER']))
      $previous_page = $_SERVER['HTTP_REFERER'];
      else
      $previous_page = 'htpp://www.website.com/';

      <p>Your enquiry has submitted. Thank you for contacting us.</p>

      <a href="<?php echo $previous_page;?>">Back to Previous Page</a>


      New wp-bakery page builder



      enter image description here




      Note:



      $previous_page is the page where the thank-you page redirected from. might be from about-us or contact-us or products or home or whereever the cf7 form submits.







      php wordpress wpbakery






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 4:43







      J.K

















      asked Mar 28 at 4:07









      J.KJ.K

      1,2341 gold badge8 silver badges25 bronze badges




      1,2341 gold badge8 silver badges25 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390007%2fprevious-page-link-in-wp-bakery%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390007%2fprevious-page-link-in-wp-bakery%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript