The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
63 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
202 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
51 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
1answer
25 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
91 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
65 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
223 views

Does anyone know how to load jquery in the footer?

I have tried every way I know about, and have read about, to move the jquery library to the footer including the following and every possible variation of the following: function add_scripts() { ...
0
votes
1answer
41 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
29 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
476 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
196 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 ...
-2
votes
1answer
98 views

How can I structure my pseudo footer nav code with wordpress codex code?

I'm building my first fully custom wordpress theme, and I'm starting to pull hairs out while trying to write the dynamic footer code! I've tried a bunch of codex this and codex that but can't seem to ...
0
votes
0answers
20 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
0answers
174 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
83 views

wp_enqueue & youtube API on different templates

I'm trying to use the youtube API on two of my template pages. Obviously I want to enqueue it correctly. When I put this code in my footer.php page, I got it to work: <script ...
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, ...