Yes, I’m running wp 4.1.1 and made sure all my plugins are current. No caching plugin but I cleared the cache in the browser and it’s still the same. I also tried 2 other browsers to be sure. I’ve been attempting to “enqueue” the pieces with a functions.php file but keep breaking my site. Below is the 1st 36 lines of code in my php file.. are you able to tell what I’m doing wrong?
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
/*******************************
CUSTOM BACKGROUND SUPPORT
********************************/
add_custom_background();
/*******************************
MENUS SUPPORT
********************************/
if ( function_exists( ‘wp_nav_menu’ ) ){
if (function_exists(‘add_theme_support’)) {
add_theme_support(‘nav-menus’);
add_action( ‘init’, ‘register_my_menus’ );
function register_my_menus() {
register_nav_menus(
array(
‘main-menu’ => __( ‘Main Menu’ )
)
);
}
}
}
/* CallBack functions for menus in case of earlier than 3.0 WordPress version or if no menu is set yet*/
function primarymenu(){ ?>
<div id=”topMenu”>
You need to set up the menu from WordPress admin.
</div>
<?php }