cblockmedia
Forum Replies Created
-
I am having issues getting my code to work! Each works independently, but not collectively… Any help?
function nix_scripts()
{
wp_enqueue_script( ‘toggle’, get_template_directory_uri() . ‘/js/toggle.js’, array( ‘jquery’) );wp_enqueue_script( ‘tabs’, get_template_directory_uri() . ‘/js/tabs.js’, array( ‘jquery’) );
wp_enqueue_script( ‘accordion’, get_template_directory_uri() . ‘/js/accordion.js’, array( ‘jquery’) );
}add_action( ‘init’, ‘nix_scripts’ );
Forum: Themes and Templates
In reply to: wp_register_script and enqueue_script helpI am having issues getting my code to work! Each works independently, but not collectively… Any help?
function nix_scripts()
{
wp_enqueue_script( ‘toggle’, get_template_directory_uri() . ‘/js/toggle.js’, array( ‘jquery’) );wp_enqueue_script( ‘tabs’, get_template_directory_uri() . ‘/js/tabs.js’, array( ‘jquery’) );
wp_enqueue_script( ‘accordion’, get_template_directory_uri() . ‘/js/accordion.js’, array( ‘jquery’) );
}add_action( ‘init’, ‘nix_scripts’ );
Forum: Themes and Templates
In reply to: [InfoWay] Cannot use a scalar value as an arraythanks guys! good to know it wasn’t my install or config! I guess its time to find a workaround since the error seems to be theme based.
Forum: Themes and Templates
In reply to: [InfoWay] Cannot use a scalar value as an arraythanks for the quick response. i did but no luck. It seems like there is an error scaling the feature image for blog the blog page. My guess is that its related to either the theme function dynsmic-image.php or media.php from my research.