Questions tagged [footer]
The footer tag has no usage guidance.
256
questions
0
votes
1
answer
32
views
Why Does get_page_by_path Return The Sample Post?
I'm trying to check if a page exists, if it is published, and display a list item with the link to the page if it is. Here's my code:
<?php
$page = get_page_by_path('/privacy-policy/', OBJECT,...
0
votes
0
answers
51
views
images map on website not working
I maintain two websites, where they use images with links in it, with img-map.
Basically, some images are in the main content and then, there's another on the footer.
I've recently realized that the ...
0
votes
0
answers
64
views
footer doesn't display
I'm trying to code in the file index.php, but the footer and the slider that is in the content.php file don't display.
index.php code:
<?php
get_header();
if (have_posts()) :
while (...
0
votes
0
answers
35
views
Can't edit the widgets sidebar or footer
Why can't I edit my widgets sidebar ?
website can be found here.
0
votes
2
answers
184
views
wp_footer content appearing in admin area
I am using the following code and I can't see anything in the footer of my site on the front end where the wp_footer function is called. It does, however, appear before the opening <!DOCTYPE html&...
0
votes
2
answers
84
views
Why are some SVG-images not visible in my footer?
On our website, we have a footer (built with WP-Bakery) that includes the typical information that is needed, plus there is a section that should show the different types of payment methods that we ...
0
votes
0
answers
17
views
Place Footer at bottom of page with short text
I have tried various solutions and end up using page specific css to place the footer at the bottom of a page with little text:
.site-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
I am ...
0
votes
0
answers
53
views
How to add content above footer in posts from specific category
I want to add “custom footer” above default footer to posts for specific category
I have function that works, but that "custom footer" also appears on the archive category pages which I don’...
1
vote
0
answers
39
views
Footer option is missing in Customiser
Below is my dashboard screenshot, I don't see the footer option in my customizer. I have struggled a lot to research on this but no luck.
Can anybody please help me with this? how can I show the ...
0
votes
1
answer
99
views
Can't find image to remove
I noticed when debugging my first ever Wordpress site that I was getting an error
Access to image at
'http://192.168.1.250/wordpress/wp-content/uploads/2018/11/bg-10-free-img.jpg' from origin 'http://...
0
votes
1
answer
266
views
Changing copyright year in Footer.php with Custom plugin
How to add functionality of adding Textbox in own custom plugin simple page in which user add copyright year in textbox for ex.2022/2023 which will change value in my footer.php.
Any help appreciated.
...
0
votes
1
answer
194
views
Can't deregister / dequeue scripts in WordPress
There's a plugin putting scripts in the footer of my site seemingly with the rest of the enqueued scripts that have been enqueued with wp_enqueue_script( $in_footer = true ). However when I use the ...
0
votes
1
answer
702
views
On click load iframe [closed]
I have this html
<a href="#1647278006925-e8321147-313b" data-vc-accordion="" data-vc-container=".vc_tta-container"><span class="vc_tta-title-text">...
0
votes
0
answers
28
views
Im having trouble centering menu items in footer due to "flexbox"
New to WordPress development, long-time user though. Developing my own site. Have a rudimentary understanding of HTML / CSS.
I'm using 2020 / twenty-twenty theme (child) and the main problem I'm ...
0
votes
2
answers
393
views
How can I remove the Wordpress-Version (?ver=5.x) from my plugin
I am working on my first plugin that adds a external script to the footer. Wordpress automatically adds the version number at the end, which I'm trying to remove. What I have so far:
add_action('...
0
votes
2
answers
467
views
get_sidebar() will not work in footer.php
I moved get_sidebar(); from header.php to footer.php but it simply does not appear is being placed after the last post in the page body instead of after the footer. There are no errors displayed. What ...
2
votes
2
answers
1k
views
add another html tag after li element in wp_nav_menu
I have a nav menu in footer. I just want to display it side by a <p> tag, I mean something like this
<ul>
<li>
<p>copyright C 2021</p>
</li>
<li>
contact
</...
0
votes
0
answers
157
views
How to add another image on footer.php
I am new to the world of web design and my knowledge is very minimal, beginner type.
My website have a footer but I wanted to add another image on it. I do not see a footer widget. However, I did find ...
0
votes
1
answer
2k
views
Wordpress footer always at the bottom of the screen-page
I'm having a problem in fixing the footer always to the bottom of the page, also when there is not enough content in the page to fill it.
I found a lot of similar questions online and all of them ...
1
vote
2
answers
390
views
How to safely remove the footer (twentytwenty)
Is it safe to remove
get_footer();
from the index.php ?
I don't need any footer.
0
votes
1
answer
24
views
Insert nofollow in a "Powered By" link, except in the homepage [closed]
I want to insert the nofollow value in a "Powered by" link if the page is different than the homepage.
So I have written this:
function prefix_poweredby() {
if ( is_front_page() ) {
...
1
vote
2
answers
672
views
How to get the most recent modified date of anything in the footer of my site?
I would like to be able to post the most recent updated date in my footer. However, I can't seem to find a way to do that globally for the site, just for each post/page at a time using ...
0
votes
0
answers
22
views
Some Widgets in the Right Side Bar and the whole Footer section is not working in a Wordpress Site
My WordPress Website is not working properly. Some Widgets in the Right Side Bar and the whole Footer section is not working. I contacted Theme Support (Generatepress) first. They checked it and told ...
0
votes
1
answer
36
views
how to change footer content for certain pages only
need to change the Address content in the footer section for certain pages only
we are working in education domain the site has two main links one for ABC High school second is XYZ Nursery and ...
1
vote
0
answers
326
views
Mixcloud FooterWidget api errors in Chrome and Safari but not Firefox?
I've tried contacting Mixcloud about this but they don't appear to support the FootWidget api as consider it to be experimental. I'm trying to incorporate this into a WP site and have managed to get ...
0
votes
1
answer
1k
views
Putting footer links into different columns
Essentially I would like to drag each footer menu item to the column of my choice.
I've created 3 widgets for each footer column, but I can't figure out how to separate the navigation menu items on ...
0
votes
1
answer
197
views
footer.php - twentysixteen child theme - social links menu to output font awesome icons
what would be the proper way to implement the following mark up in footer.php
<footer class="footer">
<ul>
<li><a href="#"><i class="fa fa-youtube"></i></...
0
votes
0
answers
77
views
A bug happens in the Footer and the code keeps appearing
On this WordPress site with the Newspaper theme, the footer appears and looks normal (as you can see in https://www.vendaonline.pt/), but I installed a question plugin (DW Question Answer) and on the ...
1
vote
0
answers
56
views
Edit footer via customizer
I am creating my own theme. I would like to edit the footer in the customizer. I was able to enable the custom logo etc. but I can't find a solution how to enable the footer button in the customizer.
...
0
votes
0
answers
446
views
Loading different header and footer in woocommerce templates (AMP)
I would like to use different header and footer in my woocommerce AMP templates instead of default one. I already achieved this but I can’t manage to do it for WooCommerce templates. So let me explain ...
0
votes
1
answer
50
views
footer does not respect css stylesheet
I am new in wordpress developing, I try to edit my first blog, editing the menu was not painful, but the footer does not respect the css codes despite the stylesheet is the same.
Here is the code ...
0
votes
1
answer
23
views
How to add extra custom social icons to page with same style?
I have been trying hard to add more social icons of same style as provided in the theme I purchased, but I couldn't understand how to do it.
The theme provides only limited social icons as shown in ...
0
votes
0
answers
471
views
How to change a theme's footer image
I inherited the administration of a site and want to make a few changes. It has a great customized theme that I want to keep. The first thing I want to change is an outdated footer. I uploaded my new ...
0
votes
1
answer
38
views
How could I change contact details in the footer?
I somehow was able to change contact details in the footer, but now I can't find out where to edit in. Looks like widget and customization areas don't contain it.
Website: https://fito.one/about/
1
vote
1
answer
510
views
Execute Hook on the footer or header after activating a plugin
I have the following code fraction, but it does not work, I want that after activating a plugin this calls an action on the footer and prints something, but I can't do it, the problem seems that the ...
0
votes
0
answers
146
views
Using Javascript On Page - Header and Footer Now Missing
We have a custom product filter to display vehicles on a /products page.
The filter uses Javascript and the JS code is place directly on the /products page content editor.
The JS code is also placed ...
-1
votes
1
answer
48
views
shortcode inside post called by ID does not render as expected
Hallo i get a post in the theme like this:
$footer_post = get_post(pll_get_post(620));
echo $footer_post->post_content; // Load contents of the page
That shows the content of post(620) in the ...
0
votes
0
answers
32
views
Add Developer Link on Homepage Only
<?php if ( is_front_page() ) { ?> | Developed by: <a href="https://mohsinalam.com" target="_blank">Mohsin Alam</a><?php } ?>
<?php if ( is_home() ) { ?> | Developed by: &...
0
votes
1
answer
217
views
How Do I Enqueue a Script into 2 different Footers on the Same Site?
I have two different footers being used on a WordPress site. One is the standard footer.phpthe other is for the contact and legal pages and is footer-contact.php
Calling them on the relevant page is ...
3
votes
1
answer
471
views
enqueuing React script and hooking its target div fails to load script
I am getting a silent failure on the below code as I try to enqueue a static React.js script and hook its injecting div into the admin_footer. I see the page and my test echo plus the url of the ...
0
votes
1
answer
35
views
On just 1 (new) page of my site there appears a wordpress footer with copyright 2012 which I want to remove
On my infinite pro site, I made a new page, which shows not only my footer with copyright, but also a wordpress copyright 2012!
I cannot find how to remove the last one.
All the other pages are ok!
...
1
vote
0
answers
159
views
Footer.php being inserted before article closing tag?
I have set up a child theme to 2016. I must have done -something- because the footer.php in the child theme is being inserted immediately after the .entry-footer tag (immediately before the closing ...
0
votes
1
answer
239
views
Need help removing block of white space between footer widgets and footer [closed]
This is the page in question:
https://k-12readinglist.com/category/reading-lists-for-elementary-school-children/
There's a large space between the footer widget areas (which are empty) and the ...
0
votes
2
answers
124
views
Add my footer menu to the header
I want to add more links in my menu.
duvacon.de ---> you see only the "categories", I want also add the links of my footer menu to the header.
This code is for the header menu, now I want to add a ...
0
votes
1
answer
1k
views
Getting ACF Field in Page - From the Footer
I'm trying to get ACF field that is part of an ACF block in a Page I've created, say "Home Page". I'm trying to do this from the footer, but with no success.
I've tried the following:
I got the "...
0
votes
1
answer
3k
views
How to fix the footer to the bottom of the screen
I've recently created my first Homepage (garageeden.at) with Wordpress using Elementor, and have a small issue with the footer (created with the header footer plugin for elementor). Currently it just ...
0
votes
1
answer
56
views
My website is not showing Footer section
** EDITED **
Hello im new with Wordpress, Im having a problem with widgets (sidebar and footer) my footer.php is not being rendering unless I delete sidebar.php from files.
Ive tryed to debug but ...
0
votes
2
answers
7k
views
How do you completely remove the default header and footer using functions.php?
I cannot believe that this question has not already been answered, but the search does not come up with anything. If it has already been answered, please point me in the right direction!
There are ...
-2
votes
1
answer
40
views
How to edit the WordPress footer
I am very new to website building so I appreciate any help anyone has to offer.
The background of a footer on one of my web pages isn't high enough - see image 1. I need it to look like the second ...
0
votes
1
answer
39
views
Footer not visible
There may be some error in this page, its an front-page becuase of that I am not able to see the footer
Website uitechnosoft.com
<!--==========================
Intro Section
================...