Theme location id of primary menu is “menu-1” and we add menu classes to keep template design.
<?php wp_nav_menu( array( 'theme_location' => 'menu-1', 'menu_class' => 'nav navbar-nav navbar-right' ) ); ?>
Theme location id of primary menu is “menu-1” and we add menu classes to keep template design.
<?php wp_nav_menu( array( 'theme_location' => 'menu-1', 'menu_class' => 'nav navbar-nav navbar-right' ) ); ?>
Textdomain: Create folder for languages in neuron theme directory
function neuron_theme_supports() { // loading theme textdomain load_theme_textdomain( 'neuron-ccdn', get_template_directory() . '/languages' ); // Gemerate automated feed links on head add_theme_support( 'automatic-feed-links' ); // Adding automatic title tag add_theme_support( 'title-tag' ); // Enabling post thumbnails add_theme_support( 'post-thumbnails' ); // Register menu in primary location with id menu-1. register_nav_menus( array( 'menu-1' => esc_html__( 'Primary', 'neuron-ccdn' ), ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Custom logo support add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); } add_action('after_setup_theme', 'neuron_theme_supports');
<img class="hvr-buzz-out" src="<?php echo get_template_directory_uri(); ?>/assets/img/services/1.png" alt="" />
Change $ to jQuery of $( document ).ready(function() at /themes/neuron/assets/js/ajaxchimp-config.js
/* === Mail Chimp subscription form settings === */ jQuery ( document ).ready(function($) { $('.mailchimp').ajaxChimp({ callback: mailchimpCallback, //replace bellow url with your own mailchimp form post url inside the url: "---". url: "http://trendytheme.us9.list-manage.com/subscribe/post?u=85ba3666ffb519396fbe64dc5&id=c335e5ec53" }); function mailchimpCallback(resp) { if (resp.result === 'success') { $('.subscription-success').html('<i class="fa fa-check"></i>' + resp.msg).fadeIn(1000); $('.subscription-error').fadeOut(500); } else if(resp.result === 'error') { $('.subscription-error').html('<i class="fa fa-times"></i>' + resp.msg).fadeIn(1000); } } });
Add following comments to style.css
/*! Theme Name: neuron Theme URI: https://themes.bdhostit.com/neuron/ Author: Shahadat Hossain Author URI: https://www.codexcafe.net/ Description: Demo Theme Version: 1.0.0 */