The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
21 views

how to remove default jquery and add js in footer?

I want to remove default jQuery, because I am adding new or latest jQuery. Also I want include some js in my footer. How can I do that? I want to add another different js like a slider js or css in ...
0
votes
1answer
15 views

wp_footer hook not working inside a class if not single

I putted a function inside a class and then called it using add_action and the wp_footer hook, like shown below. class mwdes_general { public function __construct() { add_action( 'wp_footer', ...
1
vote
1answer
22 views

Wp_head and wp_footer vs wp_enqueue_script javascript files?

I'm converting a bootstrap html website into Wordpress. Now, all recommend using wp_enqueue_script() for registering javascript files. i.e. function themeslug_enqueue_script() { ...
1
vote
2answers
34 views

Problem in loading javascript in footer

I have written a small plugin where i have loaded following scripts wp_enqueue_script('jquery', plugins_url('/js/jquery.min.js', __FILE__),'','1.7',true); wp_enqueue_script('new-cycle', ...
1
vote
1answer
46 views

How to load css in the footer [duplicate]

I was trying to move the load of my style.css in the footer of my wordpress theme. I have already done something similar with 2 js files and it works fine, they load in the footer: function my_init() ...
0
votes
1answer
20 views

My wordpress site is using local ip to point to jquery and other files, how to fix it?

I installed WP on my Raspberry Pi using this guide : https://www.raspberrypi.org/documentation/usage/wordpress/ I did not do the last part about permalinks yet. Problem is, when I navigate to my ...
0
votes
1answer
30 views

Footer doesn't display in page.php

So I'm trying to integrate static HTML/CSS/JS into WordPress and everything goes really well, but now I realised that my footer isn't displaying in my individual static pages (page.php). But I can see ...
1
vote
1answer
27 views

Why would this IF statement not work? [closed]

I've placed the following conditional statement in my footer.php file but it isn't working. I want it to show the footer on every page except for single.php and the services.php template: <?php if ...
0
votes
1answer
17 views

Meta Slider Lite plugin shortcode in post not working

I'm trying to implement a slider in my Wordpress post. For this I'm using Meta Slider plugin. When I've added a slider, I should be able to use the shortcode in my posts ([metaslider id=21]). If I add ...
0
votes
0answers
40 views

get_footer doesn't work in single.php

I have a very very simple single.php. When I call get_header and get_sidebar, they work, but get_footer doesn't. I don't have any footer when I click on a post, It's kinda frustrating, since I can't ...
0
votes
0answers
29 views

How to add navigation in footer like StackExchange?

I want to add more number of navigation menu in footer area, how to do this? For example: There are four columns. Each columns has headings. Each heading has three navigation links. First column ...
0
votes
0answers
36 views

Action wp_footer with priority 1 is after wp_print_footer_scripts

In my Wordpress 4.1 instance I found a strange thing. The wp_footer action print_script with priority 1 is executed after wp_print_footer_scripts which has priority 20. add_action( 'wp_footer', ...
0
votes
1answer
661 views

Move all the JS files to the bottom|footer, the right way

In order to speedup my site load and prevent scripts from render the page I'm trying to move all the possible scripts (meaning JS files) from head to footer. After read and do some research I made ...
0
votes
0answers
19 views

add_filter and tag of footer post

I need to tag of post footer in add_filter() function, For example : add_filter( 'the_content', 'vmp_add_voting_links' ); I have the above code in a plugin and i want to replace the_content tag ...
0
votes
0answers
42 views

edit_post_link and how to provide link

I need to upload EBUP of each post and as post footer that link to its EPUB. At first i put the followiang code and i can show EBUB link in each post: <?php edit_post_link( __( 'EPUB', ...
1
vote
2answers
61 views

Create a page template with No Footer

I want to create a page template that doesn't use footer. Removing get_footer() will not work in this case. Because my theme adds the stylesheets and scrtipts after the footer (before /body) and if I ...
0
votes
1answer
181 views

Place google maps in the footer/before footer

I am working on this website: www.sandatasolutions.com, the website is made in wordpress. I have a google maps code and I want to embed it just above the footer. and make it fit to the whole right ...
0
votes
1answer
110 views

Change location of header.php and footer.php

I wish to organize the my themes directory a little more. Is it possible to move header.php and footer.php to a sub directory? I guess it's done by hooking on to some action, but is it possible with ...
0
votes
0answers
35 views

Sticky/constant footer

I am using a twenty fourteen child theme for a static, 5-page site - no posts. As it stands, the footer is down at the bottom of each page, and is only visible when the user scrolls down to the end. ...
0
votes
1answer
75 views

With over a page of content the footer remains where the bottom of the screen was at top scroll

I've been building an artist website to promote my music and I've ran into an obstacle with my footer. What I want is very simple (or so it would seem). I'm trying to create a footer that sits under ...
0
votes
0answers
116 views

Fully editable footer

I'm making a theme from scratch and I want to add a footer with editable stuff like copyright / social network / About author excerpt / some link. I looked around on google but I find answer who say ...
-1
votes
2answers
37 views

How do I change the footer (Norma) [closed]

I'm a total novice and this is my first experience with wordpress. I have some basic knowledge of HTML but that's about it. I need to change the the address information that we have set up in the ...
0
votes
1answer
99 views

Move jquery ui to footer

Am trying to move //ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js to the footer, i have used a function to do this but the results was to duplicate the js libray, one to header and ...
0
votes
1answer
34 views

Adding text to the footer of each post based on tags or categories

Several of my posts in the same category have the same footer. I figured it would be much more maintainable if I could move this into a separate location and manage it from a central place. How can ...
0
votes
2answers
326 views

Add content to footer - above wp_footer

I know there are several questions about the footer, but I did not find answer to this. If this has been asked before, my apologies. I am developing a widget plugin and I wanted to give users the ...
1
vote
1answer
158 views

Overwrite or Replace code in WP_Footer

I have a some code being dynamically added into my Footer via add_action('wp_footer' ...). Unfortunately I'm not sure how to remove it using conventional methods, I've looked at the following question ...
0
votes
1answer
1k views

Using wp_register_style to load CSS in footer?

I realise you can enqueue JS in the footer using wp_register_script as there is a $in_footer parameter for doing so. However, there isn't one for wp_register_style it seems. Is there a way to enqueue ...
0
votes
1answer
61 views

Add Different Actions To Different Page's wp_footer

I am trying to add functions to wp_footer based on the the page id. I am hooking my callback to init, but its not working. Here is what I am using. function fl_template_loader() { if ( is_page( ...
0
votes
3answers
511 views

How do I enqueue a JavaScript in my footer via the functions.php file?

Okay, so I'm well familiar with the way to properly enqueue a stylesheet or JavaScript in the WordPress header via the functions.php file. Recently though I came across a situation that has me ...
1
vote
1answer
135 views

How to remove version and thank you message from the admin footer

I've used following codes and no luck 1 //Hide admin footer from admin function change_footer_admin () { return ' '; } add_filter('admin_footer_text', 'change_footer_admin', 9999); function ...
-1
votes
1answer
22 views

Re-position footer and force it to drop below blog post excerpts on home page [closed]

Site is under construction using a customized blank theme On my blog page, the footer cuts across the blog posts and it appears my footer is at an absolute position since it is at exactly the same ...
0
votes
0answers
158 views

wp_footer hook only working on homepage not in other pages

I try to output a javascript code in wp_footer hook but it is not printed in all pages it is working in home page only. I have checked for the presence of wp_footer(); function in footer.php it is ...
0
votes
0answers
57 views

How to exclude scripts from being moved to the footer using their handle?

I'm working on a small plugin that moves all scripts to the footer using the following code: function move_scripts_to_footer() { global $td_options; if ( !is_admin() and isset( ...
0
votes
3answers
415 views

How to detect and move all inline styles to the footer?

For some reasons, I need a function to detect all inline styles generated by theme options or plugins and move them to the footer and convert this snippet into a small plugin. Basically I need that ...
2
votes
1answer
261 views

Strip HTML comments from plugins in header/footer

Would anyone know a function or how to remove <!-- plugin inserted stuff--> from the header and footer so that they won't be visible when viewing source?
0
votes
1answer
28 views

Call Shortcode on wp_footer

Is it possible to call shortcode outside of post/ page content area? I am trying to add it to wp_footer with the following codes but it's returning string: add_shortcode('eps_pop', 'init'); function ...
0
votes
3answers
69 views

How to use wp_footer() on a 404 page?

I am designing my 404 error page, for which I created a separate header and of course I need a separate footer. As for the latter, instead of creating a new one, would be enough for me to ensure ...
0
votes
2answers
192 views

Print string to footer using wp_footer option

add_action('wp_footer','slider_option'); function slider_option() { $option ="<script>script function data </script>"; echo $option; } I want to print or ...
0
votes
1answer
43 views

Conditional statements based on custom meta value in category archives

Here's what I need to do. Insert a short Javascript in the footer using wp_footer. No problem there for single posts, I have this. add_action( 'wp_footer', 'prefix_wpfooter' ); function ...
-1
votes
1answer
79 views

TwentyThirteen - Footer overlapping content [closed]

So, I'm designing a theme for a friend of mine, but there is a problem with the footer. Assuming the very bottom of the browser window is 1000px, it seems that the page content ends at 1000px, and ...
6
votes
2answers
414 views

Auto get_header and get_footer on every template?

Is there a way to automatically run get_header() at the beginning of template and get_footer() at the end of it? Currently my code is too repetitive with those calls. I've been looking for a way to ...
-1
votes
2answers
962 views

How to create a custom image gallery in the footer?

I need to add sponsor images, thumbnails, in the footer of a Wordpress website. I'd like the possibility to just upload images through the native Wordpress media gallery and then having a way to ...
0
votes
2answers
569 views

Share buttons on article footer

for a website I need to place facebook and twitter share buttons on the footer section of each article on the blog page (where are listed all the articles). I tested many social plugin and was able ...
0
votes
1answer
73 views

Action inside another action not working

I am trying to load content before the end body tag on admin pages that have a TinyMCE editor on them. To do this I am trying to leverage two action hooks 'before_wp_tiny_mce' and 'admin_footer' but ...
-1
votes
2answers
118 views

Footer in middle of page in different browers [closed]

For some reason whenever I add a widget to the footer of my site, it moves to the center of the page - but only in Chrome and Safari. Firefox the footer stays put at the bottom. The only way I can ...
1
vote
1answer
457 views

How to load jQuery in the footer - nothing works for me

I tried all the solutions I found on the internet, including the ones I found here, but nothing works on my theme - jQuery always load in header. I try to use the one from Google, but I would be happy ...
0
votes
1answer
134 views

Export Header and Footer

I want to export the header and footer from WordPress as HTML with same the design: CSS, images, JavaScript files. But not main content page. I want to do this, because I will use the same design in ...
1
vote
1answer
46 views

editing footer text in JBST theme

I'm a new WP user with a new site. The default theme footer is "© 2014 John Little Psychic Consultant". I'd like to add my city name so it reads "© 2014 John Little Psychic Consultant- Asheville NC". ...
0
votes
1answer
32 views

How can I load certain JavaScripts only on blog pages?

Here's the situation I'm having. I am developing a site and on the single post pages of the site I am using various social sharing buttons (i.e. Google+, Facebook, LinkedIn, Twitter, etc). I am ...
1
vote
1answer
1k views

Why and how is twentythirteen adding a margin-top to my footer?

I'm using the twentythirteen theme with a child theme. I tried to solve the infamous overflowing sidebar problem this way: - made the content float left with a fixed width - made the sidebar float ...