Forum Replies Created
-
AuthorPosts
-
LynJonMember
Done! 🙂
LynJonMemberThank you so much 🙂 This worked perfectly! (and I learned the importance of making a child theme on the way ;))
LynJonMemberThanks 🙂 When I use this code it does place a breadcrumb above the menu but doesn’t remove the breadcrumb under it, also its still not seeing the parent style sheet. Thanks again!
LynJonMemberThanks for your reply, I tried the above and I’m not sure what is going wrong but I have the following 2 errors:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'unhook_adventurous_functions' not found or invalid function name in /public/sites/www.watals.info/wp-includes/plugin.php on line 503
and
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'adventurous_slider_display' not found or invalid function name in /public/sites/www.watals.info/wp-includes/plugin.php on line 503
Also the original catch responsive is showing without any of my styling or ubermenu.
This is my functions.php file:<?php /** * Child Theme functions and definitions * */ // Unhook default Catch Responsive functions function unhook_catch_responsive_functions() { add_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 50 ); } add_action( 'init', 'unhook_adventurous_functions' ); //Adding Breadcrumb Primary menu add_action( 'catchresponsive_after_header', 'adventurous_slider_display', 10 ); /** * Loading Parent theme stylesheet * */ add_action( 'wp_enqueue_scripts', 'catchresponsive_child_enqueue_styles' ); function catchresponsive_child_enqueue_styles() { wp_enqueue_style( 'catchresponsive-parent-style', get_template_directory_uri() . '/style.css' ); }
I hope you can help
Thanks,
Lynne -
AuthorPosts