The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
16 views

Advanced Custom Fields in Footer

I've been trying to call an ACF field from a specific page into my footer.php, but it doesn't seem to be working as it usually does when I call it on a template page. After some reading, it appears ...
1
vote
0answers
27 views

Creating dynamic header and footer files

I have an external search engine and I need to create a page to add it to my site. The page will sit on an external server, on an external URL. They are copying in the HTML header and footer but ...
-1
votes
0answers
28 views

How to remove this footer?

I'm new to web design and Wordpress and am currently battling a huge frustration. At some stage, in some page/file I wrote the word 'test' in the footer and now I can't figure out how to remove it. ...
0
votes
1answer
17 views

Enqueue scripts in footer

I'm trying to build a plugin and enqueue my scripts to footer. For performance reasons I'd like to load this plugin scripts after the functions.php scripts, because furthermore it will break the page ...
1
vote
2answers
138 views

How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?

How to remove the: {site} / Proudly powered by WordPress in bottom of generated pages using twentysixteen (2016) theme on version 4.5.2? Would prefer if this change was not affected by later ...
1
vote
0answers
51 views

Move jQuery and Migrate to footer?

I've seen this answer, but I'd like to move Migrate as well. I'm trying to move both jQuery and Migrate to the footer and change the jQuery to the CDN version. Here is the failed code I've tried (Why ...
1
vote
0answers
57 views

What is this code in my theme's footer.php causing chmod permission warnings? [closed]

I am stumped on this and can't seem to fix the issue. I removed the code, that didn't work as it came back. I tried looking throughout my theme's files and can't see anything else. Does anyone have ...
1
vote
1answer
56 views

wp_register_script(… $in_footer = true) not working

I'd like to load some javascript files in my footer. I tried to accomplish it in functions.php like so: function my_init() { // LOAD JQUERY wp_deregister_script('jquery'); ...
0
votes
0answers
37 views

Bootstrap Footer not displaying on mobile of wordpress site

This hasn't happened to me before but I'm working on finishing a wordpress site and for some reason that I can't understand, the footer won't display on my iPhone or iPad. When I resize on chrome or ...
0
votes
1answer
16 views

Modifying footer (Theme: twentyeleven)

I recently launched a new WordPress site and implemented the theme "twentyeleven." I also created a twentyeleven-child folder and activated it. I would like to replace the words "Proudly powered by ...
0
votes
2answers
27 views

Which function required?

Which WordPress function allows you to include the footer.php file into index.php file?
0
votes
2answers
48 views

Links in footer section

I'm currently trying to the Wordpress page of a friend. He asked me that the footer section of the site shall contain to links with the names "AGB" and "Impressum" with lead to new tabs with the ...
0
votes
1answer
34 views

How to implement conditional PHP in Footer

Hoping for a little bit of help...I have added a script in footer.php and I want the script to run on all pages but not on "contact" page. What would be the coding/conditional to do this? Thank you.
1
vote
1answer
93 views

Sharing Header Components Across Multisite

I have a multi-site platform and I'm trying to share the menu that I have in main with other sites that are located in different folders. This is the PHP tag in the main that pulls the menu which I ...
0
votes
1answer
205 views

Multiple rows of footer widget areas

I have a function on my functions.php that adds a bootstrap col class to the footer sidebars depending on the number of active sidebars. What I intend to achieve with this is having footer widgets ...
1
vote
0answers
96 views

Main Menu and Sub Menu Items for Footer

So I'm currently trying to figure out how to display both my main menu items and my submenu items separately in my footer. I want to display them both in separate columns (bootstrap) and am having ...
1
vote
1answer
206 views

Add dynamic Sitemap to footer

I'm trying to create a footer menu/sitemap of sorts in Wordpress. (It's also worth a mention this is my fist attempt at anything Wordpress/PHP related. Context: We're making use of a template called ...
0
votes
0answers
54 views

Moving CDN jQuery to footer does not work?

What I want to achieve: Change the default JS to Google's CDN --> this works Move the Google CDN to the footer --> this does not work My code: function my_init() { if (!is_admin()) ...
15
votes
2answers
9k views

What does wp-embed.min.js do in WordPress 4.4?

Question What does the wp-embed.min.js file do? I noticed it is added to the end of my blog page footer. How can I get rid of it? Effort After some googling and I found Embeds on the Codex. Why ...
0
votes
1answer
23 views

Make a widget to my footer

I am using a theme and the developer doesnt want to help me make a widget on the templates/footer.php The curently code at this php file is <div class="bw-footer <?php echo isset( $class ) ? $...
0
votes
1answer
42 views

My footer has disappeared but only on my home page

I've recently put up a clients website and all was fine, however a few days later I'm returning to finish a few things up and the footer is gone from the homepage! It's showing on all other pages, ...
0
votes
0answers
84 views

Can I create dynamic header and footer for external use from Wordpress

I have an external provider customising a page for me to add into my site. The page will sit on an external server, on an external URL. They are copying in the HTML header and footer BUT they have ...
0
votes
1answer
30 views

Add footer widgets

My website is running on WordPress theme which does not have options to add footer widgets. How can I add it using other ways?
0
votes
1answer
99 views

Show Header When Not In Iframe

On our companies website, we have a list of products, then when you click on a product, a popup opens with the product details. Because this was a popup (in a lightbox) I created a single-productpopup....
0
votes
1answer
20 views

Identify the page I am viewing

I am using a theme which on the whole is great. However it has footer widgets and I only want them displayed on the home page rather than all of them. So what I would like to do is simply miss this ...
0
votes
1answer
89 views

get_header() in backend - but keep JavaScript and CSS files

I replaced the header and footer in the backend with those from the frontend by the following code: /* add header to backend */ function header_backend() { get_header(); } add_filter('...
0
votes
2answers
74 views

Best use adding user generated JS/CSS to a theme with a plugin

I want to know the best use of adding custom JS/CSS to a theme. I have built a small plugin which has a section to allow users to add CSS/JS to their theme. Now I am trying to figure out is which is ...
0
votes
0answers
58 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
1answer
351 views

Change directory where get_header(), get_footer() and get_sidebar() look for templates

I'm creating my own theme framework, and I want to organize my code, separating the partials files from the pages. But I want to do that and still use the native functions get_header(), get_footer() ...
0
votes
1answer
164 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
2answers
40 views

Output column number according to active sidebars

$sidebars = array( is_active_sidebar( 'footer-4' ), is_active_sidebar( 'footer-3' ), is_active_sidebar( 'footer-2' ), is_active_sidebar( 'footer-1' ), ...
0
votes
2answers
116 views

Add JavaScript in footer if shortcode used in page [duplicate]

I want to add javascript to page footer if the shortcode is used into the page content. add_shortcode('show-popup', 'show_aip_popup'); function show_aip_popup($args){ // HTML Comes here for ...
0
votes
2answers
217 views

My add_action (wp_footer, 'method') is not calling?

In my themes functions.php file I have put: add_action('wp_footer', 'method'); function method() { echo "this is being called"; die(); } My wordpress footer.php file looks like this: <?php ...
0
votes
1answer
71 views

WordPress Get Header and Footer using in Admin Area

I was wanting a way to get the site header and footer and use it in the admin area. Idea #1 An answer to another related question states to use an iframe instead I think we can use an ajax call get ...
0
votes
2answers
1k 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
92 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', ...
3
votes
1answer
176 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
520 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', plugins_url('/...
2
votes
1answer
6k 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
93 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
206 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
41 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
120 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
260 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
95 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
1answer
6k 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 ...
1
vote
2answers
153 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 ...
1
vote
1answer
586 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
1answer
247 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
363 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 "...