Add Admin Footer Text

In functions.php

// Flush rewrite rules for custom post types on theme activation
add_action( ‘after_switch_theme’, ‘wpex_flush_rewrite_rules’ );
function wpex_flush_rewrite_rules() {
flush_rewrite_rules();
}

add_filter(‘admin_footer_text’, ‘left_admin_footer_text_output’); //left side
function left_admin_footer_text_output($text) {
$text = ‘Would You Love me – For this Beautiful Theme?’;
return $text;
}

add_filter(‘update_footer’, ‘right_admin_footer_text_output’, 11); //right side
function right_admin_footer_text_output($text) {
$text = ‘Proudly Developed By Mr. X’;
return $text;

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: