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

You’re looking for the is_home() and is_front_page() conditional tags USe it like: <?php if(is_home() || is_front_page()) : ?> <!– Small footer on the home page, only has the #footer-navigation div –> <div id=”footer-top”> <ul id=”footer-navigation”> <?php wp_nav_menu( array( ‘container’ => false, ‘theme_location’ => ‘footer-menu’ ) ); ?> <?php else : ?> <!– Footer for the … Read more

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

Search all your theme and plugin PHP files for the string “wp_footer”. Adding this as an action hook to a function allows themes and plug-ins to insert code at the bottom of the footer (without modifying footer.php.) Notepad++ can do a multi-text-file search, as can gerpWin.

How to fix the footer to the bottom of the screen

The problem you have with your CSS is that you are using .site-footer, but there is not such a class on your website, you should use #colophon instead. #colophon { position: fixed; bottom: 0; left: 0; right: 0; } Check how the white space you mentioned goes on top of the footer.

footer does not respect css stylesheet

It’s just css misunderstanding. if you want to select elementname.classname it means you are selecting elements by type of certain class like in fixed example below, but you’ve put a space between footer and .footer and this way rule expects markup like this <footer> <div class=”footer”></div> </footer> This should work. footer.footer { background-color: #3a9dca; } … Read more

Changing copyright year in Footer.php with Custom plugin

As Jacob Peattie commented, there isn’t a standard way to do this that would work with all themes, but you can add an action to the wp_footer hook (https://developer.wordpress.org/reference/hooks/wp_footer/). This would add some content before the closing body tag. A simple implementation would be as follows: <?php /* Plugin Name: Year Footer Description: Add the … Read more

How to edit footer content

From OP comment: The footer.php file is all encrypted Do not download Themes from random sites. Only download Themes from trusted sources, for exactly this reason. The footer is encrypted, and the Theme is probably distributed under a license that prohibits modifying the footer. Thus, for both reasons, we cannot help you.

WordPress Site footer on Firefox displays a error

This is not an error, it is a warning. You can make this go away by: Fixing the warning Write errors to the error log instead of the screen ( best practice ) To fix the error, I recommend looking at what’s hooking into wp_footer etc, or using a PHP debugger

Removing a link below from footer

The part you need to remove is this: add_action( ‘wp_footer’, ‘addcopy’ );. Or remove it with remove_action, like so: remove_action(‘wp_footer’,’addcopy’); However, if your theme has included this link in such a way that you cannot easily remove it– that is, cannot remove it with a theme option without hacking the code– then there is probably … Read more