So you've built a membership-based Website maybe an e-commerce website Maybe a website for selling your online Courses or maybe just a forum hosted on WordPress excellent choice because WordPress is great for all of these Kinds of websites However there's one quirk in wordpress Which really grinds my gears and Unfortunately there's not a way to fix It natively in wordpress and i'm talking About the admin bar right here now don't Get me wrong i really find the admin bar Really useful but i'm the administrator Of the website so i can use the admin Bar to go like directly into the Dashboard of the website edit pages make All sort of changes directly but i'm Talking about the navigation or the Value of the admin bar for the end user I don't think it's very valuable because Most people don't care and if they care They'll click around and they'll reach The back end of the site which might not Be useful to them it might be confusing To them and for a lot of the users you Don't want to reveal that you are using WordPress to host whatever website You're hosting so if i had a website Where users had to log in to consume any Kind of content the very first thing i Would do is make sure that the end users Don't see the admin bar and if you want To do the same thing on your website
Just watch this video because i'm going To show you exactly that how to disable The admin bar for all users except Administrators that is you let's go Alright welcome to the backend of my WordPress website and let me explain how I've set things up to test out that Admin bar is actually disabled for all Users but except for me as the Administrator so what i've done is Logged into the administrator already And i've opened up a new tab where i can See the admin bar for me as the Administrator but i've created a new User as well and i've opened up and Logged into uh their account using an Incognito window so right here you can See not many things show up for the end User or the subscriber which is typical For any subscribers logged in but the Admin bar is still visible so once we Actually make all these changes which I'm going to show right now we're going To see and go to those tabs and verify If the admin bar is disabled or enabled For all the users that we intend and of Course for administrators we intend that It should be enabled right here so now We can get in the process of actually Doing the process which will disable the Admin bar and for to do that we're going To use a plugin called wp code it's a Completely free plugin it's available in The wordpress repository and it's a
Fantastic plugin let's install and Activate the plugin first and i'll Explain why we're using a plugin to do This task instead of maybe doing Something manual to hide the admin bar All right so go into the plugin section Of your website go to the add new Section And the page for adding new plugins will Open up and go to the search option and Type in wp code wait for a couple of Seconds and you'll see wp code as the First plugin come up here and as you can See it has great ratings it has a lot of Installations one over one million Installations that means a highly rated Plugin right so let's install the plugin It just takes a maybe a few seconds of Your time once it's installed and Activated i'm going to tell you why this Plug-in is so useful in not just hiding Your admin bar but of doing a lot of Tasks which might be a little more Difficult for beginners and also a safer Way to do it right so the plugin is Already installed let's activate it And now the plugin is activated you see It right here and you also see a menu Entry right here now before going into The menu entry and starting working on How to add or hide the admin bar let me Give you some context of what's Happening so that you can understand why We are using this plugin in particular
And why we using a plugin in the first Place now technically if you want to Hide the admin bar for users on your Site you can have actually or what you Can do is find a code snippet somewhere If you google you'll find a code snippet And you can place it somewhere on your WordPress website's installation files And that will also hide the admin bar Right but there's a lot of risks Involved i'd say it's a more complicated Process because beginners don't Understand code they'll use need to have Or ftp access i'll do lots of nasty Stuff which might be confusing Intimidating for them you might be in That area as well you might be beginner And you don't want to mess with your Theme files or wordpress files because The risk of messing up or making a Mistake is very high and the second Problem is that even if you let's say You were successful in adding that piece Of code anytime there's a update to WordPress the code changes will be wiped Out so you back to square one you'll Have to repeat the process so why take That hassle so instead anything you want To do code related if you want to add Any kind of code to your website not Just for admins admin tray or hiding the Admin bar but for any kind of activities The best choice is to use a plugin that Manages the code snippets on your
Website so you can add the code snippets Enable it disable it and just see them What kind of codes numbers you have Enabled or added so that's easier to Manage because this is not the only code Snippet you might be adding to your Website if your website just starting Out in the future you might be adding Marketing pixels like the facebook pixel Maybe the google analytics code Verifying with search console pinterest And tons of different ad managing Plugins or whatever any kind of service You want to add to your wordpress Website will require you to add a piece Of code and instead of messing with your WordPress installation it's much safer To use a code management plugin or code Snippet plugin and this is exactly what Wp code does that's why i recommend Using wp code and i'm going to show you One more i say advanced benefit of using Wp code apart from all the benefits i Just mentioned so let's go to the code Snippets section and you have code Snippets and let's add a snippet first So if i go to the add snippet option What you will see here is this is the Feature this is the benefit i was Talking about Apart from just giving you the Opportunity or the ability to add code Snippets wp code team actually what it Does is they have a collection of
Predefined well tested battle tested Code snippets right here which you can Click and directly import on your Website now this is really powerful Because there are a lot of things that You might not know Are possible to do in wordpress with the Help of a little bit of code which you Will find and discover right here for Example add your custom code of course You can add a custom snip allow svg Files upload you can add actually upload Svg files to wordpress it's disabled for Security but you can enable it Completely disable Comments that means disabling comments Of on your entire website disable Attachment pages you might understand What that is disable automatic updates If you have any kind of custom code Custom functionality built out this is Very useful because any automatic Updates might break your website disable Automatic update emails if a lot of Updates are happening you're getting Emails for everything you can disable it Disable the gutenberg at the blog editor Use the Custom or as user classic editor Disable the wp admin bar this is what we Are going to be using and instead of Discovering code elsewhere on a shady Website which where you don't trust them You have the code snippet right here
A certain page on your website so you Can use the shortcode option and just Add the code snippet to certain pages of Your website this is a really really Powerful feature but let's stick to auto Insert for now and you can also change Where it shows up so run everywhere only The front end back end side wide header Footer you have lots of options that Means not only can you add the snippet But you can customize how it actually Works where it works this is a more Powerful feature because even if let's Say you understood the code piece you Understood where to paste this Uh managing these conditions would be Something that not in the scope of i'd Say any General user of wordpress you will need Some developer support but it's right Here inside wp code all done for you for Free so let's add this piece of code to Our site let's update it i made this Code snippet active and then we'll test Out how the functionality actually Affects or this code snippet affects the Functionality of our site so i'm going To update this right now let's say the Code snipper is updated it's still Inactive so what you can do is go to Code snippets right here and you'll see A lot of code snippets a couple of them Were already i was testing them out Disable the wp admin but it's actually
Disabled right now so i'll enable this And i'll refresh my website because Sometimes you need to refresh your cache To see the changes go live so let's go To the admin block first right here this Was the administrator area i'm logged in As the administrator let's refresh this And see what happens and i'm going to do Hard refresh so the cache also is Disabled now you might be thinking hey Why did the admin bar disappear for the Admin area yes i understand this is what Is expected i'll explain how this works And how you can uh change the behavior So that the admin bar does not disappear For you as well let's also check the Incognito window and i'll just refresh The page right here and right now you Can see the admin bar has disappeared For both the administrator and the end User this is not what we want but we can Modify or customize the behavior right Inside wp code so let's head back let's Go to the code snippets options and you Might be thinking hey is this a bug or a Feature it's not a feature it's a super Power let me explain how this works so Apart from the features i was already Mentioning to you that you can do all This auto insert there's another let's Say really Nuclear powered option right here inside Wp which will change how you use code Snippets forever and it's called this
Section right here smart conditional Logic so if you enable this what you can Do is Have the code snippet load on based on Conditions that you set i don't know if You understand the implications but i Definitely do and this is really really Powerful for lots of activities right Now let's stick to the Uh core crux of this video which is run This code snippet for for administrators Or in this case we are trying to say for Administrators don't do this or don't Run this code snippet but for end users Run this code snippet so you have the Enable logic the condition is show this Code snippet for logged in users but not Administrators let's find out how we can Create a condition where the Administrators are actually excluded so Let's say hide this code snippet if Add new group hide this code snippet if User role is administrator so right now What we are saying is the conditional Logic is enabled and the condition is That this code snippet which hides the Admin bar right should not be run or This should be hidden If the user role is administrator so we Are disabling the functionality of this Plugin or this snippet for administ Administrators only now this is just one Condition i've added but what you can do Is daisy chain a lot of different
Conditions if you add more conditions Here these will be added as and Conditions and if you click this This will create a or condition so you Can chain and conditions and or Conditions to make any kind of complex Conditions that you want depending on Your use case and as I showed you you have a lot of different Options here so hide or show based on Logged in users user role tape page type Post type referrer tax number type tax New term and page url you have a bunch Of options so you can customize the Snippet behavior completely depending on How you want to do it and this is again This is a really really powerful feature And if you are a pro user of wordpress Then you might already know how powerful This feature is but right now i'm not Going to go into a lot of details right Now i'm going to just update this post Right here update this code snippet Right here we've changed the behavior Let's make sure it's enabled we'll go Back to the incognito window I'll hard refresh the page once again And the admin bar does not show up let's Go back to our wordpress website let's Go to the administrator area where i'm Logged in as the administrator all right So i'll just hard refresh the page once Again and the admin bar is visible as Easy as that so once again
No admin bar for subscribers but admin Bar is visible for administrators and Everything this complex functionality Was done without understanding code Trust me i don't understand code i do i Won't mess with my wordpress files even If i had this exact code right here i Would definitely use this plugin and That's what the benefit of using wp code Is regardless of your skill level or Expertise with wordpress you can do a Lot of things inside wordpress which Mostly is reserved for developers and as I was showing you there are tons of code Snippets pre-defined and built in for You you don't have even have to go Outside and find the code snippet and be Scared about if this is actually an Updated or up-to-date code snippet Everything here is fully tested right Here built for you and that's the power Of wp code for you amazing plug-in Amazing features lot of different Powerful powerful features which you can Utilize on your website to do tons of Tasks including hiding the administrator Bar for uh subscribers on your website Now if i peaked your interest about wp Code and maybe you're thinking to Yourself hey i should maybe check out This plugin it's a really awesome plugin Then i would recommend you check out This video right here which is a guided Tour of the wp code plug-in you
Understand everything about the plugin And if you're interested in more easy to Understand followed wordpress tutorials Then i would recommend subscribing to This channel and i'll catch you very Soon in the next video
Before you start your blog, you should plan what you want to write about. Start by making a list of possible subjects and decide what type of content you will publish and how often you will post. You should also consider your editorial calendar, which helps you decide when to post new content. This will help you ensure that your blog will have a regular flow of content.
If you change your mind about the name of your blog, you can purchase a new domain name for about $10. This will allow you to change your name later. You can also change your hosting plan. Some hosting companies let you change it later, such as Bluehost. It’s best to start with a basic plan, which is affordable for new bloggers.
SEO is a crucial part of any blogging strategy. It involves keywords, link building, and other actions that will make your blog rank high. The goal of SEO is to have the best content on the web for your targeted keywords. For this, you must choose keywords that are both popular and easy to rank for. It’s also important to consider the difficulty level of these keywords.
When you’re starting out, building an email list is essential. It’s important to make this a priority before you publish your first blog post. You can also use a tool called Sumo to create on-scroll and exit-intent popups. You can use these popups to offer a content upgrade or a lead magnet.
Another great way to market your blog is through social media. A blog allows you to interact with your audience and answer their questions. It’s a great way to build trust with potential customers. People prefer to buy products and services that they know they can trust. A blog lets them familiarize themselves with your business and make them feel comfortable spending their money with you.
Another advantage of blogging is that most blogging platforms are extremely user-friendly, making it easy for beginners to start a blog. WordPress, for example, has a user-friendly interface that makes it easy for those without any web design or coding knowledge to create a site. Aside from its user-friendly interface, WordPress also offers thousands of free themes that allow you to customize the look of your site. In addition, you can install plugins to add eCommerce features, improve site performance, and compress large media files.