Hide WordPress Admin Bar

How to hide admin bar in WordPress

When you want to hide WordPress admin bar to your users specifically or for all while viewing the website. You should hide the bar to not letting your subscribers know about WordPress backend or its quick edit tools.

To do that, it’s super simple. Just log in to your WordPress admin, go to Users > All Users, choose who is not gonna show admin bar. Edit those people profiles, just uncheck the box called “Show Toolbar when viewing site”. That’s it.

Hide WordPress Admin Bar

fix wordpress maintenance error

How to fix WordPress maintenance error ?

Internet disconnection, power failure, browser closing by misclick while upgrading plugins or themes may cause an annoying WordPress error with “Briefly unavailable for scheduled maintenance. Check back in a minute.” message. Don’t worry, it can be easily solved.

To fix WordPress maintenance error, there are few ways, but the easiest way is logging in your Cpanel file manager or FTP. You will see .maintenance file in the site root directory. Just remove it. Refresh the site. And you are done!

fix wordpress maintenance error

How to make Wordpress Page template

How to make WordPress Page template?

Generally, themes page.php is used as default page template. But if you wants to create a custom page template, then you just need to copy page.php codes and save a new name like template-custom.php . You need to add this code in the very beginning. Additionally, you can add custom php codes, wordpress loops, HTML codes as you wish !


<?php 
/*
Template name: Custom 
*/
?>

Now go to Dashboard > Pages > add new, you will see a drop down option in right side, where you can select your page template. Done !

make logo and search box center in genesis framework

Make logo and search box center in Genesis

make logo and search box center in genesis framework

Sometimes you need to make logo and search box center in genesis framework. That’d be easy. Just tweak some CSS. Caution: make sure your CSS is backed up to avoid unwanted awkward styling.

Just add these codes in style.css in Genesis framework.

/**make sure you are adding search in top right widgets **/

.site-header .widget-area {
    /* float: right; */
    width: 500px;
    margin: 0 auto;
}

.title-area {
    font-weight: 700;
    /* float: left; */
    overflow: hidden;
    width: 320px;
    /* margin: auto 0; */
    text-align: center;
    margin: 0 auto;
}

See live example