One of the reasons WordPress is so popular and widely used is that it offers a lot of flexibility and customizability. If you know just the right WordPress hacks and bits of code, you can get your blog to do almost anything.
It’s true – WordPress is pretty user-friendly and even provides a lot of plugins that teach the basics.
But, WordPress accepts a lot of code customization, which is where most of these hacks come from. In order to understand and implement a lot of these tips, you should have some basic understanding of HTML and CSS.
If you don’t have some understanding of code, it’s okay. But if you’re a serious blogger, it would behoove you to know the language of websites. Learning HTML leads to true customization.
To pick up on some good tips and tricks, code-based or otherwise, read on.
Add Custom Page
Custom pages can give certain spots on your site a unique layout. It’s a great way to keep your website looking creative and professional, or a way to adapt a page to complex content.
To add a custom page:
- Create a php file in notepad
- Add code for your custom template
- Upload the template to your current theme folder
- The template should now be visible from the drop-down menu when you’re creating a new page
Add Custom CSS File
CSS files allow you to override theme defaults and make your website yours and yours alone. This WordPress hack is important for making your blog unique. To create a custom CSS file:
- Go to your site’s customizer
- Click on the CSS tab
- The CSS you add will be viewable in the preview but won’t be applied until you hit “Save and Publish”
- Note, you must have a premium WordPress account to access this feature
There are a lot of ways to customize a website. You can learn more about web hosting and website customization at 2mhost.com or our very own blog.
Block an IP Address
Security is one of the most important reasons to look for WordPress hacks. There are a lot of weird people on the internet and if there is a creepy commenter or an otherwise unwelcome visitor, one way to get rid of them is to block their IP Address.
You can find the IP Address by looking at their comment in admin view. It should be visible underneath their username.
- Go to Settings – Discussion
- Scroll to “Comment Blacklist”
- Copy the IP Address you wish to block
- Hit “Save Changes”
Install Facebook Comments
A lot of blogs find that Facebook is a common way for people to find and engage with their blog. Facebook Comments is a great feature for users to be able to comment and engage with your website without having to make new accounts or jump through other loopholes.
Facebook Comments is also just an awesome plugin. It’s feature-rich and allows users to have and interact with a commenting experience they are familiar with. This means users are less likely to get frustrated with their experience on your web page.
- Find and install the Facebook Comments plugin
- Go to Settings – Facebook Comments to activate
- Create a new app with Facebook
- Paste app ID into your plugin settings
Display Categories in Drop-Down Menu
It’s frustrating that WordPress still hasn’t made it easy to add categories to drop-down menus! Being able to simplify menus is one the most important aspects of creating a smooth user experience.
Luckily, there’s a workaround:
- Go to Appearance – Menus
- Select the menu where you want to display the link
- Select “create new link menu item” and use “#” for the URL
- Click “Add to Menu”
- Arrange the drop-down items as a child link to the menu item
Highlight Author Comments
WordPress provides a number of CSS classes for WordPress elements. The class to use for author comments is .bypostauthor which is found in the .commentlist element.
All you have to do is break out your CSS skills and add your custom styling to this class in your CSS file.
Go Full Screen for a Distraction-Free WordPress Experience
The WordPress editor has a “full-screen” option that creates a distraction-free canvas to work on. Of all the WordPress hacks, this one is a blessing for people who find the normal WordPress editor pretty distracting.
Redirect Mobile Users
It’s smart for any web manager to have a mobile version of their website. There are benefits to SEO as well as just general user satisfaction. It also makes your website more available to users who do not own computers.
Luckily, there are multiple plugins available for people to quickly and effectively redirect mobile users to the mobile site.
Add Social Media Share Buttons
Social media share buttons make it easier for users to engage with your site and to let your content go viral. To install this great feature:
- Find and install the ShareThis plugin
- Go to the ShareThis settings. From here, you can:
- Add which social media share buttons you want on your particular site
- Customize what the social media share buttons look like
Add Custom Login Page
Adding a custom login page for your site adds a breath of personalization and professional nature to your website. A custom login page always makes me feel like this website knows what it’s doing. Luckily, this great WordPress hack also has a plugin.
After installing the plugin, go to the plugin settings to access standard customization features as well as adding images to the background of your login page, social media integrations, responsive design, and more.
Wrapping Up WordPress Hacks
This is just the beginning of WordPress hacks that are out there. WordPress is highly customizable as far as you know HTML and CSS. WordPress is only as limited as your creativity is.
Since WordPress has been around so long, there are a lot of ways to research what other people have done and apply it to your own site. People have been building on each other’s knowledge about this site for some time.
There is a reason WordPress is so popular, although there are plenty of other viable and useful hosting sites out there.
Check out the rest of our website to get the most out of WordPress.