I’d like to place a subscribe form right below the navbar, on my entire website (all pages & posts)
I’ve tried pasting the shortform code into Custom CSS, but that didn’t do the trick.
Any ideas?
I’d like to place a subscribe form right below the navbar, on my entire website (all pages & posts)
I’ve tried pasting the shortform code into Custom CSS, but that didn’t do the trick.
Any ideas?
Hello @artofcleanair,
Thanks for asking.
You need to add following code in _navbar.php
file to call shortcode.
<?php echo do_shortcode('[shortcode]'); ?>
Replace shortcode with ConvertPlus generated shortcode. Before making any core changes I suggest you to please setup child theme. You should copy _navbar.php
from /wp-content/themes/x/framework/legacy/cranium/headers/views/global/ to /wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/.
You can use following source to download and setting up child theme.
https://theme.co/apex/child-themes
Thanks.
Hmm. I had already set up a child theme so no worries there. I’m navigating it with FileZilla and it’s showing me that at “/wp-content/themes/x-child/framework”, the only thing in that folder is an empty “/views” folder. Any help?
Also, where do I add that code in the navbar.php file? Do I just add a space at the end of the script on notepad and add it in?
Hello @artofcleanair,
Thanks for updating thread.
<div class="<?php x_navbar_class(); ?>">
. You can refer the screenshot. https://screencast.com/t/UOtKOxmvna8
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.