Content area preventing external script from loading

Hello, please follow this link

This is what the page should look like. This is when the code is pasted directly into the page NOT using PRO.

Follow this link

This is what happens when the code is pasted into the โ€œPro Content Areaโ€ element.

<div class="vagaro" style="width:250px; padding:0; border:0; margin:0 auto; text-align:center;"><style>.vagaro a {font- 
size:14px; color:#AAA; text-decoration:none;}</style><a href="">Powered by 
Vagaro</a>&nbsp;<a href="">Salon Software</a>,&nbsp;<a 
href="">Spa Software</a>&nbsp;&amp;&nbsp;<a 
href="">Fitness Software</a><script type="text/javascript" 

I appreciate any help that can be offered. Thank you for your time!

James Creston

Hello @jamesjcreston,

Thanks for writing in! :slight_smile: Let us do this according to best practice.

  1. First, backup your code above and remove it on your page.

  2. Please setup a child theme: How To Setup Child Themes

  3. Once your child theme has been setup, kindly open functions.php file and paste this code:

function load_script_content() {
	return '<script type="text/javascript" 

add_shortcode('custom_script', 'load_script_content');  
  1. Then open Cornerstone and add this shortcode in a Raw Content element:


  1. Then go to Pro > Theme Options > CSS:
.vagaro {
   margin: 0 auto;
   padding: 0; 
   width: 250px; 
   text-align: center;
   border: 0; 
.vagaro a {
    padding: 0 10px;
    font-size: 14px; 
    color: #AAA; 
    text-decoration: none;
  1. Lastly, add this code in your page:
<div class="vagaro">
  <a href="">Powered by Vagaro</a>
  <a href="">Salon Software</a>
  <a href="">Spa Software</a><span>&amp;</span>
  <a href="">Fitness Software</a>

Hope this helps.

Hi Jumar,

I was able to make the updates precisely as you described.
It is not showing anything at all aside from the HTML code.

Thank you again for your time and your help!

James C

Hello there,

Can I ask for your Wordpress Admin username/password so we can take a closer look?

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.