<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Roy jemee</title>
    <description>The latest articles on Forem by Roy jemee (@jemeeroy).</description>
    <link>https://forem.com/jemeeroy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F964096%2Fbcd1b72f-8f79-4fc3-a28d-839fc3d19d34.jpg</url>
      <title>Forem: Roy jemee</title>
      <link>https://forem.com/jemeeroy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/jemeeroy"/>
    <language>en</language>
    <item>
      <title>WordPress admin menu editor - Control Dashboard - No Plugin</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Sun, 07 Sep 2025 12:49:46 +0000</pubDate>
      <link>https://forem.com/jemeeroy/wordpress-admin-menu-editor-2peb</link>
      <guid>https://forem.com/jemeeroy/wordpress-admin-menu-editor-2peb</guid>
      <description>&lt;p&gt;Does your WordPress admin menu feel cluttered? Are there items your clients never use that just confuse them? Or maybe you want to add a quick link to your favorite tool or a custom post type?&lt;/p&gt;

&lt;p&gt;While plugins can do this with a click, there's a powerful way to customize it yourself by adding a few lines of code. It’s not as scary as it sounds! By editing your theme's &lt;code&gt;functions.php&lt;/code&gt; file, you can rename, rearrange, add, and even restrict menu items.&lt;/p&gt;

&lt;p&gt;Let's dive in and learn how to tailor the WordPress admin menu to your exact needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Safety First!
&lt;/h2&gt;

&lt;p&gt;Before we start, a word of caution: we'll be adding code to your theme's &lt;code&gt;functions.php&lt;/code&gt; file. A small mistake can break your site.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Always use a Child Theme:&lt;/strong&gt; This prevents your changes from being erased when your theme updates.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Backup Your Site:&lt;/strong&gt; Always, always backup your site before making any code changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ready? Let's get started.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Introducing functions.php
&lt;/h2&gt;

&lt;p&gt;All our code will go into your child theme's &lt;code&gt;functions.php&lt;/code&gt; file. You can find this by going to &lt;strong&gt;Appearance &amp;gt; Theme File Editor&lt;/strong&gt; in your WordPress dashboard. Select your child theme from the dropdown on the right.&lt;/p&gt;

&lt;p&gt;Alternatively, you can access it via FTP by navigating to &lt;code&gt;/wp-content/themes/your-child-theme-name/functions.php&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;We'll be using a powerful WordPress hook called &lt;code&gt;admin_menu&lt;/code&gt;. This hook allows us to make changes right before the admin menu is displayed.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. How to Change Existing Menu Items (Name, Icon, URL)
&lt;/h2&gt;

&lt;p&gt;Let's say you want to change the name of "Posts" to "Articles" and give it a different icon.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3gi412bk1rno8dxb0yx5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3gi412bk1rno8dxb0yx5.png" alt="Rename Posts to Article" width="800" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's the code you would use:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php
function wpadminify_customize_admin_menu() {
    global $menu;

    // Change "Posts" to "Articles"
    $menu[5][0] = 'Articles'; // The number 5 is the position of the "Posts" menu

    // Change the icon for "Articles" (using a Dashicon)
    $menu[5][6] = 'dashicons-book-alt'; // URL to a custom icon also works
}

add_action( 'admin_menu', 'wpadminify_customize_admin_menu' );
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;How it works:&lt;/p&gt;

&lt;p&gt;global $menu; makes the global menu array available for us to edit.&lt;/p&gt;

&lt;p&gt;The number 5 refers to the position of the "Posts" menu item in the admin menu.&lt;/p&gt;

&lt;p&gt;[0] is the array key that holds the menu name.&lt;/p&gt;

&lt;p&gt;[6] is the array key that holds the icon URL. WordPress has a built-in icon font called Dashicons.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. How to Add a Brand New Custom Menu Item
&lt;/h2&gt;

&lt;p&gt;Want to add a link to your portfolio or a handy external tool like Google Analytics right inside the admin menu? You can do that too!&lt;/p&gt;

&lt;p&gt;We'll use the add_menu_page() function. Read the comments inside the code and you will get a proper idea. If still face problem then just comment and I will respond.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wpadminify_add_custom_menu_link() {
    add_menu_page(
        'Google Analytics',      // Page title (title of the browser tab)
        'Analytics',             // Text to show in the menu
        'manage_options',        // Capability required to see this link (e.g., 'manage_options' for admins)
        'https://analytics.google.com/', // The URL this menu links to
        '',                      // Function that outputs the page content (empty since we're linking externally)
        'dashicons-chart-bar',   // The icon for the menu (a Dashicon)
        2                        // Position in the menu (2 puts it right under Dashboard)
    );
}

add_action( 'admin_menu', 'wpadminify_add_custom_menu_link' ); 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. How to Restrict a Menu for a Specific User or Role
&lt;/h2&gt;

&lt;p&gt;This is where the real power comes in. Let's say you have a "Client" role and you want to hide the "Tools" menu from everyone who is not an Administrator.&lt;/p&gt;

&lt;p&gt;We can use &lt;code&gt;current_user_can()&lt;/code&gt; to check the user's role or capabilities.&lt;/p&gt;

&lt;p&gt;Example 1: Hide "Tools" for everyone except Admins&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wpadminify_remove_menus() {
    // Check if the current user is NOT an administrator
    if ( !current_user_can( 'manage_options' ) ) {
        remove_menu_page( 'tools.php' ); // Removes the Tools menu
    }
}

add_action( 'admin_menu', 'wpadminify_remove_menus' ); 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example 2: Hide "Posts" for a specific user named "client_user"&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function wpadminify_remove_menus_for_user() {
    // Get the current user's login name
    $current_user = wp_get_current_user();

    // Check if the username is 'client_user'
    if ( $current_user-&amp;gt;user_login == 'client_user' ) {
        remove_menu_page( 'edit.php' ); // Removes the Posts menu
    }
}

add_action( 'admin_menu', 'wpadminify_remove_menus_for_user' );
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Let's add all code together for a Complete Example.
&lt;/h2&gt;

&lt;p&gt;Here’s how you could combine all these techniques into one neat code snippet for your functions.php file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/**
 * WPAdminify Custom Admin Menu Setup
 */
function wpadminify_custom_admin_menu_setup() {

    // 1. Rename Posts to Articles
    global $menu;
    $menu[5][0] = 'Articles';

    // 2. Add a Custom Analytics Link
    add_menu_page(
        'Google Analytics',
        'Analytics',
        'manage_options',
        'https://analytics.google.com/',
        '',
        'dashicons-chart-bar',
        2
    );

    // 3. Remove Tools menu for non-Admins
    if ( !current_user_can( 'manage_options' ) ) {
        remove_menu_page( 'tools.php' );
    }

}
add_action( 'admin_menu', 'wpadminify_custom_admin_menu_setup' );
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[Note: You maybe noticed I have named WPAdminify in the functions, it's because I tried to make it unique with my plugin name so that it doesn't conflict with your dashboard. Please take a look at this blog post to learn more about&lt;a href="https://wpadminify.com/how-to-use-the-wordpress-admin-menu-editor" rel="noopener noreferrer"&gt; Admin menu editor &lt;/a&gt;]&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;And there you have it! You’ve just learned how to professionally customize the WordPress admin menu without relying on a single plugin. You can now rename items, add helpful external links, and hide menu items from users who shouldn't see them.&lt;/p&gt;

&lt;p&gt;This approach is lightweight, gives you full control, and is a great skill for any WordPress developer or savvy site owner.&lt;/p&gt;

&lt;p&gt;Remember to always test your code on a staging site first and have fun creating a cleaner, more efficient WordPress dashboard for yourself and your clients. &lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>code</category>
      <category>programming</category>
      <category>functional</category>
    </item>
    <item>
      <title>How To Add Animated Gradient Text in Elementor?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Wed, 22 Jan 2025 05:57:52 +0000</pubDate>
      <link>https://forem.com/jemeeroy/animated-gradient-text-in-elementor-l9j</link>
      <guid>https://forem.com/jemeeroy/animated-gradient-text-in-elementor-l9j</guid>
      <description>&lt;p&gt;If you want your website to stand out, you must incorporate eye-catching design elements. One such design trick that can make your headlines pop is animated gradient text. It looks sleek, modern, and engaging, and the best part is—it’s incredibly easy to implement in Elementor! In this post, I’ll walk you through the steps to create stunning animated gradient text using Elementor and some custom CSS.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;NOTE: Custom CSS is not available in the free version of Elementor plugin. You must use Master Addons plugin to get the custom CSS feature. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Download Master Addons: &lt;a href="https://wordpress.org/plugins/master-addons" rel="noopener noreferrer"&gt;https://wordpress.org/plugins/master-addons&lt;/a&gt; &lt;/p&gt;

&lt;h3&gt;
  
  
  Step-by-Step Guide to Creating Animated Gradient Text in Elementor
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Add the Headline Element&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, open your Elementor editor and add a headline element to your page. This will be the text that you want to apply the gradient effect to.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vq0ivu5xbic40fgsxkn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vq0ivu5xbic40fgsxkn.png" alt="Image description" width="800" height="297"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Customize Typography&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, customize the typography settings of the headline element to suit your design preferences. This includes font style, size, weight, and any other typographic features you wish to modify.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs9sm7ayk2n7b3g2fnc6u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs9sm7ayk2n7b3g2fnc6u.png" alt="Image description" width="800" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Apply Custom CSS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To add the animated gradient effect, you'll need to use some custom CSS. Copy and paste the following CSS code into the Custom CSS section of your Elementor editor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;selector&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;linear-gradient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;90deg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;176&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;177&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;161&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="m"&gt;0%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;197&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;204&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;106&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="m"&gt;42%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;91&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;183&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;188&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="m"&gt;74%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;68&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nl"&gt;background-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;400%&lt;/span&gt; &lt;span class="m"&gt;400%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;-webkit-background-clip&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;text&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;-webkit-text-fill-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;transparent&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;gradient-animation&lt;/span&gt; &lt;span class="m"&gt;5s&lt;/span&gt; &lt;span class="n"&gt;ease&lt;/span&gt; &lt;span class="n"&gt;infinite&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;gradient-animation&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;background-position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0%&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="err"&gt;50&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;background-position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="err"&gt;100&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;background-position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0%&lt;/span&gt; &lt;span class="m"&gt;50%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv37pn9mdn00zrzv6zkam.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv37pn9mdn00zrzv6zkam.png" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feel free to customize the colors mentioned in the &lt;code&gt;background&lt;/code&gt; property to create your unique gradient effect.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Update and Preview&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Finally, update the page and preview it. You should see your headline text with a beautiful animated gradient effect!&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;With just a few simple steps, you can create stunning animated gradient text in Elementor that adds a touch of modern elegance to your website. This technique is perfect for drawing attention to headlines and making your content stand out. Give it a try and see how it transforms the look and feel of your web pages!&lt;/p&gt;

</description>
      <category>css</category>
      <category>wordpress</category>
      <category>animation</category>
    </item>
    <item>
      <title>WordPress Admin Bar Snippet to Customize Toolbar</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Mon, 29 Apr 2024 10:05:35 +0000</pubDate>
      <link>https://forem.com/jemeeroy/wordpress-admin-bar-5h21</link>
      <guid>https://forem.com/jemeeroy/wordpress-admin-bar-5h21</guid>
      <description>&lt;p&gt;As a WordPress user, you’re no stranger to the powerful Admin Bar that graces the top of your WordPress Dashboard. It’s that handy little toolbar that provides quick access to essential features and shortcuts. But did you know that you can customize it to enhance your user experience? Hang tight, because we’re about to dive into tricks that improve your &lt;a href="https://wpadminify.com/wordpress-toolbar-editor/" rel="noopener noreferrer"&gt;WordPress toolbar Editor&lt;/a&gt; journey!&lt;/p&gt;

&lt;p&gt;I’d like to draw your attention to a powerful tool: the &lt;a href="https://wordpress.org/plugins/admin-bar/" rel="noopener noreferrer"&gt;Admin Bar Editor&lt;/a&gt; plugin. This little free plugin can supercharge your admin bar experience. Toward the end of this content, we’ll closely examine what the Admin Bar Editor has in store for you. But first, let’s explore the carefully organized code I’ve prepared for you. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: Open your theme’s &lt;code&gt;functions.php&lt;/code&gt; file (located in your active theme folder). Add each following code snippet and save your &lt;code&gt;function.php&lt;/code&gt; file.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Change "Howdy, Admin" in Admin Bar
&lt;/h2&gt;

&lt;p&gt;The default “Howdy, Admin!” greeting might feel a bit too casual for your taste. As a professional, you want something more polished and personalized. Fear not! With a few lines of code, you can replace it with a warm welcome tailored to your liking.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

function replace_howdy( $wp_admin_bar ) {
    // Customize the greeting you’d like to display in the admin bar instead of ‘Howdy.’.
    $new_howdy = 'Hello Dear,';
    $my_account = $wp_admin_bar-&amp;gt;get_node( 'my-account' );
    $wp_admin_bar-&amp;gt;add_node(
        array(
            'id'    =&amp;gt; 'my-account',
            'title' =&amp;gt; str_replace( 'Howdy,', $new_howdy, $my_account-&amp;gt;title ),
        )
    );
}
add_filter( 'admin_bar_menu', 'replace_howdy', 25 );


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Replace ‘Hello Dear’ with your desired greeting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hide Admin Bar Based On User Roles
&lt;/h2&gt;

&lt;p&gt;Sometimes, you want to declutter the interface for specific user roles. For example, subscribers or contributors don’t need the Admin Bar distracting them. By selectively hiding it, you create a cleaner experience.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

function hide_admin_bar_based_on_role() {
if (current_user_can('editor') || current_user_can('author') || current_user_can('subscriber')) {
show_admin_bar(false);
}
}
add_action('after_setup_theme', 'hide_admin_bar_based_on_role');


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Disable The WP Admin Bar in the Frontend
&lt;/h2&gt;

&lt;p&gt;Maybe you’re building a custom frontend experience, and the Admin Bar just doesn’t fit. Disabling it ensures a seamless user journey.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Changing the Admin Bar Color Scheme
&lt;/h2&gt;

&lt;p&gt;A dash of color can transform the mundane into something delightful. Personalize the Admin Bar to match your brand or aesthetic.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

// Change Your WordPress Admin Bar color 
function custom_admin_bar_color_scheme() {
    echo '
    &amp;lt;style type="text/css"&amp;gt;
        #wpadminbar { background-color: #yourBGColorHere; }
        #wpadminbar .ab-item, #wpadminbar a.ab-item { color: #yourTextColorHere; }
        /* Add more custom styles for other admin bar elements as needed */
    &amp;lt;/style&amp;gt;
    ';
}
add_action('admin_head', 'custom_admin_bar_color_scheme');
add_action('wp_head', 'custom_admin_bar_color_scheme');



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Here is a demo screenshot using &lt;code&gt;#023cb0&lt;/code&gt; as my admin toolbar background and &lt;code&gt;#ffffff&lt;/code&gt; for the text color.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F824883s7655544g3fykn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F824883s7655544g3fykn.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Moving the Frontend Admin Bar to the Bottom
&lt;/h2&gt;

&lt;p&gt;Sometimes, change is refreshing! Moving the Admin Bar to the bottom gives your dashboard a unique twist.&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&lt;p&gt;function move_admin_bar_to_bottom() {&lt;br&gt;
    echo '&amp;lt;style type="text/css"&amp;gt;&lt;br&gt;
        body {margin-top: -28px;padding-bottom: 28px;}&lt;br&gt;
        body.admin-bar #wphead {padding-top: 0;}&lt;br&gt;
        body.admin-bar #footer {padding-bottom: 28px;}&lt;br&gt;
        #wpadminbar { top: auto !important;bottom: 0;}&lt;br&gt;
        #wpadminbar .menupop .ab-sub-wrapper { bottom: 32px; }&lt;br&gt;
    &amp;lt;/style&amp;gt;';&lt;br&gt;
}&lt;br&gt;
add_action('wp_head', 'move_admin_bar_to_bottom');&lt;/p&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Admin Bar Editor Plugin&lt;br&gt;
&lt;/h2&gt;

&lt;p&gt;Take your Admin Bar to the Next Level with the &lt;a href="https://jeweltheme.com/admin-bar-editor" rel="noopener noreferrer"&gt;Admin Bar Editor plugin&lt;/a&gt;! Here are some straightforward tasks that will transform your admin bar experience. &lt;/p&gt;

&lt;h3&gt;
  
  
  Hide Unwanted Links and Options
&lt;/h3&gt;

&lt;p&gt;If you find too many buttons in your admin bar, you can hide the ones you don’t need. This includes options like the default WordPress logo, domain name, and site editing tools. Simply toggle the switch to hide them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlyhanyn77qlqfvgwuhp.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlyhanyn77qlqfvgwuhp.gif" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Customizing Admin Bar Based on User Role or Name:
&lt;/h3&gt;

&lt;p&gt;You can turn off the &lt;a href="https://wpadminify.com/hide-admin-bar-based-on-user-roles/" rel="noopener noreferrer"&gt;admin bar for specific user roles or individual usernames&lt;/a&gt;. For instance, if you have guest authors, they won’t be distracted by admin tools while writing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ferwxjfbpcgn3hiedd0s7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ferwxjfbpcgn3hiedd0s7.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Adding Custom Admin Bar Items:
&lt;/h3&gt;

&lt;p&gt;Customize your admin toolbar by adding shortcuts or basic documentation. Provide a descriptive menu title, set a link, add a custom icon, and if needed, hide this custom menu for specific user roles. For instance, a photographer might add a quick link to their gallery uploads, saving time and clicks.&lt;/p&gt;


    


&lt;h3&gt;
  
  
  Reordering Admin Bar Items with Drag-and-Drop
&lt;/h3&gt;

&lt;p&gt;Easily rearrange items by dragging and dropping them. Put your most-used links or options at the front, similar to organizing your favorite apps on your phone’s home screen.&lt;/p&gt;


    


&lt;h3&gt;
  
  
  Customizing Admin Bar Icons
&lt;/h3&gt;

&lt;p&gt;You can choose from various icon sets, including Dashicons, Simple Line Icons, Themify Icons, Icomoon Icons, and even upload custom icons. Select an icon that reflects your brand or identity. For example, a coffee shop website could use a coffee cup icon for their blog section.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwcvrcp85flyzwjubt1m.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwcvrcp85flyzwjubt1m.gif" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Edit Existing Links or Options
&lt;/h3&gt;

&lt;p&gt;Rename any existing links or options in the admin bar to make them clearer. For instance, the “New” button can be customized to suit your specific goals.&lt;/p&gt;


    


&lt;blockquote&gt;
&lt;p&gt;Note :  For a comprehensive understanding of Admin Bar customization and detailed insights into the plugin features, I recommend exploring the &lt;a href="https://jeweltheme.com/docs/admin-bar-editor/customize-style-toolbar" rel="noopener noreferrer"&gt;Admin Bar Editor plugin docs&lt;/a&gt;. It’s your gateway to fine-tuning your WordPress experience. Happy exploring!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With the Admin Bar Editor, you’re the master of WordPress Admin Bar. Tweak, customize, and simplify your default WordPress Toolbar. Happy admin bar adventures &amp;amp; Happy coding! 🚀🎩 &lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Simple Ways to Add Halloween Vibe to WordPress Dashboard</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Fri, 13 Oct 2023 08:49:28 +0000</pubDate>
      <link>https://forem.com/jemeeroy/add-halloween-vibe-to-wordpress-dashboard-44h6</link>
      <guid>https://forem.com/jemeeroy/add-halloween-vibe-to-wordpress-dashboard-44h6</guid>
      <description>&lt;p&gt;Halloween is just around the corner, and what better way to get into the spirit of the season than by giving your WordPress dashboard a hauntingly fun makeover? &lt;/p&gt;

&lt;p&gt;In this step-by-step guide, we'll show you how to add a Halloween-themed look to your WordPress admin area using custom CSS code. It's a great way to surprise and delight your users while celebrating the spooky season.&lt;/p&gt;

&lt;p&gt;But first, I would like to you to check &lt;a href="https://dev.to/jemeeroy/custom-css-in-wordpress-admin-panel-4em"&gt;How to Add Custom CSS in WordPress Admin Panel&lt;/a&gt; post that I recently published. &lt;/p&gt;

&lt;p&gt;Little technical knowledge is necessary if you like to achieve the Halloween Dashboard look using Code. &lt;/p&gt;

&lt;h2&gt;
  
  
  Things You Can Do for a Spooky Vibe
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Halloween Colors
&lt;/h3&gt;

&lt;p&gt;Changing the colors of your dashboard can make a significant impact on its overall look. To give your dashboard a Halloween feel, change the color scheme to spooky shades like orange and black. You can do this by going to "Users" -&amp;gt; "Your Profile" and scrolling down to the "Admin Color Scheme" section. Pick the "Sunrise" or "Midnight" option for that perfect Halloween touch.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;But if you want a custom color, then scroll down and read more. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Halloween Dashboard Widgets
&lt;/h3&gt;

&lt;p&gt;You can add Dashboard widgets to your admin panel to give it a festive look. You can check my this post to learn &lt;a href="https://dev.to/jemeeroy/custom-wordpress-dashboard-widget-16am"&gt;how to add custom Dashboard Widget&lt;/a&gt;. Create some widget to display Halloween jokes, quotes, or even a countdown to Halloween. &lt;/p&gt;

&lt;h3&gt;
  
  
  Spooky Admin Icons
&lt;/h3&gt;

&lt;p&gt;Level up your WordPress Dashboard experience with Spooky Admin icons. To achieve this you can use any plugin that offers Admin Menu Editor feature like &lt;a href="https://wpadminify.com/"&gt;WP Adminify&lt;/a&gt;. It offers 6 different icon libraries to choose a perfect icon for your admin menus. Also, you can upload your custom Admin menu icons in image format too. There are icon sets available online that include pumpkin icons, witch hats, and other spooky elements. Just download any sets and upload via th&lt;a href="https://wpadminify.com/modules/menu-editor/"&gt;e WP Adminify Admin menu editor module&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Design WordPress Dashboard With CSS
&lt;/h2&gt;

&lt;p&gt;Let's take a look what you will have after applying the following CSS code in your WordPress Dashboard. &lt;/p&gt;

&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1712752134780051477-747" src="https://platform.twitter.com/embed/Tweet.html?id=1712752134780051477"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1712752134780051477-747');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1712752134780051477&amp;amp;theme=dark"
  }



&lt;/p&gt;

&lt;p&gt;If you like to explore more deals on WordPress, in this upcoming black Friday you can check this WordPress Black Friday deals post.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wpadminify.com/wordpress-black-friday-deals/"&gt;https://wpadminify.com/wordpress-black-friday-deals/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://master-addons.com/wordpress-plugins-black-friday/"&gt;https://master-addons.com/wordpress-plugins-black-friday/&lt;/a&gt;&lt;br&gt;
First, navigate to your active Themes folder (&lt;code&gt;recommended the child theme&lt;/code&gt;), then paste the following code and create a CSS file called &lt;code&gt;halloween-admin.css&lt;/code&gt; in the root folder.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function custom_admin_css() {
    // Replace 'custom-admnin-style.css' with the actual file path to your custom CSS.
    $custom_css_file = get_template_directory_uri() . '/halloween-admin.css';

    // Enqueue the custom CSS file in the WordPress admin area.
    wp_enqueue_style('custom-admin-css', $custom_css_file);
}

// Hook the custom_admin_css function to the admin_enqueue_scripts action.
add_action('admin_enqueue_scripts', 'custom_admin_css');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now copy the following CSS code and paste it in your halloween-admin.css file and save it. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;NOTE: With WP Adminify Plugin, you can change the &lt;code&gt;Dashboard Body Color&lt;/code&gt;, &lt;code&gt;admin Menu Color&lt;/code&gt;, Add &lt;code&gt;images/ slideshow/ video in Dashboard background&lt;/code&gt;, Create &lt;code&gt;Custom Dashboard Widget&lt;/code&gt;, Remove unwanted widgets, and more. Feel free to try the &lt;a href="https://wordpress.org/plugins/adminify/"&gt;Free version&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body {
  background: #ff6000;
}

/* Links */
a {
  color: #0e21a0;
}

a:hover, a:active, a:focus {
  color: #122bcf;
}

#post-body .misc-pub-post-status:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
span.wp-media-buttons-icon:before {
  color: currentColor;
}

/* Forms */
input[type=checkbox]:checked::before {
  content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2337306b%27%2F%3E%3C%2Fsvg%3E");
}

input[type=radio]:checked::before {
  background: #37306b;
}

.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
  color: #122bcf;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
select:focus,
textarea:focus {
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
}

/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
  color: #262a56;
  border-color: #262a56;
}

.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
  border-color: #1e2144;
  color: #1e2144;
}

.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
  border-color: #262a56;
  color: #1e2144;
  box-shadow: 0 0 0 1px #262a56;
}

.wp-core-ui .button:active {
  background: #1e2144;
  border-color: #1e2144;
}

.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
  border-color: #1e2144;
  color: #1e2144;
  box-shadow: inset 0 2px 5px -3px #1e2144;
}

.wp-core-ui .button-primary {
  background: #262a56;
  border-color: #262a56;
  color: #fff;
}

.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
  background: #2b2f61;
  border-color: #21254b;
  color: #fff;
}

.wp-core-ui .button-primary:focus {
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #262a56;
}

.wp-core-ui .button-primary:active {
  background: #1e2144;
  border-color: #1e2144;
  color: #fff;
}

.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
  background: #262a56;
  color: #fff;
  border-color: #0f1021;
  box-shadow: inset 0 2px 5px -3px black;
}

.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
  color: #c7c8d1 !important;
  background: #191c3a !important;
  border-color: #191c3a !important;
  text-shadow: none !important;
}

.wp-core-ui .button-group &amp;gt; .button.active {
  border-color: #262a56;
}

.wp-core-ui .wp-ui-primary {
  color: #fff;
  background-color: #cd1818;
}

.wp-core-ui .wp-ui-text-primary {
  color: #cd1818;
}

.wp-core-ui .wp-ui-highlight {
  color: #fff;
  background-color: #000000;
}

.wp-core-ui .wp-ui-text-highlight {
  color: #000000;
}

.wp-core-ui .wp-ui-notification {
  color: #fff;
  background-color: #d54e21;
}

.wp-core-ui .wp-ui-text-notification {
  color: #d54e21;
}

.wp-core-ui .wp-ui-text-icon {
  color: #f3f1f1;
}

/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover {
  color: #fff;
  background-color: #cd1818;
}

.view-switch a.current:before {
  color: #cd1818;
}

.view-switch a:hover:before {
  color: #d54e21;
}

/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
#adminmenu {
  background: #cd1818;
}

#adminmenu a {
  color: #fff;
}

#adminmenu div.wp-menu-image:before {
  color: #f3f1f1;
}

#adminmenu a:hover,
#adminmenu li.menu-top:hover,
#adminmenu li.opensub &amp;gt; a.menu-top,
#adminmenu li &amp;gt; a.menu-top:focus {
  color: #fff;
  background-color: #000000;
}

#adminmenu li.menu-top:hover div.wp-menu-image:before,
#adminmenu li.opensub &amp;gt; a.menu-top div.wp-menu-image:before {
  color: #fff;
}

/* Active tabs use a bottom border color that matches the page background color. */
.about-wrap .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
  background-color: #ff6000;
  border-bottom-color: #ff6000;
}

/* Admin Menu: submenu */
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
  background: #ad1414;
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
  border-right-color: #ad1414;
}

#adminmenu .wp-submenu .wp-submenu-head {
  color: #f0baba;
}

#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
  color: #f0baba;
}

#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
  color: #000000;
}

/* Admin Menu: current */
#adminmenu .wp-submenu li.current a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
  color: #fff;
}

#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
  color: #000000;
}

ul#adminmenu a.wp-has-current-submenu:after,
ul#adminmenu &amp;gt; li.current &amp;gt; a.current:after {
  border-right-color: #ff6000;
}

#adminmenu li.current a.menu-top,
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,
.folded #adminmenu li.current.menu-top {
  color: #fff;
  background: #000000;
}

#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
  color: #fff;
}

/* Admin Menu: bubble */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
  color: #fff;
  background: #d54e21;
}

#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins,
#adminmenu li:hover a .awaiting-mod,
#adminmenu li.menu-top:hover &amp;gt; a .update-plugins {
  color: #fff;
  background: #ad1414;
}

/* Admin Menu: collapse button */
#collapse-button {
  color: #f3f1f1;
}

#collapse-button:hover,
#collapse-button:focus {
  color: #000000;
}

/* Admin Bar */
#wpadminbar {
  color: #fff;
  background: #cd1818;
}

#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar &amp;gt; #wp-toolbar span.ab-label,
#wpadminbar &amp;gt; #wp-toolbar span.noticon {
  color: #fff;
}

#wpadminbar .ab-icon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
  color: #f3f1f1;
}

#wpadminbar:not(.mobile) .ab-top-menu &amp;gt; li:hover &amp;gt; .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu &amp;gt; li &amp;gt; .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu &amp;gt; li &amp;gt; .ab-item:focus,
#wpadminbar.nojs .ab-top-menu &amp;gt; li.menupop:hover &amp;gt; .ab-item,
#wpadminbar .ab-top-menu &amp;gt; li.menupop.hover &amp;gt; .ab-item {
  color: #000000;
  background: #ad1414;
}

#wpadminbar:not(.mobile) &amp;gt; #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) &amp;gt; #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) &amp;gt; #wp-toolbar a:focus span.ab-label {
  color: #000000;
}

#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
  color: #fff;
}

/* Admin Bar: submenu */
#wpadminbar .menupop .ab-sub-wrapper {
  background: #ad1414;
}

#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
  background: #dd2c2c;
}

#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
  color: #f0baba;
}

#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop &amp;gt; .ab-item:before {
  color: #f3f1f1;
}

#wpadminbar .quicklinks .menupop ul li a:hover,
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover &amp;gt; a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
  color: #000000;
}

#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover &amp;gt; a .blavatar,
#wpadminbar .menupop .menupop &amp;gt; .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
  color: #000000;
}

#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
  color: #f3f1f1;
}

/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
  color: #f3f1f1;
}

#wpadminbar &amp;gt; #wp-toolbar &amp;gt; #wp-admin-bar-top-secondary &amp;gt; #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
  color: #fff;
  background: #e52323;
}

/* Admin Bar: recovery mode */
#wpadminbar #wp-admin-bar-recovery-mode {
  color: #fff;
  background-color: #d54e21;
}

#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
  color: #fff;
}

#wpadminbar .ab-top-menu &amp;gt; #wp-admin-bar-recovery-mode.hover &amp;gt; .ab-item,
#wpadminbar.nojq .quicklinks .ab-top-menu &amp;gt; #wp-admin-bar-recovery-mode &amp;gt; .ab-item:focus,
#wpadminbar:not(.mobile) .ab-top-menu &amp;gt; #wp-admin-bar-recovery-mode:hover &amp;gt; .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu &amp;gt; #wp-admin-bar-recovery-mode &amp;gt; .ab-item:focus {
  color: #fff;
  background-color: #c0461e;
}

/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar &amp;gt; a img {
  border-color: #e52323;
  background-color: #e52323;
}

#wpadminbar #wp-admin-bar-user-info .display-name {
  color: #fff;
}

#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
  color: #000000;
}

#wpadminbar #wp-admin-bar-user-info .username {
  color: #f0baba;
}

/* Pointers */
.wp-pointer .wp-pointer-content h3 {
  background-color: #000000;
  border-color: black;
}

.wp-pointer .wp-pointer-content h3:before {
  color: #000000;
}

.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
  border-bottom-color: #000000;
}

/* Media */
.media-item .bar,
.media-progress-bar div {
  background-color: #000000;
}

.details.attachment {
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #000000;
}

.attachment.details .check {
  background-color: #000000;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000000;
}

.media-selection .attachment.selection.details .thumbnail {
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #000000;
}

/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
  background: #000000;
}

.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
  color: #000000;
}

.theme-section.current,
.theme-filter.current {
  border-bottom-color: #cd1818;
}

body.more-filters-opened .more-filters {
  color: #fff;
  background-color: #cd1818;
}

body.more-filters-opened .more-filters:before {
  color: #fff;
}

body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
  background-color: #000000;
  color: #fff;
}

body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
  color: #fff;
}

/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
  background-color: #000000;
  color: #fff;
}

.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
  color: #fff;
}

/* Responsive Component */
div#wp-responsive-toggle a:before {
  color: #f3f1f1;
}

.wp-responsive-open div#wp-responsive-toggle a {
  border-color: transparent;
  background: #000000;
}

.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
  background: #ad1414;
}

.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
  color: #f3f1f1;
}

/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
  background: #000000;
}

.postbox{
    border: 2px solid #f7f7f745;
    box-shadow: 1px 0px 20px rgb(66 109 252 / 34%);
    background: #ff000087;
}
.comment-ays, .feature-filter, .popular-tags, .stuffbox, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat {
    background: #facf5a;
}
.alternate, .striped&amp;gt;tbody&amp;gt;:nth-child(odd), ul.striped&amp;gt;:nth-child(odd) {
    background-color: #F9BF8F;
}
.plugin-card, .card{
    background: #facf5a;
}
.plugin-card-bottom{
    background: #4aff07;
}
.plugins tr {
    background: #4aff07;
}
.media-frame-content, .media-modal-content{
    background: #C70039;
}
.edit-attachment-frame .attachment-info{
    background: #F8DE22;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Now you can reload your WordPress Dashboard the check your hard work. Comment if you have any suggestion on my color choice. I appreciate your suggestion if you able to provide better color suggestions for the Halloween WordPress Dashboard vibe. &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Add Calendar Widget in WordPress Dashboard using Code?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Tue, 26 Sep 2023 04:37:45 +0000</pubDate>
      <link>https://forem.com/jemeeroy/calendar-widget-in-wordpress-dashboard-using-code-5fje</link>
      <guid>https://forem.com/jemeeroy/calendar-widget-in-wordpress-dashboard-using-code-5fje</guid>
      <description>&lt;p&gt;in this blog post, I will guide you through the process of adding a calendar widget using code inside your WordPress Dashboard. I will use &lt;strong&gt;Google Calendar to get the calendar data&lt;/strong&gt;, you can schedule your tasks &amp;amp; events in Google Calendar and preview them inside your WordPress Dashboard. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why Add a Calendar Widget?
&lt;/h2&gt;

&lt;p&gt;A calendar widget can be a valuable addition to your WordPress Dashboard for various reasons:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Efficient Scheduling:&lt;/strong&gt; You can keep track of appointments, content publishing dates, and other important events conveniently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Improved Productivity:&lt;/strong&gt; Having a visual representation of your schedule can help you manage your time more effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customization:&lt;/strong&gt; You can arrange the calendar widget to display the information that matters most to you.&lt;/p&gt;

&lt;p&gt;Before jumping into the steps, I like to notify you that you can &lt;a href="https://wpadminify.com/how-to-add-menu-in-wordpress-admin-dashboard/"&gt;create Custom Admin menu in your WordPress Dashboard&lt;/a&gt; too.&lt;/p&gt;

&lt;p&gt;Now, let's get started with the step-by-step guide on adding a calendar widget to your WordPress dashboard via code. Here I will show you how to &lt;strong&gt;create a simple plugin with one file&lt;/strong&gt; for your Dashboard Calendar Widget.&lt;/p&gt;

&lt;p&gt;If you like to use your function.php of your child theme instead of a new plugin, then I recommend you to check this &lt;a href="https://dev.to/jemeeroy/custom-wordpress-dashboard-widget-16am"&gt;&lt;strong&gt;How to create a Custom Dashboard Widget&lt;/strong&gt;&lt;/a&gt; post. &lt;/p&gt;

&lt;h2&gt;
  
  
  Create a Custom Plugin
&lt;/h2&gt;

&lt;p&gt;Start by creating a new folder in the &lt;code&gt;wp-content/plugins directory&lt;/code&gt; of your WordPress installation. Give it a unique name, such as &lt;code&gt;custom-dashboard-calendar&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create the Plugin File:
&lt;/h2&gt;

&lt;p&gt;Inside the plugin folder, create a PHP file, such as &lt;code&gt;custom-dashboard-calendar.php&lt;/code&gt;, or &lt;code&gt;index.php&lt;/code&gt; and add the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
/*
Plugin Name: Custom Dashboard Calendar
Description: Adds a calendar widget to the WordPress Dashboard.
Version: 1.0
Author: Your Name or Website 
*/

// Function to display the calendar widget
function custom_dashboard_calendar_widget() {
    // Your calendar HTML code goes here
    echo '&amp;lt;div id="custom-dashboard-calendar"&amp;gt;Your Calendar Widget Content&amp;lt;/div&amp;gt;';
}

// Function to add the calendar widget to the dashboard
function add_custom_dashboard_calendar_widget() {
    wp_add_dashboard_widget(
        'custom-dashboard-calendar-widget',
        'Custom Calendar',
        'custom_dashboard_calendar_widget'
    );
}

// Hook into the 'wp_dashboard_setup' action to add the widget
add_action('wp_dashboard_setup', 'add_custom_dashboard_calendar_widget');
?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this code, we define a plugin that adds a custom dashboard widget. You need to replace &lt;code&gt;'Your Calendar Widget Content'&lt;/code&gt; with your actual calendar HTML content, here I will use Google Calendar embed code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a new Google Calendar
&lt;/h2&gt;

&lt;p&gt;Visit this &lt;a href="https://calendar.google.com/calendar/u/0/r/settings?pli=1"&gt;Google Calender Link &lt;/a&gt;and Click on &lt;code&gt;Add Calendar&lt;/code&gt;, it will expand some new options just click on the &lt;code&gt;Create New Calendar&lt;/code&gt; option. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwnkoi4xd647381s58i1d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwnkoi4xd647381s58i1d.png" alt="Create new Calendar Option" width="800" height="772"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you need to input your Calendar Name, Description, and Time Zone - Then click on the &lt;code&gt;Create Calendar&lt;/code&gt; Button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyszfmn97cofhrz7a0z1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyszfmn97cofhrz7a0z1.png" alt="Add new Calendar Name, Description, and Time Zone" width="800" height="717"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Caledar Customization and Copy Code
&lt;/h2&gt;

&lt;p&gt;After creating the Calendar, you need to navigate to &lt;code&gt;"Settings for my Calendars"&lt;/code&gt; option and select the calendar you just made. &lt;/p&gt;

&lt;p&gt;Scroll down until you see &lt;code&gt;"Embed Code"&lt;/code&gt; and &lt;code&gt;"Customize Button"&lt;/code&gt;. Now if you like to customize the Calendar, just click on the customize button or copy your Embed Code. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqpmb936buge2x9nqz9e8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqpmb936buge2x9nqz9e8.png" alt="Customize Calendar or Embed Code" width="800" height="504"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The embed code will look something like the following code. [I may delete this test calendar and the following embed code will not work for you] Search for &lt;code&gt;Width="800"&lt;/code&gt; inside the embed code and replace 800 with &lt;code&gt;100%&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;iframe src="https://calendar.google.com/calendar/embed?src=2e06b2affc8616787ee4969ac41f99437063d456Fe3bbd0143f8bb39%40group.calendar.google.com&amp;amp;ctz=America%2FNew_York" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"&amp;gt;&amp;lt;/iframe&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here I set the width to 100% in my code and past it properly inside my code. You need to put this Google Calendar Iframe inside the code where I mentioned &lt;code&gt;"Your Calendar Widget Content"&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3rb4lt0wn63kkafbcrus.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3rb4lt0wn63kkafbcrus.png" alt="Width 100% in my calendar embed code" width="727" height="572"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the preview of Google Calendar in the WordPress Dashboard Widget. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F31bgt5v5lhzt9k1onqtg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F31bgt5v5lhzt9k1onqtg.png" alt="Add Calendar widget in WordPress Dashboard" width="800" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Write proper calendar name, if you like to display this inside your calendar. &lt;/li&gt;
&lt;li&gt;In my code, I used "Custom Calendar" as the Calendar widget name - make sure to replace it with your own. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I hope you got a proper idea of How to add a Calendar in the WordPress Dashboard Widget by creating a simple plugin. If you face any problems, feel free to comment. &lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Develop a Plugin to Create Custom Admin Page in WordPress 😎</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Sat, 23 Sep 2023 03:33:06 +0000</pubDate>
      <link>https://forem.com/jemeeroy/create-custom-admin-page-in-wordpress-198f</link>
      <guid>https://forem.com/jemeeroy/create-custom-admin-page-in-wordpress-198f</guid>
      <description>&lt;p&gt;Creating a custom admin page in the WordPress Dashboard can be a powerful way to extend the functionality of your WordPress site. &lt;/p&gt;

&lt;p&gt;Whether you want to display custom data, and settings, or perform specific actions, having your own admin page can make managing your site more efficient. &lt;/p&gt;

&lt;p&gt;In this guide, I'll walk you through the process of creating a custom admin page in WordPress via code.&lt;/p&gt;

&lt;p&gt;I will show you how to develop a simple and lightweight plugin to create a custom admin page in your WordPress Dashboard. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fww9pv3uihzjxm9kb4ivx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fww9pv3uihzjxm9kb4ivx.png" alt="Custom Admin page in WordPress plugin" width="800" height="613"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a Plugin
&lt;/h2&gt;

&lt;p&gt;We need to create only 3 files - &lt;code&gt;content.php&lt;/code&gt;, &lt;code&gt;index.php&lt;/code&gt; and &lt;code&gt;style.css&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn8ab6d08xskq6p17fimg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn8ab6d08xskq6p17fimg.png" alt="WordPress Custom Admin page plugin files" width="382" height="170"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Create the Admin Menu Page in &lt;code&gt;index.php&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;To add a new admin menu page, you can use the add_menu_page function. Place this code inside your plugin file: &lt;/p&gt;

&lt;p&gt;First I added the CSS file to style the Admin page, Then created the admin page menu and uploaded an icon, at last - I included &lt;code&gt;content.php&lt;/code&gt; file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
/*
Plugin Name: Custom Admin Page
Description: Create a custom admin page in WordPress.
Version: 1.0
Author: jemee
*/
/* Add CSS file */
function custom_admin_page_styles() {
    wp_enqueue_style('custom-admin-page-styles', plugin_dir_url(__FILE__) . 'style.css');
}

add_action('admin_enqueue_scripts', 'custom_admin_page_styles');

/*Create the Admin Menu Page*/

function custom_admin_page_menu() {
    add_menu_page(
        'Custom Admin Page',
        'Custom Page',
        'manage_options',
        'custom-admin-page',
        'custom_admin_page_callback',
        'wpadminify-bucket.s3.amazonaws.com/wp-content/uploads/2023/09/23025755/folder.png', 
        20 // Position in the menu
    );
}

add_action('admin_menu', 'custom_admin_page_menu');
/* Add Content File */

include('content.php');

?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;'Custom Admin Page'&lt;/code&gt; is the title of your page.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'Custom Page'&lt;/code&gt; is the menu label.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'manage_options'&lt;/code&gt; specifies the user role that can access this page.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'custom-admin-page'&lt;/code&gt; is the unique slug for your page.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'custom_admin_page_callback'&lt;/code&gt; is the function that will generate the page content.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Add and Modify Admin Page Content in &lt;code&gt;content.php&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Define the callback function &lt;code&gt;custom_admin_page_callback&lt;/code&gt; to generate the content of your custom admin page. This function outputs the HTML for your admin page. You can customize the content as needed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function custom_admin_page_callback() {
    ?&amp;gt;
    &amp;lt;div class="wrap"&amp;gt;
        &amp;lt;h2&amp;gt;Custom Admin Page&amp;lt;/h2&amp;gt;
        &amp;lt;p&amp;gt;Welcome to your custom admin page. You can add your content here.&amp;lt;/p&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;?php
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here is the preview of the Custom WordPress admin page. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo413atzd8vq1xy7c0487.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo413atzd8vq1xy7c0487.png" alt="Content in Custom Admin page" width="800" height="775"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Styling Your Admin Page in &lt;code&gt;style.css&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;You remember we've already enqueued a stylesheet in our &lt;code&gt;index.php&lt;/code&gt; called &lt;code&gt;style.css&lt;/code&gt;. Remember to create a CSS file named "&lt;code&gt;style.css&lt;/code&gt;" in the same folder as your plugin file.&lt;/p&gt;

&lt;p&gt;Here is the CSS code you need to put for better logo alignment. You can input any type of CSS for better customization of your WordPress admin page.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#toplevel_page_custom-admin-page a .wp-menu-image img{
    width: 25px;
    height: 25px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Adding Functionality
&lt;/h2&gt;

&lt;p&gt;Now that you have created the admin page, you can add functionality like form submissions, database interactions, or any other actions your page should perform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing Your Custom Admin Page
&lt;/h2&gt;

&lt;p&gt;Activate your plugin in the WordPress admin, and you should see your custom admin page under the "Custom Page" menu in the dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Easy Alternative Method
&lt;/h2&gt;

&lt;p&gt;Don't know how to write code, then you can try WP Adminfy Plugin. It comes with an &lt;a href="https://wpadminify.com/modules/admin-pages/?utm_medium=dev_to&amp;amp;utm_source=dev_posts" rel="noopener noreferrer"&gt;Admin Page module&lt;/a&gt;. With the help of this module, you can easily create any type of admin page using any page builder you prefer. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9dc97b2ocblor3ph2br5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9dc97b2ocblor3ph2br5.png" alt="Custom Admin Page using WP Adminfiy" width="800" height="709"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, I would like to mention that using WP Adminify you can use any &lt;a href="https://master-addons.com/best-wordpress-page-builder-plugin/" rel="noopener noreferrer"&gt;page builder plugin&lt;/a&gt; to create custom admin page in WordPress Dashboard. &lt;/p&gt;

&lt;p&gt;In conclusion, creating a custom admin page in the WordPress Dashboard via code is a valuable skill for WordPress developers and site administrators. By following the steps outlined in this guide, you can extend the functionality of your WordPress Dashboard experience to your specific needs.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Change WordPress Login Page Logo without Plugin?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Thu, 21 Sep 2023 02:02:41 +0000</pubDate>
      <link>https://forem.com/jemeeroy/change-wordpress-login-page-logo-539d</link>
      <guid>https://forem.com/jemeeroy/change-wordpress-login-page-logo-539d</guid>
      <description>&lt;p&gt;When it comes to running a professional and visually consistent WordPress website, every detail counts. One often overlooked aspect of customization is the login page logo. &lt;/p&gt;

&lt;p&gt;This simple tweak can help you to add your brand logo to the default WordPress login page. Also, &lt;a href="https://dev.to/jemeeroy/change-default-wordpress-login-url-using-code-1hi3"&gt;changing the default login URL&lt;/a&gt; can increase your website security sometimes. &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Preparing Your Logo&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Before you start customizing, ensure you have a well-designed logo ready. Here are some tips:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Logo Dimensions:&lt;/strong&gt; Check the ideal dimensions for your logo. A square logo often works well. But I recommend creating a logo in 720x144 dimensions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;File Format:&lt;/strong&gt; Use common image formats like PNG or JPEG.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Uploading Your Logo&lt;/strong&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Access Your WordPress Dashboard:&lt;/strong&gt; Log in to your WordPress admin dashboard.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Navigate to Media Library:&lt;/strong&gt; In the left sidebar, go to "Media" and then "Library."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Upload Your Logo:&lt;/strong&gt; Click the "Add New" button and upload your logo. Once uploaded, click on the logo to view its details.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Copy the URL:&lt;/strong&gt; Copy the URL of the logo from the "Copy Link" section. You'll need this URL to set your custom logo.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Editing functions.php (or Using a Plugin)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Now that you have your logo ready and its URL copied, it's time to customize the login page. There are two primary methods for changing the login page logo:&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Method 1: Editing functions.php&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open your theme's &lt;code&gt;functions.php&lt;/code&gt; file, typically located in your theme directory.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the following code at the end of the file, replacing &lt;code&gt;'YOUR_LOGO_URL'&lt;/code&gt; with the URL you copied earlier: &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Resource:&lt;/strong&gt; Change your WordPress Dashboard admin color scheme within a few minutes by following my &lt;a href="https://dev.to/jemeeroy/change-wordpress-admin-color-scheme-56pa"&gt;WordPress Admin Color Scheme tips&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function custom_login_logo() {
    echo '&amp;lt;style type="text/css"&amp;gt;
        #login h1 a, .login h1 a {
            background-image: url(' . get_stylesheet_directory_uri() . '/YOUR_LOGO_URL);
            height: 100px; /* Change the height as needed */
            width: 100%; /* Use 100% width for responsiveness */
            background-size: contain; /* Adjust this property as needed */
        }
    &amp;lt;/style&amp;gt;';
}

add_action('login_enqueue_scripts', 'custom_login_logo');

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Save the changes to the &lt;code&gt;functions.php&lt;/code&gt; file.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Testing Your Customized Login Page&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;It's crucial to test your customized login page to ensure everything looks as expected. Log out of your WordPress admin panel or open an incognito window, and visit your login page. Test it on various devices to ensure responsiveness.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F02psqp0ifk9mu8jjgoek.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F02psqp0ifk9mu8jjgoek.png" alt="change wordpress login page logo" width="800" height="606"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Customizing the Logo Appearance&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You may want to tweak the appearance of your custom logo further. You can do this by adjusting the CSS styles in the code you added to &lt;code&gt;functions.php&lt;/code&gt; or through the plugin settings. Play around with properties like &lt;code&gt;background-size&lt;/code&gt; and &lt;code&gt;background-position&lt;/code&gt; to achieve your desired look.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Method 2: Using a Plugin&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Alternatively, you can achieve the same result using a plugin. Just navigate to Plugins&amp;gt; Add new. Now type &lt;code&gt;"Change Login Page Logo"&lt;/code&gt; keyword. Feel free to install any plugin you like. Just make sure to check recent updates and good ratings. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2gfchlhmtzfq4dygbjt5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2gfchlhmtzfq4dygbjt5.png" alt="change login page logo" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Resource&lt;/strong&gt;: You can check my Creating &lt;a href="https://dev.to/jemeeroy/custom-wordpress-dashboard-widget-16am"&gt;Custom WordPress Dashboard Widget &lt;/a&gt;using code post too. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Source: &lt;a href="https://codex.wordpress.org/Customizing_the_Login_Form" rel="noopener noreferrer"&gt;https://codex.wordpress.org/Customizing_the_Login_Form&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Troubleshooting Common Issues&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If you encounter issues during the customization process, here are some common problems and solutions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Logo Not Showing:&lt;/strong&gt; Double-check the URL and make sure it's correct in your code or plugin settings.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Styling Issues:&lt;/strong&gt; Adjust the CSS properties to fine-tune the logo's appearance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;White Screen:&lt;/strong&gt; If you see a white screen or errors after editing &lt;code&gt;functions.php&lt;/code&gt;, make sure there are no syntax errors in your code. You better make a copy of your function.php file or work on a child Theme. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note: &lt;a href="https://wpadminify.com/wordpress-black-friday-deals" rel="noopener noreferrer"&gt;WordPress Black Friday Deals&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://master-addons.com/wordpress-plugins-black-friday/" rel="noopener noreferrer"&gt;Only WordPress Plugins Black Friday Deal&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Last reference to &lt;a href="https://jeweltheme.com/blog/create-custom-wordpress-login-page" rel="noopener noreferrer"&gt;custom wordpress login page&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Thats' all about customizing your WordPress login page logo. Hope this step by step guideline helps you to change your login page logo. &lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Disable Comments in WordPress Using Functions.php Without Plugin</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Tue, 19 Sep 2023 03:18:05 +0000</pubDate>
      <link>https://forem.com/jemeeroy/disable-comments-in-wordpress-using-functionsphp-59lc</link>
      <guid>https://forem.com/jemeeroy/disable-comments-in-wordpress-using-functionsphp-59lc</guid>
      <description>&lt;p&gt;Comments on a WordPress website can be a great way to engage with your audience, gather feedback, and foster a sense of community. &lt;/p&gt;

&lt;p&gt;However, there are situations where you might want to disable comments on your WordPress site. Perhaps you're running a &lt;strong&gt;static website, an e-commerce store, or a portfolio site&lt;/strong&gt; where comments are unnecessary or unwanted. &lt;/p&gt;

&lt;p&gt;In such cases, it's essential to know how to &lt;strong&gt;completely disable comments in WordPress&lt;/strong&gt;. This completely means, my solution will help you to remove comments menu from admin, Comments Dashboard Widget, Comment form from any post type, Comments on the attachments page.&lt;/p&gt;

&lt;p&gt;In this blog post, we'll guide you through the process of disabling comments in WordPress using the functions.php file, but first, let's cover why you might want to do this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Disable Comments in WordPress?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Spam Control:&lt;/strong&gt; Comments can attract spammy content and require constant monitoring or filtering. Disabling comments can eliminate this hassle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Content Focus:&lt;/strong&gt; Some websites aim to deliver content without any distractions, making comments irrelevant.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reduced Maintenance:&lt;/strong&gt; If you're not actively moderating or responding to comments, disabling them can reduce the overall maintenance workload.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Improved Page Load Speed:&lt;/strong&gt; Fewer comments mean faster page load times, enhancing user experience.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Before we dive into the process, it's essential to take some precautions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Backup Your Website:&lt;/strong&gt;&lt;br&gt;
Before making any significant changes to your website, it's crucial to back up your data. This ensures that you can restore your website to its previous state if something goes wrong during the process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Create a Child Theme:&lt;/strong&gt;&lt;br&gt;
To maintain the flexibility to update your theme in the future, it's recommended to &lt;a href="https://wpadminify.com/kb/how-to-create-a-wordpress-child-theme/?utm_medium=dev_to&amp;amp;utm_source=dev_posts"&gt;&lt;strong&gt;create a child theme&lt;/strong&gt;&lt;/a&gt;. This way, your modifications won't be overwritten when you update your main theme.&lt;/p&gt;

&lt;p&gt;Now, let's explore how to &lt;strong&gt;disable comments in WordPress&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Disabling Comments Using functions.php:
&lt;/h2&gt;

&lt;p&gt;WordPress allows you to disable comments globally by adding a simple code snippet to your theme's functions.php file. Here's how you can do it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;31 Sec video clip to Disable WordPress Comments.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/oygiSujrOaM"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Access your FTP or Cpanel File manager &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to your &lt;strong&gt;&lt;em&gt;Active Theme directory &amp;gt; Search for Function.php&lt;/em&gt;&lt;/strong&gt; file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the following code snippet at the end of the file:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Disable comments on posts
function disable_comments_post_types_support() {
    $post_types = get_post_types();
    foreach ($post_types as $post_type) {
        if (post_type_supports($post_type, 'comments')) {
            remove_post_type_support($post_type, 'comments');
            remove_post_type_support($post_type, 'trackbacks');
        }
    }
}
add_action('init', 'disable_comments_post_types_support');

// Close comments on the front-end
function disable_comments_status() {
    return false;
}
add_filter('comments_open', 'disable_comments_status', 20, 2);
add_filter('pings_open', 'disable_comments_status', 20, 2);

// Hide existing comments
function disable_comments_hide_existing_comments($comments) {
    $comments = array();
    return $comments;
}
add_filter('comments_array', 'disable_comments_hide_existing_comments', 10, 2);

// Remove comments page in admin menu
function disable_comments_admin_menu() {
    remove_menu_page('edit-comments.php');
}
add_action('admin_menu', 'disable_comments_admin_menu');

// Redirect any user trying to access comments page
function disable_comments_admin_menu_redirect() {
    global $pagenow;
    if ($pagenow === 'edit-comments.php') {
        wp_redirect(admin_url());
        exit;
    }
}
add_action('admin_init', 'disable_comments_admin_menu_redirect');

// Remove comments metabox from dashboard
function disable_comments_dashboard() {
    remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal');
}
add_action('admin_init', 'disable_comments_dashboard');

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Save the changes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it! Comments are now disabled on your WordPress site. You can also explore &lt;a href="https://wordpress.org/documentation/article/comments-in-wordpress/"&gt;Comments on WordPress docs&lt;/a&gt; for some general info to control Comments from the Dashboard. &lt;/p&gt;

&lt;h2&gt;
  
  
  An Easier Alternative: WP Adminify Plugin:
&lt;/h2&gt;

&lt;p&gt;If dealing with code seems daunting, there's a user-friendly alternative: the &lt;a href="https://wpadminify.com/"&gt;WP Adminify plugin&lt;/a&gt;. It offers a "&lt;a href="https://wpadminify.com/modules/disable-comments/"&gt;Disable Comments&lt;/a&gt;" module that lets you disable comments on your site with a single click, making it a hassle-free solution for those who prefer a more straightforward approach.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_cXotcWk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gfboht5qev6sc1dmp25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_cXotcWk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gfboht5qev6sc1dmp25.png" alt="Disable Comments WordPress by WP Adminify" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Take a look at all of the options panel from Disable Comment module by WP Adminify and control yourself. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Disabling comments in WordPress can be a smart move for specific websites, whether it's for security, content focus, or improved page performance. &lt;/p&gt;

&lt;p&gt;Remember always to back up your website and consider creating a child theme before making any changes. If you prefer an easier way to disable comments, the WP Adminify plugin offers a convenient solution. &lt;/p&gt;

&lt;p&gt;Furthermore, WP Adminify isn't just about disabling comments. It provides numerous features to personalize your WordPress dashboard and enhance your overall WordPress experience. Give it a try and see how it can improve your site management and customization.&lt;/p&gt;

&lt;p&gt;We hope this guide helps you effectively disable comments on your WordPress website and tailor your site to your specific needs. Enjoy a cleaner, more focused, and faster website without the hassle of unwanted comments.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>beginners</category>
      <category>wordpress</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Add Custom CSS in WordPress Admin Panel?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Mon, 18 Sep 2023 04:31:48 +0000</pubDate>
      <link>https://forem.com/jemeeroy/custom-css-in-wordpress-admin-panel-4em</link>
      <guid>https://forem.com/jemeeroy/custom-css-in-wordpress-admin-panel-4em</guid>
      <description>&lt;p&gt;Whether you are a seasoned developer or just starting out with WordPress, this step-by-step tutorial will guide you through the process of injecting your own styles into the WordPress admin interface. 🖌️🔧&lt;/p&gt;

&lt;p&gt;So, let's embark on this journey to transform your WordPress admin dashboard into a personalized workspace that reflects your unique style and preferences. 🚀🎨&lt;/p&gt;

&lt;p&gt;To add custom CSS to the WordPress admin area using code, you can use the &lt;code&gt;admin_enqueue_scripts&lt;/code&gt; hook to enqueue your custom CSS file. &lt;/p&gt;

&lt;p&gt;Here's a step-by-step guide on how to do it:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Create your custom CSS file:
&lt;/h2&gt;

&lt;p&gt;First, create a CSS file with your custom styles. You can use a code editor like &lt;code&gt;Visual Studio Code&lt;/code&gt;, or &lt;code&gt;Sublime Text&lt;/code&gt;. Save this file with a &lt;code&gt;.css&lt;/code&gt; extension, and remember the file path.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: You can try &lt;a href="https://wpadminify.com/pricing/?utm_medium=dev_to&amp;amp;utm_source=dev_posts"&gt;&lt;strong&gt;WP Adminify Plugin&lt;/strong&gt;&lt;/a&gt;, it offers multiple Dashboard UI Template with 100% color customization. Also, you can implement Custom CSS and JS in WordPress Dashboard using this plugin too.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  2. Upload the CSS file to your theme directory:
&lt;/h2&gt;

&lt;p&gt;You can upload your custom CSS file to your theme directory if you want to keep it within your theme. It's a good practice if your custom CSS is specific to your theme. For example, my CSS file name is &lt;code&gt;custom-admnin-style&lt;/code&gt;. You need to write all of your CSS code in this file. &lt;/p&gt;

&lt;p&gt;Here are some demo CSS to start your journey:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;h2, p {
    color: #fff;
}
body {
    background-image: url('https://images.unsplash.com/photo-1692374227159-2d3592f274c9?ixlib=rb-4.0.3&amp;amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&amp;amp;auto=format&amp;amp;fit=crop&amp;amp;w=2940&amp;amp;q=80');
    background-position: center;
}
.postbox {
/* From https://css.glass */
background: rgba(255, 255, 255, 0.09);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(2.9px);
-webkit-backdrop-filter: blur(2.9px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
a{
    color:#f4ef8c;
}
#dashboard_right_now li a:before{
    color: #ffffff;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yxmnovv1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oyyocb04frl2hg0wa7g8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yxmnovv1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oyyocb04frl2hg0wa7g8.png" alt="Custom CSS File" width="788" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Add code to your theme's &lt;code&gt;functions.php&lt;/code&gt; file:
&lt;/h2&gt;

&lt;p&gt;Add the following code to your theme's &lt;code&gt;functions.php&lt;/code&gt; file to enqueue your custom CSS in the WordPress admin area.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;custom_admin_css&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// Replace 'custom-admnin-style.css' with the actual file path to your custom CSS.&lt;/span&gt;
    &lt;span class="nv"&gt;$custom_css_file&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;get_template_directory_uri&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="mf"&gt;.&lt;/span&gt; &lt;span class="s1"&gt;'/custom-admnin-style.css'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;// Enqueue the custom CSS file in the WordPress admin area.&lt;/span&gt;
    &lt;span class="nf"&gt;wp_enqueue_style&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'custom-admin-css'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$custom_css_file&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;// Hook the custom_admin_css function to the admin_enqueue_scripts action.&lt;/span&gt;
&lt;span class="nf"&gt;add_action&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'admin_enqueue_scripts'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'custom_admin_css'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Referance: &lt;a href="https://developer.wordpress.org/reference/functions/wp_enqueue_style/"&gt;developer.wordpress.org/reference/functions/wp_enqueue_style/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the code above:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;custom_admin_css&lt;/code&gt; is a custom function that enqueues your custom CSS file.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;get_template_directory_uri()&lt;/code&gt; gets the path to your theme's directory. If you uploaded the CSS file to your theme directory, this function will point to the correct location.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;wp_enqueue_style&lt;/code&gt; is used to enqueue the custom CSS file.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'custom-admin-css'&lt;/code&gt; is a unique handle for your custom CSS. You can change it to something else if needed.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'custom-admnin-style.css'&lt;/code&gt; should be replaced with the actual path to your custom CSS file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Save the &lt;code&gt;functions.php&lt;/code&gt; file or the custom plugin file.&lt;/p&gt;

&lt;p&gt;Now, when you visit the WordPress admin area, your custom CSS file will be loaded and applied to the admin interface.&lt;br&gt;
Here is a screenshot after applying the steps as mentioned. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--voJ859vE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kzko3pfpsldrm9fz5uh5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--voJ859vE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kzko3pfpsldrm9fz5uh5.png" alt="Added Custom CSS in WordPress Dashboard" width="800" height="553"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom CSS in WordPress Admin using WP Adminify
&lt;/h2&gt;

&lt;p&gt;After installing WP Adminify Plugin you need to navigate to WP Adminify option panel. Then click on &lt;code&gt;Custom CSS/JS&lt;/code&gt; option. Just input your code properly and save your data. &lt;/p&gt;

&lt;p&gt;Reference: &lt;a href="https://wpadminify.com/custom-css-in-wordpress-admin-panel/"&gt;wpadminify.com/custom-css-in-wordpress-admin-panel/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---4mBt75---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i4tnjqi1d1o2ojflh3zh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---4mBt75---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i4tnjqi1d1o2ojflh3zh.png" alt="Custom CSS in WordPress Admin Panel" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Remember to clear your browser cache and refresh the admin page to see the changes if they don't appear immediately.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How To Change WordPress Dashboard Footer Copyright Text?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Sat, 16 Sep 2023 03:15:58 +0000</pubDate>
      <link>https://forem.com/jemeeroy/change-wordpress-dashboard-footer-copyright-text-h5m</link>
      <guid>https://forem.com/jemeeroy/change-wordpress-dashboard-footer-copyright-text-h5m</guid>
      <description>&lt;p&gt;As a WordPress website owner, you're always striving to make your online presence unique and truly reflective of your brand. From choosing the perfect theme to customizing every aspect of your site, you're constantly on the lookout for ways to stand out. However, one area that often goes unnoticed is the copyright text in the WordPress dashboard footer. It may seem insignificant, but this small detail can be a missed opportunity to add a personal touch to your website.&lt;/p&gt;

&lt;p&gt;The default copyright text in the WordPress dashboard footer typically reads something like &lt;code&gt;"Powered by WordPress"&lt;/code&gt;. While this text serves as a credit to the platform and acknowledges its contribution, it doesn't reflect your unique identity or provide any additional information about your website. Learn more about &lt;a href="https://wordpress.org/documentation/article/administration-screens/"&gt;WordPress Administration screen here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;By changing this text, you can:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Showcase Your Brand Identity: Your website is an extension of your brand. Customizing the footer copyright text allows you to add your logo, tagline, or any other branding elements that align with your overall image.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add Contact Information: Including your contact details in the footer copyright text can make it easier for visitors to reach out to you. This simple addition can enhance user experience and improve customer engagement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Demonstrate Professionalism: The footer copyright text gives off an impression of professionalism and attention to detail. It shows visitors that you've taken the time to create a cohesive brand experience throughout every aspect of your website.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Change Copyright Text Using Code
&lt;/h2&gt;

&lt;p&gt;To change the WordPress dashboard footer copyright text using code, you can use a custom function in your theme's &lt;code&gt;functions.php&lt;/code&gt; file or in a custom plugin. Here are the steps to do it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Access Your WordPress Files:&lt;/strong&gt; You can edit your WordPress files via FTP or by using the File Manager in your hosting control panel. Make sure to create a backup of your files before making any changes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Locate the functions.php File:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you're using a custom theme, navigate to your theme folder.&lt;/li&gt;
&lt;li&gt;If you're using a parent theme and want to create a child theme, you should use the child theme's &lt;code&gt;functions.php&lt;/code&gt; file to avoid losing changes during theme updates.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Add the Following Code:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function change_admin_footer_text() {
    echo 'Your Custom Copyright Text';
}
add_filter('admin_footer_text', 'change_admin_footer_text');

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Replace &lt;code&gt;'Your Custom Copyright Text'&lt;/code&gt; with the text you want to display in the WordPress dashboard footer.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Save and Upload Changes:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Save the &lt;code&gt;functions.php&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;If you're using FTP, upload the modified file back to your server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Refresh the WordPress Dashboard:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Log in to your WordPress admin dashboard.&lt;/li&gt;
&lt;li&gt;Navigate to the dashboard or any other admin page to see the updated footer copyright text.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let's see another method to change footer copyright text. &lt;/p&gt;
&lt;h2&gt;
  
  
  Change Copyright text using WP Adminify
&lt;/h2&gt;

&lt;p&gt;Make sure you have installed &lt;a href="https://wordpress.org/plugins/adminify/"&gt;WP Adminify plugin&lt;/a&gt; in your WordPress website. &lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://wpadminify.com/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--_vl5qv1x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://wpadminify-bucket.s3.amazonaws.com/wp-content/uploads/2023/05/31054504/home-featured-image.png" height="420" class="m-0" width="800"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://wpadminify.com/" rel="noopener noreferrer" class="c-link"&gt;
          #1 WordPress Custom Dashboard Plugin - WP Adminify
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          WP Adminify is the best custom WordPress admin dashboard plugin that will help you to customize your entire WP admin interface for users or clients.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--NcyyChin--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-emekf.nitrocdn.com/mAyIvtrodRPLJYrkrCafolIUtlujkSbV/assets/images/optimized/rev-b3562e9/wpadminify.com/wp-content/uploads/2021/10/adminify_icon_circle.png" width="64" height="64"&gt;
        wpadminify.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;Now navigate to &lt;code&gt;"WP Adminify Option panel"&lt;/code&gt;. Click on &lt;code&gt;Admin footer option&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B8GTDk_t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5xopitpa7osfad2puagl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B8GTDk_t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5xopitpa7osfad2puagl.png" alt="Admin Footer option in WP Adminfiy" width="800" height="534"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Scroll down at very bottom and you will see &lt;code&gt;"Admin Footer Text"&lt;/code&gt; option. Just input any content you like to put inside the Footer. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MUqRIeMn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/me5q6w2yrj4u4hmdyd7g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MUqRIeMn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/me5q6w2yrj4u4hmdyd7g.png" alt="Change Admin Footer Copyright text" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it! The copyright text in the WordPress dashboard footer should now be changed to your custom text.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>wordpress</category>
      <category>code</category>
    </item>
    <item>
      <title>Change Default WordPress Login URL within 2 lines of Code?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Thu, 14 Sep 2023 06:02:49 +0000</pubDate>
      <link>https://forem.com/jemeeroy/change-default-wordpress-login-url-using-code-1hi3</link>
      <guid>https://forem.com/jemeeroy/change-default-wordpress-login-url-using-code-1hi3</guid>
      <description>&lt;p&gt;As a WordPress user, you may be aware that the default login page URL for your website is something like &lt;code&gt;www.yourwebsite.com/wp-admin&lt;/code&gt;. While this is convenient for most users, it can also make your website an easy target for hackers or malicious bots.&lt;/p&gt;

&lt;p&gt;In this blog post, I will guide you through the process of changing the default WordPress login URL to something more unique and secure. By doing so, you can add an extra layer of protection to your website and reduce the risk of unauthorized access.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Recommended Plugin:&lt;/strong&gt; WP Adminify can help you to personalize your WordPress Dashboard, Change Login URL, Modify Admin Menu, and much more. Check More: &lt;a href="https://wpadminify.com/?utm_medium=dev_to&amp;amp;utm_source=dev_posts" rel="noopener noreferrer"&gt;https://wpadminify.com/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I understand that not everyone is a coding expert, so don't worry - I will break down the steps into simple and easy-to-follow instructions. &lt;/p&gt;

&lt;p&gt;Whether you're a beginner or an experienced WordPress user, this guide will provide you with all the information you need to change your login URL without any hassle.&lt;/p&gt;

&lt;p&gt;So, if you're ready to enhance the security of your WordPress website and learn how to change the default login URL using code, let's dive right in!&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Backup Your Website
&lt;/h2&gt;

&lt;p&gt;Before making any changes to your WordPress site, it's crucial to create a backup. This ensures that you can revert to the previous state in case anything goes wrong during the process. You can use a plugin like UpdraftPlus or manually back up your website files and database.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Access Your Website's Files
&lt;/h2&gt;

&lt;p&gt;To change the default WordPress login URL, you need to modify your website's files. There are two ways to access these files: through an &lt;code&gt;FTP client&lt;/code&gt; or using the &lt;code&gt;File Manager tool&lt;/code&gt;in your hosting account's control panel. Choose the method that suits you best.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Locate Your &lt;code&gt;Theme's functions.php File&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Once you have accessed your website's files, navigate to the theme folder that is currently active on your WordPress site. Look for the &lt;code&gt;functions.php&lt;/code&gt; file within that folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Edit &lt;code&gt;functions.php File&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Inside your theme's functions.php file or your custom plugin file, add the following code to perform the login URL redirection:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function custom_login_url_redirect() {
    // Check if the current request is for the login page
    if (strpos($_SERVER['REQUEST_URI'], '/wp-login.php') !== false) {
        // Redirect to the custom login URL
        wp_redirect('https://example.com/custom-login');
        exit;
    }
}
add_action('init', 'custom_login_url_redirect');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;https://example.com/custom-login&lt;/code&gt; with your actual custom login URL.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Test the New Login URL
&lt;/h2&gt;

&lt;p&gt;Once you have saved the function.php file, you can test the new login URL by visiting your custom login page. Simply type in your newly specified URL in the browser's address bar and hit Enter. If everything is set up correctly, you should be redirected to the WordPress login page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Change Login URL using WP Adminify
&lt;/h2&gt;

&lt;p&gt;Now I will walk you through the process of changing the default WordPress login URL using the &lt;a href="https://wordpress.org/plugins/adminify/" rel="noopener noreferrer"&gt;WP Adminify plugin&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;After installing WP Adminify Plugin navigate to &lt;a href="https://wpadminify.com/modules/redirect-URLs/" rel="noopener noreferrer"&gt;Redirect URL's module&lt;/a&gt; options panel. Just type your new WordPress Dashboard login URL text and save. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4vk1y61vil2yuj15btkl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4vk1y61vil2yuj15btkl.png" alt="New WordPress Dashboard Login URL Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now let's test the Login URL. You can also redirect those users to a specific page who is trying to login by default WordPress login URL. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6e6i5xqpwnorye4ridlc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6e6i5xqpwnorye4ridlc.png" alt="Custom WordPress Login URL"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In conclusion, changing the default WordPress login URL using code can greatly enhance the security of your website. By implementing this simple yet effective technique, you can prevent unauthorized access and thwart potential attacks. I have discussed two methods - using a plugin and editing the functions.php file. Both methods are reliable and efficient, allowing you to choose the one that suits your preferences and expertise.&lt;/p&gt;

&lt;p&gt;Remember, keeping your login URL hidden from prying eyes is just one step towards safeguarding your WordPress site. It is equally important to follow other security best practices such as using strong passwords, regularly updating plugins and themes, and implementing a reliable firewall.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>development</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Create Custom WordPress Dashboard Widget using Code?</title>
      <dc:creator>Roy jemee</dc:creator>
      <pubDate>Tue, 12 Sep 2023 05:42:37 +0000</pubDate>
      <link>https://forem.com/jemeeroy/custom-wordpress-dashboard-widget-16am</link>
      <guid>https://forem.com/jemeeroy/custom-wordpress-dashboard-widget-16am</guid>
      <description>&lt;p&gt;Customizing Dashboard widgets is essential for personalizing the WordPress admin experience to specific needs. Whether you want to display custom data, provide unique functionality, or simply personalize your Dashboard to reflect your brand, knowing how to create custom WordPress Dashboard widgets is a valuable skill.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Add&lt;a href="https://dev.to/jemeeroy/calendar-widget-in-wordpress-dashboard-using-code-5fje"&gt; Google Calendar in the WordPress Dashboard Widget &lt;/a&gt;by creating a simple Plugin. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Before we dive into creating custom WordPress Dashboard widgets, it's essential to ensure that you have the necessary prerequisites in place. Here's what you'll need:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Before jumping into the steps, keep in mind to read this &lt;a href="https://wpadminify.com/wordpress-custom-user-dashboard/"&gt;WordPress Custom User Dashboard&lt;/a&gt; post. It will help you achieve a personalized WordPress Dashboard. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Basic Knowledge of WordPress Development:&lt;/strong&gt; You should have a fundamental understanding of WordPress and how it works, including its structure, core functionality, and the role of themes and plugins.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Familiarity with PHP and WordPress Functions:&lt;/strong&gt; Since we'll be working with code, you should be comfortable with PHP, the programming language that powers WordPress. Understanding how WordPress functions and hooks work will also be beneficial.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Access to WordPress Website Files:&lt;/strong&gt; You'll need access to your WordPress website's files, either through FTP or a file manager provided by your hosting provider. This access is crucial for editing and adding code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code Editor:&lt;/strong&gt; A code editor is essential for writing and editing PHP and other code files. Popular options include Visual Studio Code, Sublime Text, and PhpStorm.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With these prerequisites in place, you'll be well-equipped to follow along and create your custom WordPress dashboard widget using code. In the next sections, we'll provide step-by-step instructions and examples to help you achieve this customization effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Custom WordPress Dashboard Widget
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Open Your Theme's functions.php File
&lt;/h3&gt;

&lt;p&gt;You can add the following code to your theme's &lt;code&gt;functions.php&lt;/code&gt; file or create a custom plugin. It's generally a better practice to use a custom plugin for such functionality to keep your code modular and maintainable.&lt;/p&gt;

&lt;h3&gt;
  
  
  Define the Dashboard Widget Content:
&lt;/h3&gt;

&lt;p&gt;You'll need to create a function that generates the content you want to display in your custom dashboard widget. For this example, we'll create a simple widget displaying a welcome message and some information. Here is a referance content for &lt;a href="https://developer.wordpress.org/apis/dashboard-widgets/"&gt;Developing Dashboard Widget&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function custom_dashboard_widget_content() {
    echo '&amp;lt;div class="welcome-widget"&amp;gt;';
    echo '&amp;lt;h2&amp;gt;Welcome to Your Custom Dashboard Widget!&amp;lt;/h2&amp;gt;';
    echo '&amp;lt;p&amp;gt;This is where you can provide information, links, or other content for your users. This is just a demo text, see how it works.&amp;lt;/p&amp;gt;';
    echo '&amp;lt;/div&amp;gt;';
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Register the Dashboard Widget:
&lt;/h3&gt;

&lt;p&gt;Next, you'll register the dashboard widget using the &lt;code&gt;wp_add_dashboard_widget&lt;/code&gt; function. This function takes the widget ID, title, and the function that generates the content.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function enqueue_custom_dashboard_widget_styles() {
    wp_enqueue_style('custom-dashboard-widget-styles', get_template_directory_uri() . '/custom-dashboard-widget.css');
}
add_action('admin_enqueue_scripts', 'enqueue_custom_dashboard_widget_styles');

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Styling (Optional):
&lt;/h3&gt;

&lt;p&gt;You can style your dashboard widget using CSS. You can enqueue your CSS file in the &lt;code&gt;wp_enqueue_scripts&lt;/code&gt; hook.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function enqueue_custom_dashboard_widget_styles() {
    wp_enqueue_style('custom-dashboard-widget-styles', get_template_directory_uri() . '/custom-dashboard-widget.css');
}
add_action('admin_enqueue_scripts', 'enqueue_custom_dashboard_widget_styles');

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Don't forget to create a &lt;code&gt;custom-dashboard-widget.css&lt;/code&gt; file in your theme directory to define your widget's styles.&lt;/p&gt;

&lt;h3&gt;
  
  
  Save your changes, and you're done!
&lt;/h3&gt;

&lt;p&gt;After adding this code to your theme's &lt;code&gt;functions.php&lt;/code&gt;, visit your WordPress dashboard. You should now see your custom dashboard widget displaying the content you defined.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---LBFFkCO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/268rt5uq7ktkf5dwk4ti.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---LBFFkCO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/268rt5uq7ktkf5dwk4ti.png" alt="Custom Dashboard Widget by code" width="750" height="295"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it! You've created a custom WordPress dashboard widget using code. You can further enhance this widget by adding dynamic content, links, or any other features you require for your specific use case.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Dashboard Widget using WP Adminify
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Take a look at &lt;a href="https://wpadminify.com/modules/wordpress-dashboard-widgets/?utm_medium=dev_to&amp;amp;utm_source=dev_posts"&gt;Custom Dashboard Widget&lt;/a&gt; by WP Adminify features first. It offers huge dynamic features to create attractive Dashboard Widget. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;After installing WP Adminify Plugin, navigate to WP Adminify option panel&amp;gt; Dashboard Widget &amp;gt; Add New Widget. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9XBtEeiv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b5bk0evktftfi4vngqxc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9XBtEeiv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b5bk0evktftfi4vngqxc.png" alt="Add new WordPress Dashboard Widget" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, inside the editor you have to write your Dashboard Widget Content. You can define 6 type of WordPress Dashboard Widget (Required &lt;a href="https://wpadminify.com/?utm_medium=dev_to&amp;amp;utm_source=dev_posts"&gt;WP Adminify&lt;/a&gt; PRO) called Editor, Icon, video, Shortcode, RSS Feed, Script. Select your desired Type and add your content. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VFOGVyZQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wf9lzqezvzqwsedbn24e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VFOGVyZQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wf9lzqezvzqwsedbn24e.png" alt="Add Content in Dashboard Widget" width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the final output of my Custom Dashboard Widget. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XFvpsTlu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i4up92mobpgqjhu12ts7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XFvpsTlu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i4up92mobpgqjhu12ts7.png" alt="Custom WordPress Dashboard Widget" width="544" height="583"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Edit WordPress Dashboard Welcome Widget
&lt;/h2&gt;

&lt;p&gt;Using WP Adminify, it's easy to Create new welcome Widget for your Dashboard too. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JWd2bvBp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7x31ycf6diau90nwbx2u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JWd2bvBp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7x31ycf6diau90nwbx2u.png" alt="Welcome Widget Customization" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can get a output like the following screenshot of your Welcome Widget. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Jv_mJ8JT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7grx5xrmlcrgho8qbkdd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Jv_mJ8JT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7grx5xrmlcrgho8qbkdd.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can showcase a Gallery slider, contact form, or anything using shortcode. Here is a example of gallery slider. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eTgMUN4t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qni2vq198dnh4anbzu5q.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eTgMUN4t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qni2vq198dnh4anbzu5q.gif" alt="WordPress Custom Widget Gallery Slider" width="554" height="604"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all about how you can create WordPress Dashboard Widget. I've covered the necessary prerequisites, walked through the code structure for a custom widget, and provided examples to guide you through the process. By following these steps, you can customize your WordPress dashboard to your specific needs and preferences.&lt;/p&gt;

&lt;p&gt;I encourage you to experiment with creating custom widgets. WordPress's flexibility allows you to get creative and build widgets that cater precisely to your requirements. Don't hesitate to explore new ideas, experiment with different data sources, and make your WordPress dashboard truly your own.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>wordpress</category>
      <category>beginners</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
