unregister_sidebar in child theme not working

This line is your problem add_action( ‘widgets_init’, ‘ohsik_widgets_init’, 12); You are deregistering your sidebar correctly. For some reason you are registering it, or something. I don’t see the need or use for this. The other possibility that I’m thinking of for using this code is that somewhere you are registering your own custom sidebars. If … Read more

Custom Nested WordPress Comments with avatar

Plugin recommendations are off topic, so you will need to search this on your own. As for without a plugin, you can customize the the output of wp_list_comments In wp_list_comments, there is a callback parameter which you can override with your own function. This is the customized callback function that I currently use. It differs … Read more

How to use different jquery function of idangero swiper dependant on page template?

You should really learn how to use debug mode in WordPress. You should go and read this page: Debugging WordPress. The reason being is this line of code add_action( ‘wp_footer’, ‘print__my_inline_script’ ); If you had debug enabled, you would have seen a message like this Warning: call_user_func_array() expects parameter 1 to be a valid callback, … Read more

Create html from function

This all boils down to what needs to go into your functions.php and what not. This might just be personal preference here, but I would strongly advice you to not add elements from your loop to a function. Yes, you don’t like the repetition. Things like custom pagination functions, add these to your functions.php inside … Read more

Update functions.php from WordPress dashboard

That’s the purpose of admin area, isn’t it? 🙂 In WordPress Settings API is mostly responsible for creating and processing admin area pages. It’s not the friendliest part of core though to be honest. I would look around for notification-related plugins, your requirements seem generic enough for good chances of finding something fitting.

jQuery HoverIntent is not a function

According to the wp_register_script() Codex the first parameter handle should have a unique name. If we look at the paramters of the wp_register_script() function it breaks down like this: wp_register_script( $handle, $src, $deps, $ver, $in_footer ); So your wp_register_script() function should also break down into a similar way: wp_register_script( ‘dropmenu1’, get_bloginfo(‘template_directory’) . ‘/js/jquery.dropmenu.js’, array(‘jquery’), ”, … Read more