5 Best WordPress Plugins to Deal With Fonts On Your Site

There are many elements in web design that require your full attention. Typography is one major element although we usually don’t place its importance high up the priority list. However, use the wrong type face or fonts that are too small and you will leave a bad impression amongst your readers.

On that thought, I have put together five WordPress plugins that can help you do more with your fonts, such as change their color, size, appearance. On top of that, these plugins also help you better manage, highlight and display fonts on your site, make instant pull quotes and tweets, disable auto-formatting on the backend and more.

Clever Typography Designs That Make You Think

.no-js #ref-block-post-18746 .ref-block__thumbnail { background-image: url(“https://assets.hongkiat.com/uploads/thumbs/250×160/expressive-typography.jpg”); }

Clever Typography Designs That Make You Think

Words! We just can’t possibly go through a day without using them. Yet, time and time again, we… Read more

1. Use Any Font

With this plugin, you can use any font you have (in TTF, OTF, EOT, WOFF, SVG, dfont formats) so you don’t have to depend on font embed services that usually come with a limited number of fonts. Just upload the font to your WordPress and use it.

UseAnyFont tool in the WordPress editor

2. Google Typography

There are several hundreds of Google Fonts you can put to good use via this Google Typography. And you don’t even have to write a single line of code to utilize this. You can customize the site fonts from the WordPress Customizer; select one, and it’ll appear right on the preview.

Google Fonts selection in WordPress Customizer screen

3. Simple Pull Quote

Pull quotes help break down hefty textual offerings so that readers don’t engage in the TL;DR mode and skip your whole post. Simple Pull Quote allows you to insert pull quotes into your blog posts fast and easy – basically, just click the pullquote button. You can also change the fonts, colors, and backgrounds of each pull quote in your theme’s CSS file.

Pull Quote in a WordPress post

4. FontAwesome

Font Awesome is one of the popular font-icon libraries on the Web, and you can use this plugin to add the font collection to your website. It is an entirely new plugin; written from the ground-up and maintained by the FontAwesome team directly. You can load the icon as an SVG or a Web Font. Loading it directly or use the CDN.

FontAwesome logo and some of the icons in blue colors
9 FontAwesome Alternatives That Are Equally As Good

.no-js #ref-block-post-23454 .ref-block__thumbnail { background-image: url(“https://assets.hongkiat.com/uploads/thumbs/250×160/free-font-icons-to-bookmark.jpg”); }

9 FontAwesome Alternatives That Are Equally As Good

As more and more devices adopt high-definition screens, font icons are becoming the popular choice to adopt. It… Read more

5. Custom Typekit Fonts

This plugin allows you to connect to Typekit (now Adobe Fonts) to add their font collection to the website easily. It works with a couple of popular themes and theme builders such as the AstraTheme, Beaver Builder Theme and Plugin, and Elementor Page Builder.

Bonus: Custom Fonts

With this plugin, you can create your own custom font collections, literally. The plugin provides a Setting in the dashboard where you can upload the font to your website. Then you can select the font from the WordPress Customizer. It’s also compatible with popular page builders such as Elementor and Beaver Builder.

More about Typography:

  • Quick Guide to Typography
  • Understanding Typography: 10 helpful tools and resources
  • Understanding Typography: Writing for the Web
  • Showcase of Web designs with beautiful typography

The post 5 Best WordPress Plugins to Deal With Fonts On Your Site appeared first on Hongkiat.

5 Reliable Sites to Get WordPress Hosting Services Reviews

When you’re starting a business, you need a website; and web hosting service is one of the key components of a successful website. With the best web hosting, you can boost SEO, which helps in growing your products’ outreach and sales.

No matter if you’re starting your first blog on WordPress or your next business’s website on WordPress, a quality hosting service will save you a lot of troubles including almost zero to no downtimes and quick response on support issues. That’s the reason the best websites are hosted on the best-hosting services.

The question arises: how to find the best web hosting services for WordPress? Fortunately, there are some websites that provide expert opinions and user reviews about the hosting services. These services help you to choose the best hosting provider per the reviews of hundreds if not thousands of real users.

Finally, let me share the key factors of a hosting service for WordPress before I introduce you to the best five places to look for legitimate hosting reviews.

  • Server requirements – WordPress’s latest versions require PHP 5.6.20 or later, MySQL 5.0.15 or later, and Apache or Nginx with mod_rewrite.
  • Speed – The rule of thumb: the faster, the better. Your website must load within a second (you can check via website speed and performance tools).
  • Uptime – The hosting service’s uptime must be greater than 99.9%. If it’s any lesser, you may lose probable customers and visitors on your website.
  • Support – The provider must provide 24/7 support — even if it’s just live chat. The reason being: you may need urgent support if your site is down.
  • Pricing – You’ll already know this: the cheaper, the better. But you must ensure that the website’s speed and uptime must not suffer for pricing.


HostAdvice is one of the best web hosting review services. It avails both user and expert reviews, allowing customers to compare prices, policies, support, and other features of the web hosting providers. Its expert opinions discuss the ease of use, pricing, speed and performance, and support of the hosting services.

HostAdvice - the best hosting review service
What’s good
  • Allows comparing two or more services side-by-side.
  • Allows sorting reviews based on newest, helpful, best, etc.
  • Offers discount codes (coupons) and plans and features details.
  • Supports filtering reviews per service used, language, and the category of reviews like domain, pricing, reliability, speed, support, and more.
  • Supports a list of tools such as Web Hosting Advisor, Plans Search, Who Is Hosting This Site?, etc. to help you find the best web hosting service.
What’s bad
  • Its design may appear a bit crowded since it offers a lot of information.


WhoIsHostingThis aims to provide you with expert reviews and resources along with user reviews to help you on choosing a web host. User reviews share info about hosting services’ features, quality, support, and the overall value. On the contrary, expert opinions provide a highlight of their features in detail.

WhoIsHostingThis - expert reviews and resources
What’s good
  • Allows comparing hosting services based on the budget, server types, speciality hosting, programming languages, CMSs like WordPress, etc.
  • Offers a library of useful resources to get started, like most services.
  • Offers deals and discounts, mostly like HostAdvice.
What’s bad
  • Doesn’t offer side-by-side comparison of web hosting services.


Digital.com helps you find the best web hosting service by providing you ratings based on comments on Twitter. That is, it uses sentiment analysis algorithm on publicly-available comments and tweets about the web hosting services.

That’s why Digital.com is a one-of-its-kind review service that helps to share the voices of real people (though it can’t be accurate since Twitter has bots too!). However, it promises to mitigate some issues using machine learning.

Digital.com - the best web hosting services
What’s good
  • Offers side-by-side comparison between two services, like HostAdvice.
  • Avails detail analysis and reviews on web hosting, website builders, and ecommerce builders, and resources on building and hosting a website.
  • Offers coupons and discounts for the web hosts, like the above tools.
  • Avails sections about CDNs and email platforms under More Services.
What’s bad
  • Limited comparisons compared to the above hosting review services.


WPBeginner — a site focusing on resources for WordPress — provides hosting reviews as well. It provides customer reviews and expert overviews on web hosting services which are focused on their performance, response time, hosting plans, customer support, and other features including pros and cons.

WPBeginner provides hosting reviews
What’s good
  • Offers coupons and discount codes, like most review services.
  • Provides performance statistics of the web hosts, unlike many others.
What’s bad
  • Focuses solely on the web hosts for WordPress, unlike other services.

Serchen Marketplace

Serchen is a marketplace and search engine, offering digital solutions for your business. The website has hundreds of categories featuring cloud hosting, web hosting, etc. Unlike most other services, it offers an overview of the hosting service along with its key features and user ratings and reviews.

Serchen Marketplace shows hosting reviews
What’s good
  • Allows sorting by Serchen Index, highest rated, most reviewed, Twitter followers, Facebook likes, YouTube subscribers, and more.
  • Lists a web host’s social following, unlike most tools on this list.
What’s bad
  • Directs you to a web host’s page for its features, pricing, etc.
  • No discount codes or coupons, unlike many on this list.
  • Doesn’t offer side-by-side comparison between two services.

The post 5 Reliable Sites to Get WordPress Hosting Services Reviews appeared first on Hongkiat.

10+ WordPress Group Buying Themes And Plugins

Group buying is one of the hottest trends in online shopping arena these days. And why wouldn’t it! With so many websites offering bulk deals at incredibly low prices, everyone wants to be that clever guy who got the better deal – and this is what brings these websites so much profit.

So, if you want to be a part of this bandwagon by launching your own group buying website, then what’s stopping you?

Well, the missing link between you and your successful group buying website is an ideal WordPress theme and useful plugins. So, in this post, I’m featuring the best WordPress themes and plugins that enable you to start your own successful group buying website. Let’s take a look.

How to Drive Recurring E-Commerce Sales in 2017

.no-js #ref-block-post-37647 .ref-block__thumbnail { background-image: url(“https://assets.hongkiat.com/uploads/thumbs/250×160/drive-recurring-ecommerce-sales.jpg”); }

How to Drive Recurring E-Commerce Sales in 2017

I often see businesses more concerned about getting new customers instead of retaining the existing ones. But, do… Read more


WooCommerce by Automattic has immense support for all kinds of products; thus it is an ideal choice for building group-buying sites. Moreover, this tool is extensible through plugins, allowing you to add or remove features as and when required.

A fantastic feature I see is, you can quickly make your site accessible to the whole world with WooCommerce, thanks to its support for multiple languages and 140+ region-specific payment gateways. Last but not the least, it is an open-source product, so you can customize its source to meet your needs if its features are not enough. (Free)


WP eCommerce

WP eCommerce is another e-commerce solution that supports extensive customizations and provides marketing tools to take your group-buying site to the next level. Because it has provision for dozens of payment gateways like eProcessing Network, XERO, AffiliateWP, etc., you can conveniently process payments across the globe.

Surprisingly, WP eCommerce supports multisite environments too unlike some other plugins and provides multilingual support as well. Moreover, you can manage your listings with its powerful inbuilt tools and integration with the popular courier services. (Free)

WP eCommerce

WooCommerce Group & Daily Deals

WooCommerce Group & Daily Deals is a mobile-ready plugin that allows creating groups and different types of deals. The deals can be easily customized based on the categories of customers and you can also schedule the deals to promote on select days only. Another exciting feature is that it makes your site translation-ready.

This plugin offers a lot more configuration options like it lets you assign limited time for a deal and you can customize the front-end display of the deals. Moreover, it can also generate detailed reports, an unusual feature which I find missing in few other plugins. ($21)

WooCommerce Group & Daily Deals

WP Coupons and Deals

WP Coupons and Deals is a lightweight plugin to showcase deals and coupons on your website. A unique feature I see is that it provides a live preview of a coupon while inserting it in the post straight from the post editor. You can also categorize the coupons and show your exclusive coupons and deals anywhere on the site using widgets.

Moreover, the plugin also lets you set and display expiration dates of your coupons, which is another great option. Some of its pro features include options to hide coupons, create coupons using templates, and show or hide coupons conditionally. (Free)

WP Coupons and Deals

Affiliate Coupons

Affiliate Coupons helps you earn money through affiliate referral offers by promoting product vouchers and deals. An interesting feature I see is, you can link your coupons to vendors to categorize them and display them easily using a shortcode.

The vendors can be created with predefined affiliate links. Also, there are multiple options to sort your coupons and many configuration options to customize the look and feel of them. (Free)

Affiliate Coupons

Woocommerce Role Pricing

Woocommerce Role Pricing plugin provides an option to set rates and discounts according to the role of the viewer. While visiting your site, every customer can view the store with or without discounted prices – a unique feature that sets this plugin apart from others.

You can set direct discounts to editors, subscribers, or customers, and choose between applying discounts or amounts based on regular price or sale price. Also, its premium edition offers many more features such as providing discounts by variables or categories. (Free)

Woocommerce Role Pricing

WooCommerce Group Buy and Deals

WooCommerce Group Buy and Deals plugin works as an extension to the WooCommerce plugin mentioned above on this list. This extension helps to design group-buying sites which work exactly like Groupon and are heavily customizable as well.

You can set up a deals site in less than an hour using this plugin and start showing deals and promotions to your visitors. You can show or hide deals for a specific time, use plenty of supported shortcodes, and configure more options using this plugin. Moreover, you can let your users view active and purchased deals on their ‘My deals’ page. ($21)

WooCommerce Group Buy and Deals

20 WordPress Group Buying Themes And Plugins for 2018


Kupon helps you create terrific-looking coupons and deals site and sell physical as well as digital products. The theme offers numerous premium features that save you from buying premium plugins, for example, daily deals marketplace support and a feature to track failed deals and fund money manually for them.

The theme supports child theme and multisite network, which I find is absent in other themes. Moreover, with some of its paid extensions, you can enable gift certificates, allow users to shop with the booking feature, and do a lot more. ($59)



WPGroupbuy allows the creation of a beautiful and flexible deal website. A unique feature of this plugin is, it lets your users create business accounts and submit deals and track sales directly on your website. Moreover, you can even view advanced reports and stats, and export the report data to a CSV too.

Another feature that makes your job easier is, it supports multiple payment gateways and on-site credit card payment methods as well. Also, its localization support on top of former feature helps you to design multilingual site and sell deals in multiple regions. ($99)


Daily Deal

Daily Deal is a featureful coupon theme that helps to create deal sites. You can create various types of coupons and sweepstakes and customize homepage as needed. Using its “Submit Deal” form, you can even allow your users to submit deals. Also, you can customize the submission form, add different types of deals, and configure email notifications.

An interesting feature is, it includes a built-in blog so that you can provide updates on the latest or upcoming coupons and offers. Last but not the least, the theme includes an affiliate module to build and manage affiliates and supports several payment gateways. ($59)

Daily Deal


CouponHut is a coupon-specific theme for WordPress that comes with a clean, responsive design, allowing you build deal and coupon sites. You can add percentage based discounts, expiry dates, and time triggered events to your coupons – a fantastic feature I find only in this theme. Also, it provides various ad blocks to display ads.

Moreover, there is an integrated rating system that allows people to give and view ratings for every deal. I also liked its powerful front-end search functionality, which provides various filters to users, helping them to look for deals or coupons as easily as possible. ($69)



CouponXL is optimized for creating websites to sell coupons, deals, and offers. I found it amazing that one can enable its membership system and manage affiliates and other members. You can even allow them to showcase their deals and products.

Moreover, the theme supports various types of coupons, different fee schemes, multiple types of deals, and many more customization options. Another interesting feature is, it integrates well with PayPal and more payment gateways. And you can also allow social profile signups and view statistics about visits, clicks, and more. ($49)

32 Coupon Sites for Shopping Deals & Bargains – Best of

.no-js #ref-block-post-15525 .ref-block__thumbnail { background-image: url(“https://assets.hongkiat.com/uploads/thumbs/250×160/coupon-sites-shopping-deals-bargains-best.jpg”); }

32 Coupon Sites for Shopping Deals & Bargains – Best of

I have always been a big fan of online shopping as it allows me to buy just about… Read more


Clipper comes with easy monetization tools and features to earn by creating a coupon website. I found a unique feature called custom write panel, which lets you easily edit the vouchers from the admin dashboard. With its submit coupon form, you can easily accept coupons from your visitors and list them on your site.

Along with custom schemes and layouts, Clipper also offers support for child themes and avails an API for customizing its functionality. Moreover, you can import coupons from other systems, manage ads, and check out statistics about daily views. ($69)



Couponer is a discount and coupon theme which can be customized with multiple options. You can easily create vouchers and show daily deals to your visitors. The theme offers premium design, membership features, unlimited colors, and more.

Also, you can restrict coupons and discounts to members and opt for more configuration options. You can add widgets like coupon text, coupon social, coupon categories, newsletters, etc., and use its page templates to create pages. Moreover, the theme offers various coupon listing options, numerous custom post types, etc. ($49)



Deals is a fully functional theme incorporating a coupon management system that lets you create and show discounts and coupons and earn money through ads. Interestingly, the theme includes a user rating and voting system that allows your visitors give their feedback and helps improve your site’s visibility.

The theme is translation ready and also brings you multiple layouts, custom menu options, various widgets, and a powerful image slider to showcase the exclusive coupons on your website. ($39)



DealPress transforms your site to a group buying website that offers various fully-functional features. The theme makes it easier for you to post deals and write blog posts to attract organic traffic. An interesting feature is, it supports numerous payment gateways to help you monetize your deal site and charge the members.

Moreover, DealPress offers native support for Google Maps and Google Analytics that helps you to track your site’s traffic and user engagement. Last but not the least, it also integrates well with social networks like Facebook and Twitter to help grow popularity. ($69.99)


The post 10+ WordPress Group Buying Themes And Plugins appeared first on Hongkiat.

These 8 WordPress Plugins Will Save You Time

WordPress is the most popular website-building platform for a variety of reasons. One of them is the vast array of tools and design options and aids it places at your disposal.

Still, there are times you’ll want to invest in a multipurpose or specialty theme if you are to have everything you need at your fingertips.

That may be enough, but if not, and a desired website feature or capability is still out of reach, you have four options:

  • Go without it
  • Code it yourself;
  • Get a developer to do the work for you
  • Find a plugin that will do the job

We suggest the latter option. After all, there are more than 55,000 plugins in the WordPress directory; admittedly more than you might care to have to plow through.

We’re willing to bet that you could use one or more of the following 8 top 2020 plugins to put your website on steroids.

One more thing — they’re free to try or use.

1. Brizy Website Builder for WordPress

Brizy Website Builder for WordPress

If you’re in the market for a free quality website building tool to supplement what the WordPress platform provides, the Brizy plugin could be just what you’ve been looking for.

There are several good reasons for choosing Brizy including —

  • Ease of setup and ease of use because of this plugin’s intuitive user interface
  • No coding is required, and since Brizy is drag and drop you can build a page in mere minutes
  • It bears repeating that using Brizy won’t cost you one cent. You can download it and start working with it today if you want to.
  • There’s no shortage of useful design aids and options, including 500+ pre-made blocks, 40 popups, 150 layouts, and thousands of icons, colors, and font styles.

Should you run into a problem or want to learn as much as you can about where this plugin can take you, there’s plenty of documentation and an excellent selection of tutorial videos.

2. wpDataTables


When confronted with vast amounts of data (thousands and thousands of rows) gathered from several sources and presented in several formats is precisely what wpDataTables plugin can do to prepare colorful, informative, responsive, and editable tables or charts. Without wpDataTables, it could take you hours or even days to complete the task.

On the other hand, it would take wpDataTables only a few minutes. That, in a nutshell, is one of the reasons why you might choose this WP plugin to do the heavy lifting for you.

wpDataTables can work with data from most, if not all, standard sources such as Excel and CSV files, MySQL queries, JSON feeds, and Google spreadsheets.

It’s ideal for presenting data relating to operational or financial statistics, complex analysis, comparison data, or building and maintaining a product catalog.

3. Logic Hop — Content Personalization for WordPress

Logic Hop

It’s 2020, why is your website showing the same content to every visitor? With Logic Hop, you can display personalized content to each person that visits your site. Why? Because personalized websites perform 200% better. That’s more sales, more signups, more conversions, and lower bounce rates!

Logic Hop automagically pulls over 50 points of data, including geolocation, that can be used to personalize almost any aspect of your site. Want to show a different CTA at night? Easy. Want to show coupons for returning visitors? Done.

Take our word for it; Logic Hop is hands-down the best personalization plugin for WordPress. It’s fully integrated with your favorite page builders like Divi, Beaver Builder, and Elementor, and it’s surprisingly easy to use. Another plus, Logic Hop, is the only personalization tool that works with caching — And it’s GDPR compliant! Give it a try and see what personalization can do for your site.

4. StarCat Reviews

StarCat Review

Product reviews can often play a key role in eCommerce sales. StarCat Reviews is a WooCommerce Review plugin that replaces outmoded WooCommerce reviews with a review and rating system designed to give your business a boost by increasing your eCommerce conversions.

These reviews can feature Multiple Rating options, products, or services. Pros & Cons and overall review scores. You can manage the review process easily. You can display product ratings on Google search pages, and you can put into play premium add-ons like the Photo/Video Review add-on to make the reviews more effective. 

5. Amelia WordPress Booking Plugin

Amelia WordPress Booking Plugin

The Amelia plugin does three essential things for you and does them well.

  • Automates your business’s appointment and event bookings; saving you a ton of money and time in the process
  • Keeps customers happy by enabling them to book, cancel and reschedule appointments online 24/7
  • Keeps your employees happy by matching customer appointment bookings with their availability and preferences

Plus, you can manage bookings from a central location and customize the design and application questions to match your business needs.

6. Heroic KB — Knowledge Base Plugin


A hallmark of excellent customer service is the ability to offer a speedy, informative response to their questions. An FAQ page is one approach, but not always a satisfactory one.

Customers always appreciate getting knowledgeable answers and information, especially when they can get it on a 24/7 basis. The Heroic KB knowledge base plugin’s features include live search, article feedback, and answers based on its analysis of actions visitors have taken while visiting your site.

7. Rank Math SEO

Rank Math SEO

You can tie yourself in knots trying to make a website as SEO friendly as possible. Rank Math, with its clean and straightforward interface together with a host of SEO-enhancing features, will do the job for you, saving you a lot of time and needless stress in the process.

Key features include Automated Image SEO, WooCommerce SEO, Automated Image SEO, and several Local SEO options. It will also evaluate 40 different SEO factors to help make your site an e-commerce powerhouse.

8. WordPress Review

WordPress Review

WordPress Review gives you an ideal solution for setting up your website to review books, games, videos, or anything else. You can choose among several types of reviews, circle, star, percentage, and thumbs up, for example, as well as creating product comparison tables.

WordPress Review provides 19 time-saving rich snippets and 16 pre-defined website designs to work with. This plugin is compatible with any WordPress theme and integrates with WooCommerce.

This little gold mine of 8 top plugins for 2020 likely contains one or more nuggets that can put a new or an existing website of yours on steroids. Each provides features or functionalities lacking in most WordPress themes, including specialty themes.

Since they are free to try or use, don’t wait to try one or more of them out to see where you might put them to good use.

The post These 8 WordPress Plugins Will Save You Time appeared first on Hongkiat.

5 Essential Plugins to Manage Multiple WordPress Sites

For different kinds of sites running on WordPress, you need some particular type of plugins. For instance, for an online store, you need e-commerce plugins. Similarly, for a photography site, you need image-related plugins. However, if you’re a multisite admin, you can administer a WordPress Multisite network along with some useful plugins to help you manage your different websites.

So, in today’s post, I am going to showcase a list of handy and useful WordPress plugins for managing multiple websites. I know you may have already heard about some of these plugins, but I kept them to compile a complete list of multisite plugins that work for everyone — even newbies. Let’s take a look.

9 WordPress Plugins to Improve Images Performance

.no-js #ref-block-post-16351 .ref-block__thumbnail { background-image: url(“https://assets.hongkiat.com/uploads/thumbs/250×160/wp-image-performance-plugins.jpg”); }

9 WordPress Plugins to Improve Images Performance

One of the main reason behind the popularity of WordPress is its repository of plugins. You’ve got a… Read more


Jetpack, the multi-module plugin from Automattic, provides numerous features for multisite installations. What makes it interesting is that it protects your sites from brute force attacks and also monitors the uptime of your websites for free. Moreover, you can also configure 2-factor authentication for your users, and check stats and analytics in a single panel.

Jetpack's security features

With Jetpack, you can also avail of its content creation and optimization toolsincluding an image CDN, simple embeds, carousels, slideshows, extra widgets, etc., and discussion tools like email subscriptions, social login, and many more.

WP Multisite Content Copier

A quite handy plugin to manage content on your WordPress site installation. It allows you to copy or update from one site to the other sites (sub-sites). The plugin supports all kinds of post types in WordPress, including the post, page, terms like the category and tag, media, and can perform a single copy of it or in bulk.

Multilingual Press

MultilingualPress takes WordPress multilingual content quite differently. Instead of creating new fields or meta, it works with sub-sites in WordPress Multisite. You can create a sub-site, set the locale language for the site, and associate the website and the content with the ones from the other sites.

The plugin does not lock you in since it does not create custom fields for the content. When you deactivated the plugin, your content will still be there. It’s a pretty smart way to manage multilanguage content.

MultilingualPress setting page.

Delete Me

Managing users across multiple WordPress sites can be a tedious task. This plugin may give you a little convenience on that by adding the ability for the users to delete their accounts themselves. It’s also shipped with plenty of settings. You can enable it Network Wide, which will allow you to remove the user in all the subsites, enable it for a specific user role, and customize the email confirmation as well as the authentication.

Multisite Toolbar Additions

This plugin adds an additional menu to the WordPress Multisite admin bar, as we can see below. It’s like shortcuts. Instead of clicking several steps, you can click once to get there immediately. These can help you to save quite an amount of time when managing the site on the dashboard.

Multisite Enhancements

This plugin improves the dashboard’s network area for super admins with more info and quick utilities. These include adding useful items to ‘Network Admin’ admin bar, stating sites are having a particular plugin or theme enables, etc.

You can even change the footer texts to get stats on RAM, SQL, etc. Not only these, but this plugin also helps you to remove the WordPress logo from the admin bar and add favicon beside site name in the admin area, helping you to identify any site quickly. Though these may seem small improvements, I bet they can save you a few minutes a day.

Improvements on Plugins page by Multisite Enhancements

WP Super Cache

This popular caching plugin generates static HTML files for your WordPress blog’s PHP scripts, and then after, your web server serves static files. WP Super Cache is backed by the Automattic team and provides multisite support, meaning you can install it on a multisite network and configure its settings, and it speeds up every site on your network.

WP Super Cache is a caching plugin

It provides various options to do the same, and you can also enable or disable caching per sub-blog on your multisite network. And that means your website will have better page loading speeds, and that also means better search page rankings.

Yoast SEO

Yoast SEO improves your site’s SEO from all required aspects. It enables you to prepare your posts for search engines, including optimizing the use of focus keyword, optimizing the post’s meta information. The plugin is multisite compatible, and it’s even possible to configure a set of default settings for all blogs on the network.

Snippet of Yoast SEO on 'Edit post' page

Using its snippet preview, you can determine how your post will look in the search results, and also edit its meta title and description. The plugin helps you to improve your site’s ranking in search result pages, and increase the click-through rate for organic results.


This plugin helps to save and store your WordPress installation in full, including the “wp-content” directory. And in the case of an emergency or data loss, you can easily restore everything with a single .zip backup file. The plugin being multisite compatible, you can take backups of the whole network, or any sub-blog without any hassle.

BackWPup enables WordPress backups

As a requirement, the plugin does enable you to store the backup to a cloud drive to prevent file loss or damage. That being said, you can also push the backups to an external backup or storage service like Dropbox, S3, FTP, etc. Moreover, the plugin does additional optimization tasks optimizing and repairing databases, etc.

WP Security Audit Log

WP Security Audit Log is a comprehensive audit log and user monitoring plugin that keeps a record of all activities occurring on a multisite network. Using this plugin and checking its notifications, you can track suspicious activities and prevent security issues.

WP Security Audit Log's log viewer

Not only this, you can even monitor user activities, .e.g, when someone logs in or out from their dashboard, when a new user is created, etc. You can think it like a security camera in your office that tries to protect things and records video to check on thieves.

Settings of Multisite Cloner

Of course, you can later deactivate or delete a clone same as you can do with any other sub-blog on a multisite network. Though it works as expected, yet it misses a feature, using which I could specify which all things (posts, plugins, etc.) should be cloned.

User Role Editor

User Role Editor lets you change the roles of users, excluding the administrator, of course. You can simply edit user roles and assign them capabilities per their responsibilities, e.g., a writer must have “create_posts” and an editor must have “publish_posts” capabilities.

Edit roles & capabilities using User Role Editor

Apart from that, you can create and delete the self-made roles for users having restricted or mixed types of capabilities. Moreover, as a bonus feature, you can also remove the unnecessary roles left behind after uninstalling other plugins.

User Switching

With the User Switching plugin, you can instantly switch user accounts by quickly logging in and out as your preferred user. The switching process is entirely secure, and only super admins can do this on multisite installs. This plugin uses the cookie authentication system while remembering the accounts, thus also prevents leaking passwords.

Switch user accounts with User Switching

Then after, you can quickly swap back to your super admin account with a single click using the “Switch back” link on the dashboard screen or in the profile menu. That being said, this plugin is great for test environments where you need to log in and out between different accounts, e.g., if you wish to test a user role’s capabilities set by the above plugin.


This plugin shows a list of inactivated user registrations, wherein you will be given the option to resend the original activation email, or you can also manually activate those users. It helps you catch false registrations and resend emails for genuine registrations that may have been caught by spam filters.

Unconfirmed lets you resend activation emails

Multisite Language Switcher

This plugin adds multilingual support to a multisite network’s blogs, and thus, enables you to manage translations of posts, pages, tags, categories, and custom taxonomies. That means, using this plugin, you can easily translate your blogs and reach out to more people who will like to read your blog posts or reach to you in a new language.

Options page of Multiple Language Switcher

Multisite Robots.txt Manager

This plugin helps you manage all robots.txt files for all sub-blogs on a WordPress Multisite network. You can create unique robots.txt files for individual websites, and amazingly, this plugin also allows you to mass update all the sites in the network. You can even scan and clean the old robots.txt files across blogs of the multisite network.

Settings of Multisite Robots.txt Manager

Wrapping up

I always suggest to install as less WordPress plugins as required or possible, and this post is no exception. And although I feel all above plugins are useful for a multisite network, but let me tell you that even I have not installed all of them on my network.

Happy administering, and remember, less plugins means more performance and security.

The post 5 Essential Plugins to Manage Multiple WordPress Sites appeared first on Hongkiat.

20+ “Coming Soon” Templates Worth Waiting For

Your website’s ‘coming soon’ page can tell a lot about your upcoming product or service. There are so many ways to make an enticing coming soon page – you can play with graphical elements, show countdown to the launch of new website and even give some hints about your new product.

To make it easy for you, here are some interesting coming soon page templates both free and premium. You can use these templates as they are or customize them according to your brand’s theme. Let’s take a look.



Source: Uldeck – License: Free Personal License


Source: Jatin Aggarwal – License: Paid Commercial License


Source: MONUiXD – License: Free Personal License


Source: Raghul Kuduva – License: Free Personal License


Source: Ali Ckreative – License: Paid Commercial License


Source: Faizur Rehman – License: Free Personal License


Source: Kanika Aggarwal – License: xxxx


Source: Creative Tim – License: Free Download


Source: Eftakher Alam – License: Free Download


Source: Style Shout – License: Free Personal and Commercial Use


Source: Anli – License: Free Personal and Commercial Use


Source: Download Website Templates – License: Free Download




Source: earthquake


Source: Demux


Source: CapitalTemplate2


Source: earthquake


Source: Faizur Rehman


Source: mivfx


Source: ex-nihilo


Source: Erilisdesign


Source: Madeon08


Source: Pixininja


Source: Madeon08


Source: mivfx


Source: InovatikThemes


Source: Erilisdesign


Source: Smarty-Themes


Source: mivfx


Source: CreaboxThemes


Source: Madeon08


Source: Multia-Themes


Source: Erilisdesign


Source: Avanzare


Source: DazeinCreative




Source: themeelite


Source: ex-nihilo


The post 20+ “Coming Soon” Templates Worth Waiting For appeared first on Hongkiat.

How to Register Custom Taxonomy For WordPress Users

The Custom Taxonomy feature has been introduced since WordPress 2.9. It allows you to create custom groups for Post, Page as well as Custom Post Types.

Say that you are building a book directory website, and you have created a Custom Post Type for posting the Books. By using Custom Taxonomy, you can create a custom taxonomy for it, called Genre. Within this Genre taxonomy, you can create a number of items (which technically is called terms) such as Fiction, Kids, or Biography for grouping the Books.

Unfortunately, at this point, we can’t register Custom Taxonomy to Users; at least not in a straightforward way as we would register it in the other Post Types. One perfect application that we could foresee from this idea is that we can use it to assign additional user attributes, such as their occupation, profession or organizational position, in place of registering a new set of User Roles. It also opens the possibility to query the users based upon the assigned taxonomy terms.

If this idea is something that may benefit your website, take a look at this tip.

Getting Started

First, we will install a plugin named User Taxonomies to simplify our job.

Once the plugin is activated. Go to GenerateWP to generate the Taxonomy codes. Put the code output in the functions.php file of your theme. This code snippet below is an example. Though, it has been stripped out to make this article look shorter. You can follow this link to see the full code.

 if ( ! function_exists( 'user_staff_position' ) ) { function user_staff_position() { register_taxonomy( 'staff_position', 'post', $args ); } add_action( 'init', 'user_staff_position', 0 ); } 

Now, change the Post Type parameter in the following line:

 register_taxonomy( 'staff_position', 'post', $args ); 

…from post to user, like so:

 register_taxonomy( 'staff_position', 'user', $args ); 

Now, go to the WP-Admin, and you should find a new menu added under the Users menu, as seen below.

new user menu
Assigning the Custom Taxonomy

Navigate to the new menu and create a few terms. For this example, we created two items: CEO and Managers.

create user tax

Then go to user editing screen and assign one item from the taxonomy to the user.

user select tax

Query the Users

We are going to display the users in the theme based on the given term (of the taxonomy). But before going further, let’s create a new page template. We are going add the codes throughout the following section within this new template.

In this particular case, we won’t be able to query the users with get_users or WP_User_Query; when you create a new WP_User_Query class, it does not output the Custom Taxonomy that is assigned to the users. Justin Tadlock, in his tutorial, shows us how to use the get_objects_in_term function, instead.

This function outputs the object ID (which in our case the object means the user) that are tied with the term. To use it, we need two parameters: the Term ID and the Taxonomy name. You can spot the Term ID at the Browser URL bar when you edit it as shown below.

term id

Once you’ve found the ID, put it within the function, like so.

 $users = get_objects_in_term(3, 'user_position'); 

You can use var_dump() to display the object IDs that have been retrieved; In my case, it returns the users with the ID of 1 and 3.

user object id

Using these IDs, we can also retrieve, for example, the user name and avatar.

 <ul> <?php if ( !empty( $users ) ) : ?> <?php foreach ( $users as $id ) : ?> <li class="user-entry"> <figure><?php echo get_avatar( get_the_author_meta('email', $id), '40' ); ?></figure> <h5 class="user-title"><a href="<?php echo esc_url( get_author_posts_url( $id ) ); ?>"><?php the_author_meta( 'display_name', $id ); ?></a></h5> </li> <?php endforeach; ?> <?php endif; ?> </ul> 

…and, finally, here is the result.

query result

That’s it. You can freely modify the above codes to meet your requirement.

The post How to Register Custom Taxonomy For WordPress Users appeared first on Hongkiat.

10 Tips to Hardening WordPress Security

If you are running a WordPress-powered website, its security should be your primary concern. In most cases, WordPress blogs are compromised because their core files and/or plugin are outdated; outdated files are traceable and it’s an open invitation to hackers.

How to keep you blog away from the bad guys for good? For starters, make sure you are always updated with the latest version of WordPress. But there’s more. In today’s post, I’ll like to share with you some useful plugins as well as some tips to harden your WordPress security.

1. Changing Default “wp_” Prefixes

Your website might be at stake for some vulnerabilities (e.g. SQL Injection) if you are using the predictable wp_ prefixes in your database tables. The following tutorial teaches you how to get them changed via phpMyAdmin in 5 easy steps.

2. Hide login error messages

Error login messages may expose and give hackers an idea if they’ve gotten username correct/incorrect, vice versa. It is wise to hide it from unauthorized login.

To hide login error messages, you can simply put the following code in functions.php

add_filter( 'login_errors', '__return_false' );

3. Keep wp-admin Directory Protected

Keeping “wp-admin” folder protected adds an extra layer of protection. Whoever attempts to access files or directory after “wp-admin” will be prompt to login. Protecting your “wp-admin” folder with login and password can be done in several ways:

  • WordPress plugin – Using the WordPress HTTP Auth.
  • cPanel – If your hosting supports cPanel admin login, you can set protection easily on any folder via cPanel’s Password Protect Directories graphical user interface. Find out more from this tutorial.
  • .htaccess + htpasswd – Creating a password-protected folder can also be done easily by setting the folders you want to protect inside .htaccess and users allowed to access inside .htpasswd. The following tutorial shows you how to do it in 7 steps.

4. Maintaining Backups

Keeping backup copies of your entire WordPress blog is as important as keeping the site safe from hackers. If all fails, at least you still have the clean backup files to revert. There are two types of backup practice: Full Backup and Incremental backup.

The “full backup” will include everything within the site including the files and database when creating the backup. This method it’ll take space more than necessary, and may cause a spike on CPU and disk usage when performing the backup. So it’s not quite recommended if your site got limited resources.

The “incremental” backup on the other hand will take the full only the first time and will only take backup of the recently changed items thus more efficient. Today there are a number of options for this type of backups in WordPress with a fair amount of fees such as VaultPress and WP Time Capsule.

Furthermore, we’ve also previously covered a list of solutions to backup your WordPress files and database, including both useful plugins and backup services.

5. Prevent Directory Browsing

Another big security loophole is having your directories and its files exposed, and accessible to public. Here’s a simple test to check if your WordPress directories are well protected:

  • Enter the following URL in browser, without the quotes. “http://www.domain.com/wp-includes/

If it shows blank or redirect you back to home page, you are safe. However, if you see screen similar to the image below, you are not.

protect directory

To prevent access to all directories, place this code inside your .htaccess file.

 # Prevent folder browsing. Options All -Indexes

If your site running on nginx, you can add the following instead.

autoindex off;

6. Keep WordPress Core Files & Plugins updated

One of the safest ways to keep your WordPress site safe is to make sure your files are always updated to the latest release. Fortunately, WordPress today comes with an automatic update turned-on, so as soon as there’s a security patch available, your site should be immediately updated. Just make sure that you or your developer did not have it turned off.

7. Pick a Strong Password

WordPress now comes with a strong password suggestion field that looks like below when creating a new account or updating to a new password. It will indicate whether your password is Strong or Weak. You should pick the Strong password for sure. But the downside of having a strong password is that it’s not easily memorizeable. That’s why I recommend to have a password manager like 1Password or LastPass

8. Remove Admin User

A typical installation of WordPress comes with a default user named “admin”. If that’s the username to your WordPress site, you are already making hacker’s life 50% easier. Using user “admin” should be avoided at all times.

A safer approach to logging into your admin securely is to create a new administrator and have “admin” removed. And here’s how you do it:

  1. Login to WordPress admin panel
  2. Go to Users -> Add New
  3. Add a new user with Administrator role, make sure you use a strong password.
  4. Log out of WordPress, re-login with your new admin user.
  5. Go to Users
  6. Remove “admin” user
  7. If “admin” have posts, remember to attribute all posts and links back to the new user.

9. Disable XMLRPC

XMLRPC in WordPress is a common entry point of attack in WordPress. So it’s always good idea to disable it when your site does not require XMLRPC. You can restrict XMLRPC endpoint to certain IPs in case it’s needed, for example:

<Files xmlrpc.php> order deny,allow allow from deny from all
 location = /xmlrpc.php { allow; deny all; access_log off; } 

10. Add HTTP Security Headers

Adding HTTP security headers will add extra security layer to your site which helps to mitigate certain attacks. The headers will intruct the browser to behave on certain direction set in the headers. For example, the X-Frame-Options will allow you whether your site can be embedded within an iframe. Other type of Headers you can add include: X-XSS-Protection, Strict-Transport-Security, X-Content-Type-Options, Content-Security-Policy, and Referrer-Policy.

 Header always append X-Frame-Options DENY Header set X-XSS-Protection "1; mode=block" Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" Header set X-Content-Type-Options nosniff Header set Content-Security-Policy "default-src 'self';" Header set Referrer-Policy "no-referrer" 
 add_header X-XSS-Protection "1; mode=block"; add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload'; add_header X-Frame-Options "DENY"; add_header X-Content-Type-Options nosniff; add_header Content-Security-Policy "default-src 'self';"; add_header Referrer-Policy same-origin; 

To add these headers, you might need to reach out to the hosting company where your site is hosted.

Bonus: Subscribe to WPVulnDB

Last but not least, you might want to stay on top of the latest exposed vulnerabilities in WordPress Core, Plugins, and Themes by subscribing to WPVulnDB. It describes what type vulnerability, what it is, what version is affected, and whether it’s already fixed.

If you find one of your plugins, you’re using are on the report, you should can take immediate action to mitigate it and update the plugins when the fix is available immediately.

The post 10 Tips to Hardening WordPress Security appeared first on Hongkiat.

10 WordPress Plugins to Harden Website’s Security

You created a website on WordPress, selected a reliable hosting for it, and added a beautiful theme. However, like all other aspects, security of your website is also of utmost importance. Even though WordPress has some security features built-in, but the type of threats a website is vulnurable to, you need some special plugins.

This post will list some of the best plugins to harden the security on your website and keep it safe from malacious attacks. Let’s take a look.


Login Lockdown can help to mitigate your site from a brute force attack. The plugin will record the IP address and timestamp on every failed login attempt. If it detects multiple failed attempts on a certain period of time from the same IP address, it will disable all the requests from that address for an hour. You can set the length of the lockdown from the Settings page of the plugin.

wordpress login lockdown
WP-DB Manager

Part of a security measure is having a backup, especially a database backup which contains all the data (e.g. content, users, and options) on your website. WP-DB-Manager is a handy plugin that allows you to do just that easily. It can backup the database, restore it as well set an automatic scheduled backup.

wordpress db manager

The Antivirus plugin works similar to an antivirus installed on your computer. It’ll scan exploits, malware, and spam injections within the files as well as the database on your site. The scan can be initiated manually to select files or run daily. The plugin will notify you when it finds any malicious codes to your email address.

Bear in mind though, that the plugin may cause a performance degradation depending on the number of files it has to scan and the specification of the server on which the site runs.

wordpress antivirus
Bad Behavior

Bad Behavior is the plugin which helps you fight with those annoying spammers. The plugin will not only help you prevent spam messages on your blog, but also will try to limit access to your blog, so they won’t be able even to read it.

wordpress bad behaviour
User Spam Remover

User Spam Remover can automatically remove spam, old, or never-used accounts. It also creates a backup of all the user account that it deletes so that you can easily restore it if needed. It is a handy tool if your site manages multiple users with open registration.

user spam remover
Block Bad Queries

This plugin attempts to block away all malicious queries attempted on your server and WordPress blog.

It works in the background, checking for excessively long request strings (i.e., greater than 255 chars), as well as the presence of either “eval(“ or “base64” in the request URI.

block bad queries
iThemes Security

iThemes Security makes it easy to implement general security patches to your WordPress site installation.

With the plugin, you can change the table prefix, enable 2FA with Google Authenticator, Google ReCaptcha, User Action Logging, and a lot more. It’s an all-in-one WordPress security plugin.

ithemes security

Defender also comes with several security features that you can enable on your site such as Hide error reporting, Disabling file editor, and changing the table prefix. It also provides some low-level security recommendations of your server.

wordpress defender

Jetpack does many things including some security features such as Monitoring which allows you to monitor whether your site is up or down, Single Sign-on which is powered by WordPress.com to allow users using their WordPress.com account, and Brute-force protection.

wordpress jetpack
Security Headers

Adding some Headers Response will add extra layers of security to your site. The Headers will direct on how should the browsers to behave when they render your website.

A few of the Headers we are seeing here include the Strict-Transport-Security header will enforce the browsers to load your site through HTTPS, X-Frame-Options, and X-XSS-Protection. This plugin makes it easier to add these headers on your site without the need to have access to your server.

The post 10 WordPress Plugins to Harden Website’s Security appeared first on Hongkiat.

60+ Most Wanted WordPress Tricks and Hacks (Updated)

Have you ever came across a WordPress blog, saw something you liked, and thought; how they did that, is that a plugin or hack? where can I get those cool mods? etc. Well, you’re not alone in thinking like that. Most WordPress users are always looking or some new ways to optimize their experience.

Keeping this in mind, we created this article by asking WordPress blog owners what kind of hacks and plugins they frequently look for to enhance their blog in any aspect. And here’s our outcome – 60+ most wanted WordPress tips, tricks and tweaks, including those you probably don’t even know the keywords to search for. Let’s take a look at the content.

Useful plugins you should know…

Revert Plugins or Themes to Previous Version (Easily)

As with any other system update, there is a chance that a new plugin or theme update may accidentally screw up your website. WordPress does not allow us to revert to the previous version but you can install this plugin WP-Rollback to get that functionality. Once it is activated it will add a link “Rollback” on any installed plugin.

wordpress rollback
Text Editor SyntaxHighlighter

The WordPress text-mode editor is pretty plain. You can make it more user-friendly by installing HTML Editor SyntaxHighlighter, a plugin that adds syntax coloring like in a code editor. It will make editing a lot easier, especially if you use Text-mode editor more often than the Visual (WYSIWYG) counterpart.

wordpress syntax highlight
Install Plugin with Single Click

For more plugin management, you could install WP-Core. This is a plugin that makes WordPress plugin installations more streamlined. You can also makes a Collection to put several plugins together and install them with one click.

one click install
Show Disk Usage Chart

Install this plugin Disk Usage Sunburst to display a beautiful visualization, similar to DaisyDisk, of your website disk space usage. A quite useful utility to add to your website.

Add Gravatar for post author

Showing an avatar image is one way to get recognized online. With Gravatar be part of the WordPress Core, we can easily show an avatar within your theme from your Gravatar account very easily. This article from ThemeShaper will show you how.

Using custom page as homepage

WordPress will display a list of posts on the home page. But did you know that you can select a specific page to show static content and use other page to show the list of Posts.

Create and display thumbnails for each blog post

This article shows you how to show featured image on your post using the WordPress built-in post thumbnail feature. It’s so easy now to do this. No more hacking around with old ways like TimThumb or hacknig around with the custom field.

Create and display category image

Even so now you can easily show a catgory image the WordPress way. Simply use this plugin called WP Term Images.

Protect CSS mods for any WordPress theme

Let’s learn how you can add a custom CSS on your theme without having to worry that it’ll be overriden.

Open links in new windows by default

It might be a good idea to open up all links of external sites in a new window, by default. This will allow your users to navigate both your site and the external site at the same. In other words, users will stay longer on your site.

open links external default
WordPress thumbnail size limit

If you’re ever frustratted by your author uploading a blurry or too small of a featured image, this is the perfect plugin for you. Use this plugin to set the minimum height and with that they should be uploading.

min thumb size
Seperate comments from Trackbacks/Pingbacks

WordPress shows both comments and trackbacks and pingbacks in the order of when they are posted. Let’s tidy them up by separating them in a different section.

Creating an Archive Index

Learn how to create a special page in WordPress showing links to all your previous posts arranged in yearly or monthly order.

Custom login page

Creating a beautiful WordPress login page gets so much easier with this plugin. You can pick color, background, and it’s position. It just works and no need to code.

custom login page
Post text and image count

A clever way to count images in your post but leaving the default WordPress smilies out (which is also technically an image), and display the number.

Place content only in RSS Feed

Place additional content in the RSS feed, but not in the content in the website itself. You could use it to place, for example, a copyright notice on your content.

Adding Tabs to Content

Organize your content with Tabs using this plugin. Using Tab is perfect way to show more content in very little or limited space.

tab content in wordpress
Sidebar With Dynamic Contents

Sidebar often is boring as they look the same in every pages. Let’s learn how to show different content in the sidebar.

Google Syntax Highlighter for WordPress

With this plugin, you can add proper syntax colors to the code block in the content, and let your users to copy the code easily.

syntax highlight wordpress
Add Breadcrumbs to Your WordPress Blog

Breadcrumb navigation is good for both SEO and your users. Use this plugin to add one on your site.

Buy Me a Beer

Add a Paypal button to your site to let your users send a donation. The plugin makes it very easy to add the button any where in your site and change the styles of the button to match your liking.

wordpress donate button
Detect Adblocker and display alternative

Display a notice for usrs with AdBlocker. A handy plugin to optimize your ad-based revenue on your site.

Alternative way to display dates

Format the timestamp on Posts or Comments that’s easy to read and understand. For example, we can show Yesterday or 2 Days Ago instead of 17th August 2019.

Check for Broken Links

Broken can be irritating. Use this plugin to check broken links on every Posts on your site.

Display Thumbnails for Related Post

Ever wonder how to add related posts right after the main content? In WordPress, adding related posts along with the image thumbnail is easy with this plugin.

related post thumbs
WordPress Plugin Download Counter

Do you have plugin plublished in WordPress.org repository? Here’s the script if you’d like to show the number of downloads the your plugin has got.

Here’s more…

Disabling Full-Height Editor

WordPress 4.0 added a subtle UX change in the editor. If you are scrolling or writing a length paragraph, the height of the editor will match the height of your screen, eliminating the scroll-bars inside the editor.

To reach some panels like the Excerpt and Custom Fields that reside below the editor, you need to scroll all the way down through the end of paragraph. If you don’t want this, tick the option off in the Screen Options panel.

Note: If you’re enabling the block editor a.k.a the Gutenberg, this tip is no longer applicable because WordPress has changed the entire editor interface.

Adding Icon in Menu

Follow this tip to add icon beside your website menu items giving your menu navigation more visual appeal.

Install WordPress Plugin via Github

Did you find a WordPress plugin in Github that you want to install in your website? Follow this tip on how to install plugins conveniently with just a few clicks. Be careful though of what you install as plugins are not moderated. There may be a chance that malicious codes may allow infiltration of your website.

And finally…

Beyond this point are advanced tips and tricks for those who feel like exploring, and those who enjoy getting their hands dirty with codes. However, many of the following tips may render your website unusable, hence they should be carried out with more attention and with extra caution.

WordPress Output Debug File

This snippet will tell WordPress to save the debug log error in a .log file instead of displaying it in the front-end. A handy snippet to enable WordPress debugging in a live site.

 define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
Using Jetpack Modules – Offline

Run and enable all Jetpack modules offline including the modules that actually requires you to connect to WordPress.com to work; a useful tip if you are developing and integrating Jetpack modules to your theme.

Disable self-ping / self-trackback

This trick prevents WordPress from self-ping, which happens if you cross-link pages or posts of your own website.

 function no_self_ping( &$links ) { $home = get_option( 'home' ); foreach ( $links as $l => $link ) if ( 0 === strpos( $link, $home ) ) unset($links[$l]); } add_action( 'pre_ping', 'no_self_ping' );

Another way you can use is by installing Disabler plugin. It is a plugin that allows you to turn on or off certain WordPress functionality including disabling self-ping.

Pre-Populate Content

This tip is quite useful if you want to add default content each time you create a new post, page, or custom post type content; the idea is similar to adding a standard signature when creating new emails.

Custom Class for Post

The following tip explores some customization of WordPress Post Class thoroughly with post_class. It’s helpful if you want to be more specific with regards to your post styles.

Loading Alternative Template

WordPress uses single.php to show post content. If you want to change it to, perhaps, post.php, this tip will show you how to override default WordPress templates correctly.

WordPress Theme Customizer from Scratch

WordPress 3.4 adds a new API called Customizer which allows you to build controls to customize theme and see the result in real-time. The Customizer API may be overwhleming for some, though, as it involves multi-disciplinary code sets including PHP, JavaScript, Ajax, and jQuery.

Nonetheless, Theme Foundation has compiled a complete guide to WordPress Customizer. You will learn how to add the Customize menu, build Sections, Settings, Input Controls as well as Panels, and learn their functions all together – in and out. An essential reference for WordPress theme developers.

Using Vagrant with WordPress

Vagrant is a great tool to create a virtual environment, and to run a test of your WordPress development to ensure that themes and plugins would work in varying instances. In this following tip, Daniel Pataki, will walk you through how to get your WordPress site up and running with Vagrant.

Retrieving WordPress Gravatar URL

The WordPress get_avatar() is a handy function to get a user’s avatar; the function retrieves the image along with the img element. But sometimes I want to grab just the image URL so that I could freely and easily add custom classes or ids to the image.

If you have this in mind, add the following code in your functions.php:

 function get_avatar_img_url() { $user_email = get_the_author_meta( 'user_email' ); $url = 'http://gravatar.com/avatar/' . md5( $user_email ); $url = add_query_arg( array( 's' => 80, 'd' => 'mm', ), $url ); return esc_url_raw( $url ); }

Then somewhere in another file – perhaps single.php or page.php – use the following code to show the image.

 $avatar_url = get_avatar_img_url(); echo '<img src=" ' . $avatar_url . ' ">'; 

Here’s a more detailed post to break it down for you.

Remove Classes From Menu

WordPress, by default, adds a bunch of classes. While this is good to allow extensive customization, the menu HTML markup looks really cluttered. Tidy it up and add only the class you need with the snippet below.

Applying SSL In WordPress Multisite

SSL, not only secures your website, but also bumps up the rankings in Google search result. In the following tip, Jenni McKinnon covers how to deploy SSL in WordPress multisites that may employ multiple sub-domains.

Customizing WordPress Content Editor

Adding styles to the editor will improve the writing experience in WordPress editor. You can match the typographic styles of the backend with the front-end allowing you to see the final version (or a version as close to the final as possible) while writing. This will reduce the switching of back and forth between the editor and the content output.

 function my_editor_styles() { add_editor_style( 'editor-style.css' ); } add_action( 'admin_init', 'my_editor_styles' ); 
Creating Plugin Welcome Screen

If you have just updated WordPress you will be redirected to a special screen, showing the details of the latest version you have just installed, the contributors, the additions as well as all the changes made under the hood. This tip, Creating a Welcome Screen For Your WordPress Plugin by Daniel Pataki will guide you through how to build a welcome screen for your own plugin.

Customize Jetpack Mobile Theme

Jetpack comes with a Mobile Theme. It is a special theme that is used when the website is viewed on mobile devices. And like any other theme, we can customize it. Here’s a how-to by Jeremy, one of Jetpack developers, on how to customize the Jetpack Mobile Theme. It’s a good alternative to consider in place of responsive web design.

Adding Featured Image To Category

Want to add a featured image for a Category and display it in your theme? This feature is missing from WordPress, which could actually be useful for theme developers.

Display Hidden “All Settings”

A WordPress easter egg, this code snippet will add all settings in the WordPress database into one page.

Remove Update Notification

WordPress, by default, display update notifications to all user levels when they are logged in to the backend. Add the following codes to hide WordPress update notification except for users with Administrative privilege.

Add Thumbnail In Post/Page Edit List

This code will display featured images you have assigned to post in the Post column. A useful trick to see which post has a thumbnail and which does not. Note that your theme should support post thumbnails.

Sharpening Images

Honestly, I did not know that we could sharpen images in WordPress as we are uploading the image. Here’s how you can, but bear in mind that it only works for JPG images.

Remove Superfluous info In The Head

WordPress adds a bunch of things in the <head> such as WordPress version, RSD Link, and Shortlink, info that’s not all that useful. To remove these bits of info, use this:

 function remove_header_info() { remove_action( 'wp_head', 'rsd_link' ); remove_action( 'wp_head', 'wlwmanifest_link' ); remove_action( 'wp_head', 'wp_generator' ); remove_action( 'wp_head', 'start_post_rel_link' ); remove_action( 'wp_head', 'index_rel_link' ); remove_action( 'wp_head', 'adjacent_posts_rel_link' ); // for WordPress < 3.0 remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' ); // for WordPress >= 3.0 } add_action( 'init', 'remove_header_info' );

Remove either one of remove_action from the above snippet of which you want to retain.

Smart WP_Debug

Ideally you should not enable the WP_Debug in a live site as it will expose critical information. But if you need a trick to do so safely, here it is:

 if ( isset($_GET['debug']) && $_GET['debug'] == '1' ) { // enable the reporting of notices during development - E_ALL define('WP_DEBUG', true); } elseif ( isset($_GET['debug']) && $_GET['debug'] == '2' ) { // must be true for WP_DEBUG_DISPLAY to work define('WP_DEBUG', true); // force the display of errors define('WP_DEBUG_DISPLAY', true); } elseif ( isset($_GET['debug']) && $_GET['debug'] == '3' ) { // must be true for WP_DEBUG_LOG to work define('WP_DEBUG', true); // log errors to debug.log in the wp-content directory define('WP_DEBUG_LOG', true); }

With the above code added, you can enable debugging by adding ?debug=2, ?debug=1, ?debug=3 at the end of the URL to see the error that occurs in your website.

Enable Shortcode In Widget

The following is a useful piece of code if you want to embed Youtube or SoundCloud in the widget area with a shortcode.

Set Default Editor (Visual/Text)

Set the default type of editor your users can use. Change the $editor either to html or tinymce. Of course, user would still be able to opt out of the default.

Prolong Auto-logout

WordPress allows one to remain logged in for 48 hours, plus an extension of 14 days if we check the “Remember Me” option at login. If however you are sure your computer will not be breached by a second or third party, you can add this code to keep yourself logged in for up to a year. You will only be prompted for a login once a year.

Always Use Figure

WordPress will wrap img with a p tag. If you are an HTML semantic purist, you can add this code to force WordPress to wrap image with the figure element.

Change Default Role Name

“Administrator”, “Author”, and “Subscriber” are the names given for WordPress users at the administrative level. To change these default names to something that sounds more apt for your website, add the following code, then make the change to the names to what you prefer:

Default Attachment Settings

Here’s a snippet that lets you specify the default size, alignment, and the link for images you want to embed in the editor.

Custom Image Size In Media Uploader

add_image_size is the WordPress function that allows us to crop and display custom image size. If you want to allow users to add image within this custom size, add the following codes to show the “custom image size” option in the WordPress media uploader.

Load Script Only If A Particular Shortcode Is Present

In a previous post we have shown you how to create a custom shortcode. If your shortcode requires a JavaScript function, follow The Jedi Master way by Silviu-Cristian Burcă (famously known as Scribu) to ensure that you only load the JavaScript when the shortcode is applied.

Menu Description

When you add in a menu through Appearance > Menu, you will see an input to add “Description”. But you won’t find it anywhere in the front-end as we have to customize the WordPress default menu template to include the description.

Here is an elegant way to do so.

Using Dashicons

You can now use WordPress’s very own crafted font icon, Dashicons, to add icons to the wp-admin menu. Check out our tutorial on how to start using Dashicons.

Customize “Howdy” Message

Follow our previous tutorial to change the WordPress nonsensical “howdy” message that appears at the admin bar to something more personalized.

Exclude Post From The Jetpack Popular Widget

Jetpack comes with a widget that allows you to show the most viewed or popular posts and pages. But sometimes your most popular pages could be the home page or a page that you do not want to include in the most viewed pile.

Add the following code to remove that page or post:

 function jeherve_remove_post_top_posts( $posts, $post_ids, $count ) { foreach ( $posts as $k => $post ) { if ( '1215' == $post['post_id'] ) { unset( $posts[$k] ); } } return $posts; } add_filter( 'jetpack_widget_get_top_posts', 'jeherve_remove_post_top_posts', 10, 3 );

Replace the ID shown in the snippet with the ID of the post or page you want to remove.

Truncate Post Title

The following snippet controls the maximum title length. Add the following snippet in functions.php. Then use the function customTitle() in the template to output the title in place of the WordPress the_title() method.

 function customTitle($limit) { $title = get_the_title($post->ID); if(strlen($title) > $limit) { $title = substr($title, 0, $limit) . '...'; } echo $title; } 

If you build a WordPress Theme with a tiled layout where the tile height has to be equal, you might want to specify the limit of the title length. This snippet should come in handy in that case.

Remove WordPress Logo

WordPress 3.1 adds an admin bar, which includes a handful of links and the WordPress logo. If you are going to handout websites to a client and you want it to be brandless, here is the function to remove that WordPress logo.

QR Code with Link to Article

Improve your website accessibility for mobile devices with QR codes. This code allows you to display QR codes with a link pointing to the article. Mobile users with a QR code scanner can obtain the article link for quick viewing on their mobile devices.

 <img src="https://api.qrserver.com/v1/create-qr-code/?size=500x500&data=" <?php the_permalink() ?> " alt="QR Code for <?php the_title_attribute(); ?> 

The post 60+ Most Wanted WordPress Tricks and Hacks (Updated) appeared first on Hongkiat.