The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
2k views

wp_enqueue script my_javascript_file in the footer

I am trying to place my_javascript_file in the footer. According to the documentation $in_footer is the fifth value and it is a boolean so I have it set to true. Currently it doesn't show up anywhere, ...
2
votes
1answer
3k views

How to add javascript just before the closing body tag in the footer of WordPress

I'm following some of the other people's advice here about adding my js file before the closing body tag but it doesn't seem to work for me. If someone would be so kind as to check this for me ...
2
votes
1answer
1k views

How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?

How can I remove "Proudly powered by WordPress" from twentyeleven without modifying footer.php, and without creating a child theme? I'm looking for a php command, such as add_action, remove_action, ...
2
votes
1answer
245 views

Add script to footer - on post editor

How do you add a script on the footer of the post editor ? I'm adding a meta box under the post editor and I need to include a javascript before the closing body tag (on the footer) How do I achieve ...
2
votes
1answer
58 views

Putting footer content in a “page” - Doing it wrong?

So, in my shortish WordPress development career, I've gotten in the habit of creating a "page" for the content in a footer, and adding different fields with the wpalchemy class. Everything with this ...
2
votes
2answers
158 views

Inserting JS snippet in the footer if there is no wp_footer?

I wrote a plugin which uses wp_enqueue_script() which will include the snippet in either the header or footer depending on the parameters you pass it. The in_footer parameter works great - if the ...
2
votes
5answers
642 views

Some Themes do not have a header.php and footer.php how are they doing it?

Some themes that I have seen such as the (famous) thesis or even a few other not so famous themes have just an index.php (which has nothing in it), functions.php (call's their framework) and a ...
1
vote
1answer
120 views

How To Remove WordPress Version From The Admin Footer

Is there anyway to remove version number from the right side of WordPress admin footer? I know this code will add some text before the version number, but it will not remove it: function ...
1
vote
1answer
310 views

How can I add a custom script to footer of login page?

I need to add this: <script> jQuery(window).load(function() { ...
1
vote
2answers
542 views

Can i put 'page' at the bottom of each page?

I would like to use wp-admin to make a "page" which is used at the very botton of each pages. The bottom part would look like the below Home | Tips | Services | Downloads | Workshops | ...
1
vote
2answers
306 views

Why doesnt ONE of my links in the footer work properly? [closed]

I have a products page with a couple child pages and in my footer I have the same product categories as links. All the words do work as links except one and there is no difference in paths and I can ...
1
vote
1answer
513 views

How to add code to just before closing body tag

How would I put the following code, for a certain shopping cart, just before the closing body tag in my WordPress site? In the footer? It seems to me that I would only want to call startcart() for ...
1
vote
4answers
1k views

Adding footers to posts?

I'm trying to add footers to the end of my posts. I need to be able to assign different footers to different posts (not globally). I tried using WP Post Footer, but it's not working on WP 3.1.2.
1
vote
1answer
24 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". ...
1
vote
1answer
282 views

Most recent post from another database

I am trying to add the most recent post from another Wordpress database (on the same server in all actuality), but am getting the following error: Fatal error: Call to undefined method ...
1
vote
2answers
1k views

Separator for custom nav menu

I creating a custom footer navigation in wordpress. I looked all over the wordpress documentation and still haven't found anything. So, what I'm trying to do is add an "|" in the navigation like this: ...
1
vote
1answer
115 views

Show widget differently depending on if it's in the sidebar or footer

I've made a custom widget which shows thumbs of my latest videos. These thumbs are set to be 300px wide, which is the same width of my sidebar. My problem is that i also want to be able to use it in ...
1
vote
1answer
295 views

javascript conflict

I am having a JavaScript which is used for marquee, I want to use this in my wordpress site. But this java script is conflicting with my wordpress, I am using this in footer, but just the div area is ...
1
vote
1answer
447 views

How can I customize wp_footer, where is the code that controls what this function does?

I am using Wordpress 2013 theme as a starting point for a new theme from scratch. Under my themes folder, my footer.php theme looks like this. (Notice the final functionwp_footer(). ...
1
vote
2answers
181 views

can't change footer

I've looked at all the help for changing footers but I still have the same problem - I go to appearance, editor, footer.php, change the telephone number that had been previously entered, hit update, ...
0
votes
2answers
127 views

JavaScript enque stopped working

Somewhere along the line I have messed up my js enqueue I am not sure how. I have the following in my functions.php file and I am including <?php wp_footer(); ?> in my footer.php before the js ...
0
votes
2answers
71 views

Proper Javascript Implementation

Instead of calling a script from a file, I put a number of my javascripts in a template file called codes.php. I then call codes.php in the footer by pasting <?php include (TEMPLATEPATH . ...
0
votes
3answers
139 views

Only loads on the contact template page

In the footer i load the Google maps api. But only on the contact page, i used the google maps api. Now i want to make code. That the google maps api is only load in the contact template pages. How ...
0
votes
3answers
370 views

Removing a link below from footer

My blog http://MyTechFlow.Com having a link below ie: after footer its due to a link in child thems function.php I want to remove it but dont know what to remove & what to keep. Below is the ...
0
votes
3answers
78 views

Text Widget in Footer for just 1 page template

I am building a wordpress website and I want to show a text widget in the footer just for one page template. That widget shouldnot be seen for other pages. Is there any possible way for that?
0
votes
1answer
53 views

Wordpress Site footer on Firefox displays a error

On Firefox I get the following below the footer `Performance Optimization WordPress Plugins by W3 EDGE Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to ...
0
votes
1answer
193 views

Admin Bar below footer as unstyled list of links

My admin bar is showing at the bottom as an unstyled list of links, you can see it on http://advocaateindhoven.net I'm using WP version 3.2.1. Already tried deactivating every plugin to see if ...
0
votes
1answer
934 views

How can I selectively print scripts to the footer of certain admin pages?

I'm using admin_footer-{$hook_suffix} to selectively print scripts on the new post page and comments page. This hook is depreciated in 3.1. I see there's an admin_print_scripts-{$hook_suffix} but ...
0
votes
2answers
33 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
53 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
20 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 ...
0
votes
2answers
245 views

Contact information footer

I am new to Wordpress but forced to create a website as a Wordpress template for my current employee (I am a front end developer, mostly build new systems/apps etc from scratch). Creating the template ...
0
votes
2answers
217 views

Hook for writing text string after footer scripts

I'm looking to insert a string of JavaScript variables AFTER the in_footer enqueued scripts. When I write the string via the wp_footer hook, they occur before the in_footer scripts. Is there another ...
0
votes
3answers
2k views

How to edit footer content

The theme I'm using doesn't allow me to edit the footer content and uses: <?php get_sidebar(); get_footer(); ?> instead of calling them separately, any suggestions would be greatly appreciated. ...
0
votes
1answer
22 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
88 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 ...
0
votes
2answers
41 views

Absolutely print script in footer

I am looking for a solution to printing a Javascript include in the footer of WordPress front-end, and I know there are options for this. However, what would allow me to do so with these in mind: ...
0
votes
1answer
51 views

Getting A Link below footer - Want to remove it. How?

My blog http://MyTechFlow.Com showing a link in urdu language after footer(below footer). I had tried to remove it by looking up into footer.php But unable to find something... So guyz plz help me ...
0
votes
1answer
70 views

Displaying shortcode in footer

Using SMOF as a backend admin and trying to include a shortcode in the text field for inclusion in the footer. I am generaing the shortcode as // Add Shortcode function copyright_shortcode() { ...
0
votes
1answer
34 views

Custom headers in WordPress, are there also custom footers?

I’m new to WordPress. I saw a custom header file in the inc folder of Twenty Twelve theme. I understand that we can use this custom header in any custom page template instead of header. I have a ...
0
votes
2answers
183 views

How can I change this footer.php code to call a random image on reload?

This comes from the footer.php file of a wordpress theme I would like to modify. I want one of five images to load on refresh instead of 1.jpg every time. <script type="text/javascript"> ...
0
votes
2answers
773 views

Removing jQuery from footer

I am working with HTML5 Blank and I can't seem to get jquery to stop being called in wp_footer(). I have tried adding this to the bottom of my functions file: function ...
0
votes
1answer
82 views

Print page content with formatting when doing custom SQL query

I guess there's a simple solution for this but couldn't find any. I'm trying to fetch 3 pages and show them on footer. The problem is that every page is shown as text without formatting which means ...
0
votes
1answer
337 views

Adding Gallery to Footer of Homepage

I wanted to add gallery with Thickbox effect(Pop up), i achieved this easily on the posts page by using WordPress gallery and the lightbox plugin.But the theme is custom made there is a footer.php.I ...
0
votes
1answer
137 views

Should i use custom post type for a custom footer?

I am trying to develop a customized footer so that depending on what page the user is on, the site will display a different footer. Basically the footer will remain pretty much the same except it ...
0
votes
1answer
393 views

Setting a page link in the footer?

What is the proper process for setting a page up with a link to it in the footer? Currently, all my pages are in Appearance -> Menu...and of course displayed in the main menu. However I want a batch ...
0
votes
1answer
278 views

enqueue jQuery into the footer

I have looked but no where seems to cover how to place jQuery into the footer, at least not the way I have it in my theme, is there a way to place the following into the footer? // Load jQuery ...
0
votes
1answer
260 views

Editing footer for one page, keeping it the same for others

What I want to do is edit my footer for the front page of the site by making it bigger, but I want to keep it smaller for all the other pages. My footer.php looks like this: !-- BEGIN FOOTER TOP ...
0
votes
1answer
228 views

making a plugin that moves other plugins wp_head actions to wp_footer

I am grappling with implimenting jQm on wordpress and have hit the obstacle that most plugins dont work on jQm ajax loaded pages. However, taking the example of the sharethis plugin, I have found ...