Tagged: x
-
AuthorPosts
-
September 16, 2016 at 12:57 am #1177755
odaikanParticipantHi,
I would like to insert following Javascript into a page, but I could not find the solution from the forum. Could you tell me what code should I insert to child theme’s functions.php file? By the way, I do not use Cornerstone, I use Visual Composer.
<script src=”http//www.resunate.com/javascripts/resunate-plugin.js?type=job_board&button_color=pink&preferred_template=tepper_a&button_text=Need%20help%20creating%20a%20resume%3F&” type=”text/javascript”></script>
Thank you!
September 16, 2016 at 1:24 am #1177780
Rue NelModeratorHello There,
Thanks for writing in and the very detailed information. To insert the JS code into the page, please insert this following code in your child theme’s functions.php file.
function add_my_js_code() { ?> <script src="http//www.resunate.com/javascripts/resunate-plugin.js?type=job_board&button_color=pink&preferred_template=tepper_a&button_text=Need%20help%20creating%20a%20resume%3F&" type="text/javascript"></script> <?php } add_action('wp_footer', 'add_my_js_code');And if you only want this js code on a specific page, please use this instead:
function add_my_js_code() { ?> <?ph if ( is_page('the-page-slug') ) : ?> <script src="http//www.resunate.com/javascripts/resunate-plugin.js?type=job_board&button_color=pink&preferred_template=tepper_a&button_text=Need%20help%20creating%20a%20resume%3F&" type="text/javascript"></script> <?php endif; ?> <?php } add_action('wp_footer', 'add_my_js_code');Please note the we have used a condition and you must supply the page slug
is_page('the-page-slug'). To find out where to get the page slug, please check this out:

Hope this helps.
September 20, 2016 at 10:30 pm #1184161
odaikanParticipantHi!
I tried to put in the code you provided into my functions.php in child theme, but still the widget is not showing my page. It supposes to display top of the infographic.
http://www.studentwebcafe.com/career/ats-resume/Is there a way to fix this issue?
Thanks again!
September 21, 2016 at 2:42 am #1184286
FriechModeratorHi There,
Please update the given code to this:
function add_my_js_code() { ?> <?php if ( is_page('2528') ) : ?> <script src="http//www.resunate.com/javascripts/resunate-plugin.js?type=job_board&button_color=pink&preferred_template=tepper_a&button_text=Need%20help%20creating%20a%20resume%3F&" type="text/javascript"></script> <?php endif; ?> <?php } add_action('wp_footer', 'add_my_js_code');And would you mind linking us the page where you get this code? Is there any additional instruction on it?
Thanks.
September 22, 2016 at 10:30 pm #1187442
odaikanParticipantHi, This is the Link.
http://resunate.com/site_plugin/build_job_board_buttonThanks!
September 23, 2016 at 12:22 am #1187514
Paul RModeratorHi,
You can try adding your code in a raw content element.
<script src="http//www.resunate.com/javascripts/resunate-plugin.js?type=job_board&button_color=pink&preferred_template=tepper_a&button_text=Need%20help%20creating%20a%20resume%3F&" type="text/javascript"></script>Please be careful of pretty quotes, copy and paste the code above exactly as it is.
If that doesn’t help, kindly provide your wordpress admin login in private reply.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1177755 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
