How do you remove header sitewide from mobile only?
How do you remove header sitewide from mobile only?
How do you remove header sitewide from mobile only?
Unfortunately for those that might come across this in the future I am not sure if this solution will help you. As I worked out the offending image was in the footer. I ended up just clicking on various options in CUSTOMISE>>FOOTER BUILDER and then I selected the PRIMARY FOOTER and found BACKGROUND which has … Read more
How to add content above footer in posts from specific category
Place Footer at bottom of page with short text
The lines you mention are most likely part of your theme. You will need to either: figure out which functions/templates output them and if they have hooks to use; edit theme (create child theme) to add your own function to output what you want.
That code doesn’t look like it conforms to the current Widgets API. Perhaps your problem is related? First potential issue: your class test should be plugin-slug-test, in order to avoid naming conflicts. Second potential issue: the only functions inside of your WP_Widget extending class should be: function plugin-slug-test() {} function widget( $args, $instance ) {} … Read more
I got your problem. You are facing problem how and where to write the code for footer. Below are some guide line it may help or give you some basic idea. First of you have to create footer.php template, if not created. Your tag should be closed in footer.php What ever code or div, links, … Read more
You can ask the plugin author to update the plugin so scripts go in the footer rather than the header. Or you can look in the plugin code and see this: wp_enqueue_script(‘jquery.fancybox’, plugins_url(FANCYBOX_SUBDIR.’/fancybox/jquery.fancybox-‘.FANCYBOX_VERSION.’.pack.js’, __FILE__), array(‘jquery’), FANCYBOX_VERSION); What you can do is edit this yourself so that it enqueues in the footer or you can write … Read more
You’re looking for the is_home() and is_front_page() conditional tags USe it like: <?php if(is_home() || is_front_page()) : ?> <!– Small footer on the home page, only has the #footer-navigation div –> <div id=”footer-top”> <ul id=”footer-navigation”> <?php wp_nav_menu( array( ‘container’ => false, ‘theme_location’ => ‘footer-menu’ ) ); ?> <?php else : ?> <!– Footer for the … Read more
Sure. Set the fifth parameter of wp_enqueue_script or wp_register_script as true, and that script will be placed in the footer. For example, your line wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”), false, ‘1.7.1’); should be wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”), false, ‘1.7.1’, true); And if you ever don’t need/want to specify a version number, just set the fourth parameter to false. More info: … Read more