Category: Hooks

  • Change Sender Name And Email in Outgoing WordPress Email.

    Change Sender Name And Email in Outgoing WordPress Email.

    How to change default sender name and email in outgoing WordPress email? This can be done by many plugins but the real reason behind doing this using custom code is that Using too many plugins can harm your website or blog speed and performance which is not desirable by any site owner. that’s why we…

  • WordPress : Remove Welcome Panel from WordPress Dashboard.

    WordPress : Remove Welcome Panel from WordPress Dashboard.

    How to remove Welcome Panel from WordPress Dashboard? Welcome panel is a Useful meta box added to the WordPress dashboard screen of WordPress admin area. It provides useful shortcuts for new users to do important things on their new WordPress site.You Can remove this easily by removing ‘welcome_panel’ action which is added for it. Why…

  • WordPress : Add Admin User in WordPress By FTP client.

    WordPress : Add Admin User in WordPress By  FTP client.

    Did You Forget WordPress Admin credentials? How will you login now if forget Admin credentials? This happens many times when we forget the login password of WordPress. If you have FTP details then no need to worry about it. You can create new admin user using FTP. Just paste this code to your theme’s functions.php.…

  • Adding Sidebar in WordPress Themes.

    Adding Sidebar in WordPress Themes.

    How to Add a Custom Sidebar to a WordPress Theme? What’s a sidebar in WordPress ? WordPress Sidebars allow you display all type of widgets inside your theme. And you can use “sidebars” to display widgets anywhere you want.All themes by default come with at least one sidebar in it. Sidebar is one of the…

  • Add Custom Dashboard Widgets in WordPress.

    Add Custom Dashboard Widgets in WordPress.

    How To Add New Custom Dashboard Widgets in WordPress? There are many of new themes coming out for WordPress every day, but none of them seems to utilize this feature for providing useful information and links for client. WordPress developers should add custom dashboard widget with support information when creating custom themes for clients. these…

  • Change WordPress Login Logo And Logo URL and Logo Hover Title

    Change WordPress Login Logo And Logo URL and Logo Hover Title

    How Can We Change The Login Logo And Login Logo URL And Logo Hover Title? Default login page in WordPress is https://yoursiteurl/wp-login.php It contains WordPress logo and on clicking on logo it will take you to the WordPress official site “https://wordpress.org” As shown in the screenshot below: All three default WordPress Logo ,Url And Hover…

  • Remove wordpress menu and logo from admin panel.

    Remove wordpress menu and logo from admin panel.

    Using this Simple Hook We can easily remove wordpress logo and related sub menus to wordpress logo from admin panel bar of WordPress,You Just need to do is just copy this hook and paste below code on the function.php file of your theme. Before: add_action(‘admin_bar_menu’, ‘remove_wordpress_logo’, 999); function remove_wordpress_logo( $admin_bar ) { $admin_bar->remove_node(‘wp-logo’); } After:…

  • Ajax login WordPress.

    Ajax login WordPress.

    Sometime we need to login in site without reloading the page.so we simply use ajax for it. first we add login form in html than register a ajax path and than use jquery execute process. 1. Form Html using wp_footer hook # add ajax login form to page add_action( ‘wp_footer’, ‘CustomLoginHtml’ ); function CustomLoginHtml() {…

  • Cron Job WordPress (WP-Cron)

    Cron Job WordPress (WP-Cron)

    What Is WordPress Cron Job? WordPress Cron Job is how WordPress handles scheduling time-based tasks in WordPress.“Cron” Means the cron time-based task scheduling system which is available on UNIX systems. A WordPress CRON job is a task or action which is scheduled to run automatically at specific intervals. To simplify scheduling tasks, WordPress Cron Scheduling…