The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
510 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 ...
0
votes
3answers
117 views

Changing sidebar.php and footer.php depending on URL

I posed a similar question a few days back, but perhaps I put the question a bit incorrectly. I would like my footer.php and sidebar.php to change depending on the URL. If URL contains /ru then show ...
1
vote
2answers
304 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
1answer
24 views

Google Analytics tracking code on just one page?

Having an issue where I have a client who wants his Google Analytics code on just one page. I'm using the following is_page code but in the footer.php of my child theme, but it's not appearing on the ...
0
votes
1answer
25 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', ...
0
votes
1answer
52 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 ...
0
votes
1answer
325 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
95 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
1answer
109 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
72 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
1answer
50 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 ...
0
votes
1answer
112 views

Changing footer depending on URL (poli language site)

I have a question. I am working on a WordPress theme, which is in English and Russian. My question is how do I change my "header" and footer depending on the URL. I have a logo, which is in Russian ...
0
votes
1answer
52 views

Footer with next/previous posts

I'm looking for something to create a multi footer with previous / next posts. The footer needs to know if the current post is the newest (1st, 2nd and 3rd newest), oldest (3rd, 2nd, and oldest) or in ...
0
votes
1answer
34 views

How do I get rid of or change the footer in my child theme?

I want to remove the default theme name and "powered by WP" text in the footer of every page. I've created a child theme to hold all my customizations from the original theme so that my customizations ...
0
votes
1answer
644 views

Move specific javascript to the footer

I have noticed if I move all of my javascript to the footer, some plugins do not function properly, or at all. Is there some code I can add to my functions.php to move specific plugin javascript to ...
-1
votes
1answer
254 views

My CSS, footer and header don't show up!

When I activate my theme in my-admin on WordPress, my CSS, header and the footer don’t show up. I really don't know what the problem is because I followed all the steps of a tutorial. header.php ...
0
votes
0answers
18 views

wp_footer problem

I have a problem with a newly installed theme called QA Engine. When I use that theme, I see my server providers webpage inserted after my page's footer. I don't know what happened, and why is that, ...
0
votes
0answers
73 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
40 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
59 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
0answers
23 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
44 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', ...
0
votes
0answers
53 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
0answers
177 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 ...
0
votes
0answers
180 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
501 views

get_footer not working boilerplate theme

I am very new to WordPress. The footer will not show up in a boilerplate theme I have. I've looked online for hours. Here is my footer.php file: <?php /** * The template for displaying the ...
0
votes
0answers
21 views

different contents and same sidebar approach?

I have a static header, sidebar and footer and then a varying content for single.php. What is the right approach to put contents in the div=content part? Say I have 3 different pages (article, stuff, ...
-1
votes
0answers
19 views

Footer Floating in WooCommerce Plugin Pages (not on my theme pages)

I've been searching all over for this exact topic, but only find variations that don't apply to me. I have a woocommerce site within a theme but the footer is floating up on only the woo commerce ...