Extra Slider Button on Home (West Pro)

Hi, I can see extra buttons can be added on other themes but am needing a 3rd button on my site home slider - can you confirm if the code discussed here, also applies to “West Pro”: https://athemes.com/forums/topic/multiple-call-to-action-buttons-new-tab-or-window/

same-day.com.au is my site.

Thank you aTheme!

Hello there,

For West Pro, to add the extra 3rd button, follow these steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box

(function($){

 if( $('.header-buttons').length ) {
    var newButton = '<a class="button header-button right-button" href="#">Another Button</a>';
    $('.header-buttons').append(newButton);
 }

})(jQuery);

  1. Update

If site caching applied, you should flush it, otherwise the new code addition won’t take any effect.

Regards,
Kharis

Thanks Kharis! This is great.

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis