QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • Home
  • QIdea
  • QTrack
Home Carbon Ads Changing WordPress Admin Footer Text

Changing WordPress Admin Footer Text

This post is a part 8 of Creating a WordPress Admin Theme post series.

Below the admin screen you will see a left footer with text “Thank you for creating with WordPress.” and right footer with text representing version number.
Screen Shot 2014-08-17 at 6.47.10 pm
WordPress provides us a way to change that programatically.

You can add these lines of code in the theme or plugin file. You can embed html code in the footer text also.

<?php

//fired before left side footer text is echoed.
add_filter('admin_footer_text', 'my_footer_text');
//fired before right side footer text is echoed. Third parameter is just a indication of a version number, its values doesn't make any other sense.
add_filter('update_footer', 'my_footer_version', 11);
 
//$default represents the existing text in the left side
function my_footer_text($default) {
    //return the new footer text
    return 'QNimate Website';
}
 
//$default represents the exisiting text in the right side
function my_footer_version($default) {
    //return the new footer text
    return 'QNimate Initial Release';
}

Screen Shot 2014-08-17 at 6.55.15 pm

If you are too lazy to write your own code then you can use Admin Footer Text plugin.

Aug 17, 2014Narayan Prusty
Changing WordPress Admin UI Color SchemeAutomatic Color Palette Generator

Leave a Reply Cancel reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Narayan Prusty

I am a software engineer specialising in Blockchain, DevOps and Go/JavaScript. This is my personal blog where I write about things that I learn and feel interesting to share.

8 years ago WordPress
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
Related Articles
  • Creating Custom WordPress Shortcodes using PHP
  • Attaching Icons to WordPress Theme Menu Items
  • Multi-language WordPress Theme and Site
  • Login User into WordPress without Password
  • WordPress Remove Avatar from Comments Only
Our Sponsor
My Books

2014 - 2015 © QNimate
All tutorials MIT license