Jump to content

brookruck

New Members
  • Posts

    3
  • Joined

  • Last visited

brookruck's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks again for taking the time to reply. I tried your suggestion, and it did echo the correct data. I still wasn't able to get it to put it into the proper url field for the button shortcode though. But we ended up having to scratch that custom field and do a work around in order to complete the project on time. It does still bother me that I wasn't able to work this issue out though!
  2. Thank you, cyberRobot! At least now I am not getting a blank screen anymore. However, it still isn't inserting the user data into the href/url. There is just a '#' where it should be.
  3. I am working on a site Wordpress site where I have used a plugin to create some custom fields that appear when a user is creating a new page. The code below is a snipet from the template that calls those custom fields and places the user input into the proper sections of the page. The first line is working perfectly, the second piece of code is where my error is coming from. The code in bold is the call to the user input url. I need this to be input into the button shortcode. I am not very experienced with php, so I am hoping that I have just made a simple syntax error. Any help would be greatly appreciated! .... <p><?php echo types_render_field("copy-section");?></p> <?php echo do_shortcode('[button color="accent-color" hover_text_color_override="#fff" size="large" url="' . echo types_render_field("signup-link"); . '" text="SIGN UP TODAY - It's Free and Secure!" color_override="#d28743"]'); ?> ....
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.