Keep up to date with every new upload!

Join free & follow WordPress Resource: Your Websi
Share
  • 2 years ago
277 – 10 Handy Snippets to Add to Your WordPress Site

277 – 10 Handy Snippets to Add to Your WordPress Site

Announcements
WPForms.com
WordPress 4.5 Beta 4
Is there a plugin for that?
With more than 43,000 plugins in the WordPress repository, it’s hard to find the perfect one. Each week, I will highlight an interesting plugin form the repository.
For more great plugins, download my 50 Most Useful Plugins eBook.
WPBackItUp Backup & Restore is a simple & complete backups of your WordPress website with this easy to use plugin.
10 Handy Snippets to Add to Your WordPress Site
Add Google Analytics
<?php
add_action('wp_footer', 'add_googleanalytics');
function add_googleanalytics() { ?>
// Paste your Google Analytics code from Step 6 here
<?php } ?>
Change Footer in WP-Admin
function remove_footer_admin () {
echo 'Fueled by WordPress | Designed by Uzzz Productions | WordPress Tutorials: WPBeginner';
}

add_filter('admin_footer_text', 'remove_footer_admin');
Create a dynamic copyright
function current_copyright() {
global $wpdb;
$copyright_dates = $wpdb->get_results("
SELECT
YEAR(min(p

Comments