Tag - wordpress

WordPress Post Revisions Made Simple: A Step by Step Guide (2019)


Did you know that WordPress comes with a built-in feature that allows you to undo changes and go back to a previous version of a post?

This feature is called Post Revisions or simply Revisions.

Most of us make mistakes when writing. Sometimes you might wish that you hadn’t deleted what you wrote earlier. Revisions allow you to fix that by going back in time and undoing the changes.

In this article, we will show you how to easily undo changes in WordPress with post revisions. We will also show you how to easily manage post revisions in WordPress.

Managing the WordPress post revisions

Here is an overview of the topics we’ll cover in this guide:

  • What is post revisions in WordPress
  • Why you should use post revisions
  • How to use post revisions to undo changes in WordPress
  • Limiting post revisions in WordPress
  • How to delete old post revisions in WordPress
  • How to completely disable post revisions in WordPress

What is Post Revisions?

Post revisions is a WordPress feature that allows you to undo changes and go back to an earlier version of your posts and pages.

For each draft you are working on, WordPress automatically saves a temporary revision. This type of revision is called auto-save.

WordPress stores an auto-save every 60 seconds. It also automatically replaces the older version with the new auto-save.

Autosave revisions in WordPress

The autosave feature helps you restore the content if something goes wrong before you can save it. For example, if your browser crashed or your computer hanged while writing, then you can restore your latest draft from the autosave.

WordPress also saves post revisions each time a user clicks on the save, update, or publish button. Unlike auto-saves, these revisions are permanently stored in the WordPress database.

You can locate, browse, and revert back to any of these revisions from the post edit screen.

Why You Should Use Post Revisions

Almost every WordPress user can benefit from post revisions. Writing great content requires a lot of tweaking and edits. Post revisions allow you to see your process and take a bird’s eye view of how your post has evolved.

You can then switch between different states of your draft, make changes, and make your article perfect for publishing.

For multi-author WordPress sites, post revisions allow editors to easily manage the work of multiple authors. You can see who made changes to an article, what changes they made, and so on.

That being said, let’s take a look at how to use post revisions to improve your WordPress posts and pages.

How to use Post Revisions to Undo Changes in WordPress

WordPress displays the number of revisions under the ‘Document’ panel on the post/page edit screen.

You can find that on the right-hand side of your post editor screen. Clicking on the ‘Revisions’ will take you to post revisions screen.

Post revisions in WordPress

The post revision screen will show you the latest revision of the post with a scrollbar on top. Sliding the button on the scroll bar will take you to earlier revisions of the post.

Switching between post revisions

Changes made in each revision will be highlighted in green and pink colors. On the top, you can see the user who made these changes, time, and other information.

WordPress will also let you know if a revision is an autosave or a draft.

Restore autosaves aswell as revisions

You can use the next and previous buttons to move around revisions.

Plus, you can check the box on top that says ‘Compare any two revisions’. Doing so will split the scrollbar button into two, and you can take each button to a different revision and compare the difference between two distant revisions.

Compare any two revisions

To restore a revision, you can simply click on Restore This Revision or Restore This Autosave button.

WordPress will restore the selected revision as your current post revision, and you can then save it as a draft.

Restore revision point

Keep in my mind that restoring to an earlier revision will not delete the latest version of your post. Instead, WordPress will store it in the database as another revision.

Using post revisions with Classic WordPress editor

In case you haven’t upgraded your WordPress to Gutenberg and still using the Classic Editor, then you’ll find the post revisions in the publish meta box on the right panel of the post/page edit screen.

Browsing post revisions in classic editor

To view the post revisions, you can simply click the ‘Browse’ link next to the number of revisions. Apart from this, the post revisions work similarly in both the Classic Editor and Gutenberg.

Limiting Post Revisions in WordPress

All post revisions are stored in your WordPress database. Due to this, many users worry that too many revisions can slow down their websites.

It is not true.

WordPress skips post revisions when making database calls on the front end. It only looks for revisions on the post edit screen, or when you are actually browsing revisions.

You can still control and limit post revisions in WordPress. We’ll show you two different methods to do that you can choose one that best suits you.

1. Limit post revisions in WordPress using plugin

The easiest way to manage WordPress post revisions is by using a plugin. This allows you to control revisions from the WordPress admin area.

First thing you need to do is install and activate the WP Revisions Control plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Writing page and scroll down to WP Revisions Control section.

WP Revisions Control settings

From here you need to enter the number of revisions you want to store for each post type and then click on the ‘Save Changes’ button to store your settings.

WP Revisions Control will now limit the post revisions stored in your WordPress database.

The plugin also allows you to delete revisions for an individual post. Simply edit the post where you want to delete revisions and scroll down below the editor.

Purge revisions

You can limit the revisions for this post only or delete them by clicking on the ‘Purge these revisions’ button.

2. Limit WordPress post revisions manually

WordPress allows you to control how many revisions you want to keep for an article. To limit post revisions, simply add this code to your WordPress site’s wp-config.php file.

define( 'WP_POST_REVISIONS', 10 );

Don’t forget to replace 10 with the number of revisions you want to keep for each post.

How to Delete Old Post Revisions in WordPress

Old post revisions are perfectly harmless, and you don’t need to delete them in most cases. However, if you have a very large website with thousands of articles, then deleting old post revisions can help you reduce backup sizes.

First, you’ll need to install and activate the WP-Optimize plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to WP-Optimize » Database page and check the box next to ‘Clean all post revisions’ option.

Clean post revisions

Now click on the ‘Run optimization’ button to delete all post revisions. You can uninstall the plugin after you have deleted the revisions.

Once you have cleaned up revisions, feel free to uninstall and delete the plugin.

Deleting WordPress post revisions via phpMyAdmin

Advanced users can also delete WordPress posts revisions via phpMyAdmin.

First, make sure that you have created a complete WordPress database backup.

After that, simply login to your WordPress hosting control panel and click on the phpMyAdmin icon.

Next, you need to select your WordPress database from the left column. PhpMyAdmin will now display tables in your WordPress database.

PhpMyAdmin

After that, you need to click on the SQL tab from the top menu.

This will load phpMyAdmin’s SQL interface. From here you can manually run commands on your WordPress database.

You need to enter the following code.

DELETE FROM wp_posts WHERE post_type = "revision";

Don’t forget to replace wp_ with your own WordPress database prefix. After that, click on the Go button to run the command.

Deleting revision via MySQL

PhpMyAdmin will now delete all revisions from your WordPress database.

Note: Deleting revisions will not stop WordPress from saving revisions for your future posts.

How to Completely Disable WordPress Post Revisions

We don’t recommend disabling WordPress post revisions. However, some users may want to disable revisions to reduce their WordPress database size.

The easiest way to do this is by installing Disable Post Revision plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to Settings » Writing page and select the post types where you want to disable revisions feature.

Disable revision plugin

Don’t forget to click on the save changes button to store your settings.

If you don’t want to use the plugin, then you can also do the same thing manually by adding this code to your wp-config.php file.

define('WP_POST_REVISIONS', false );

This code disables WordPress post revisions feature on your website. It will still allow WordPress to save one autosave and one revision in your browser storage.

We hope this article helped you learn how to use WordPress post revisions to undo changes and how to manage post revisions for larger sites. You may also want to see our beginners guide on managing your editorial workflow in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post WordPress Post Revisions Made Simple: A Step by Step Guide (2019) appeared first on WPBeginner.



Source link

How to Disable PHP Execution in Certain WordPress Directories


By default, WordPress makes certain directories writeable so that you and other authorized users on your website can easily upload themes, plugins, images, and videos to your website.

However this capability can be abused if it gets in the wrong hand such as hackers who can use it to upload backdoor access files or malware to your website.

These malicious files are often disguised as core WordPress files. They are mostly written in PHP and can run in the background to gain full access to every aspect of your website.

Sounds scary, right?

Don’t worry there is an easy fix for that. Basically, you’d simply disable PHP execution in certain directories where you don’t need it. Doing so, any PHP files will not run inside those directories.

In this article, we will show you how to disable PHP execution in WordPress using the .htaccess file.

How to Disable PHP Execution in Certain WordPress Directories

Disabling PHP Execution in Certain WordPress Directories Using .htaccess File

Most WordPress sites have a .htaccess file in the root folder. This is a powerful configuration file used to password protect admin area, disable directory browsing, generate SEO friendly URL structure, and more.

By default, the .htaccess file located in your WordPress website’s root folder, but you can also create and use it inside your inner WordPress directories.

To protect your website from backdoor access files, you need to create a .htaccess file and upload it to your site’s /wp-includes/ and /wp-content/uploads/ directories.

Simply create a blank file on your computer by using a text editor like Notepad (TextEdit on Mac). Save the file as .htaccess and paste the following code inside it.

<Files *.php>
deny from all
</Files>

Create htaccess File with Code to Disable PHP

Now save the file on your computer.

Next, you need to upload this file to /wp-includes/ and /wp-content/uploads/ folders on your WordPress hosting server.

You can upload it by using an FTP client or via File Manager app in your hosting account’s cPanel dashboard.

Upload htaccess file to your WordPress site

Once the .htaccess file with the above code is added, it will stop any PHP file to run in these directories.

Using this .htaccess trick helps you harden your WordPress security, but it is not a FIX for an already hacked WordPress site.

Backdoors are cleverly disguised and can already be hidden in plain sight.

If you want to check for possible backdoors on your website, then you need to activate Sucuri on your website.

Sucuri

Sucuri is the best WordPress security plugin on the market. It scans your website for possible threats, suspicious code, malware, and vulnerabilities.

It also effectively blocks most hacking attempts to even reach your website by adding a firewall between your site and suspicious traffic.

Most importantly, if your WordPress site gets hacked, then they will clean it up for you. To learn more, you can check our Sucuri review because we have been using their service for years.

We hope this article helped you to learn how to disable PHP execution in certain WordPress directories to harden your website security. If you are looking for a complete guide, check out our ultimate WordPress security guide.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Disable PHP Execution in Certain WordPress Directories appeared first on WPBeginner.



Source link

25 Most Successful WordPress Businesses and Companies Today


WordPress is one of the best examples of how businesses can thrive in an open source ecosystem. With contributions made by thousands of ingenious developers and entrepreneurs worldwide, WordPress is growing fast by attracting thousands of new users every day.

As of today, WordPress powers more than 34% of all websites on the internet. Many companies make their entire revenue by providing WordPress related products and services. The WordPress business ecosystem generates several billion dollars each year.

Although WordPress itself is free, users need a variety of services to make a website including domain name, web hosting, premium WordPress themes, plugins, maintenance, and more. These are the services top WordPress companies are selling.

In this article, we will highlight some of the most successful WordPress businesses and companies today. Hopefully, this will inspire others to start their own WordPress focused businesses.

Most successful WordPress businesses and companies

1. Automattic

Automattic Most Successful WordPress Company

Founded by WordPress co-founder, Matt Mullenweg, Automattic is the company behind the popular blog hosting service WordPress.com (See the difference between WordPress.com vs self-hosted WordPress.org).

Automattic is also the parent company of several other popular WordPress products and services like WooCommerce, JetPack, Akismet, VaultPress, and Gravatar.

Here are some stats and facts about top Automattic products.

Automattic heavily contributes to open source WordPress.org, bbPress, and BuddyPress projects. In terms of influence, revenue, and the overall user base, Automattic is definitely among the top WordPress businesses and companies.

2. WP Engine

WP Engine - Most Successful Managed WordPress Hosting Company

WP Engine is the most popular managed WordPress hosting company in the market. It offers hassle-free, fast, and secure web hosting service for WordPress sites of all sizes.

Loved by developers, site owners, and venture capital firms, WP Engine is among the fastest growing companies in WordPress.

Here are some important stats and facts about WP Engine.

  • WP Engine is one of the first and most successful companies to offer managed WordPress hosting.
  • It powers more than 500,000 websites online today.
  • Last publicly announced annual revenue was over $132 million ARR.

Besides hosting services, WP Engine is also the parent company of popular WordPress design and theme company StudioPress (acquired in 2018), and Torque WordPress blog.

WP Engine hosting plans come with the popular Genesis design framework and 35+ premium themes worth $2000 by StudioPress for free.

3. Awesome Motive

Awesome Motive - Most Influential WordPress Business

Awesome Motive is the parent company of WPBeginner, the largest free WordPress resource site. WPBeginner features the most beginner-friendly tutorials and guides for WordPress.

Founded by Syed Balkhi, the company sells several WordPress related products like WPForms, MonsterInsights, SeedProd and the best-selling lead generation software OptinMonster.

Here are some important stats and facts about Awesome Motive and their products:

  • Over 9 million websites use their software and training videos for growth.
  • Their products WPForms and MonsterInsights are among the most popular WordPress plugins ever built (over 2 million active installs for each).
  • OptinMonster is the #1 most powerful lead generation software which is used by over 700,000 websites.

Besides, it runs IsitWP, a WordPress technology lookup tool and blog, and other free plugins like Insert Headers and Footers.

4. Yoast

Yoast - Most Successful WordPress SEO Company

Started by Joost de Valk, Yoast is the most successful WordPress SEO (Search Engine Optimization) business. It provides a full package of SEO products and services, helping millions of users with the optimization of their WordPress sites.

Yoast is the company behind the immensely popular WordPress SEO by Yoast plugin. In addition to their standard SEO plugin, they offer many related SEO plugins like Local SEO, Video SEO, News SEO, WooCommerce SEO, and other plugins like Yoast Comment Hacks, SlideShare for WordPress, etc.

Here are some important stats and facts about Yoast and their products.

  • Yoast SEO is undoubtedly the #1 WordPress SEO plugin with over 5 million active installations.
  • They help thousands of people learn SEO via Yoast Academy’s online SEO training.

Yoast also offers website SEO, conversion reviews, and auditing services. Their client lists include some of the world’s biggest brands.

5. Envato

Envato - Most Popular WordPress Theme and Plugin Marketplace

Envato runs the popular marketplace websites ThemeForest and CodeCanyon. These are probably the second most popular destination for WordPress themes and plugins.

Despite the license controversies in the past, Envato is one of the most influential WordPress businesses today.

Here’re some important stats and facts about Envato and their products.

  • Envato’s theme marketplace ThemeForest features more than 11,000 premium WordPress themes by third-party theme authors worldwide.
  • As of today, 7 of the themes on ThemeForest have been sold more than 100,000 times each. The top 3 best-selling themes Avada, X theme, and Enfold have 520,000, 200,000 and 180,000 sales respectively.
  • The plugin marketplace CodeCanyon includes over 6,000 premium WordPress plugins, of which two have been sold more than 300,000 times.

In addition to the premium themes and plugins, Envato offers a wide range of web design products, including logo maker, video maker, tutorials, stock photos, and more.

6. Elegant Themes

Elegant Themes - Top WordPress Theme Development Company

Elegant Themes is one of the most successful WordPress theme development companies in the world. They are the people behind the most popular WordPress theme Divi and the WordPress page builder plugin Divi Builder.

Moreover, it features Bloom email optin plugin, Monarch social sharing plugin, and several other plugins and themes.

Here’re some important stats and facts about Elegant Themes and their products.

  • Divi helps more than 500,000 happy customers worldwide to create their stunning websites.
  • According to stats from BuiltWith.com, Divi is the second most widely used WordPress theme after Genesis theme framework.

Apart from the themes and plugins, Elegant Themes also runs a popular WordPress blog where they publish helpful tutorials and guides.

7. Caseproof

Caseproof - Top WordPress Development Company

Caseproof is the parent company behind popular WordPress plugins MemberPress, Pretty Links, and Affiliate Royale.

MemberPress is the best WordPress membership plugin used by thousands of users to create a membership site in WordPress. Pretty Links helps to turn your ugly long affiliate links into short trackable links. And, Affiliate Royale plugin lets you create a complete affiliate program of your own.

Here are some important stats and facts about Caseproof and their products.

Caseproof, with its brilliant products, is the industry leader for membership and affiliate plugin companies.

Note: WPBeginner founder, Syed Balkhi, is an investor in CaseProof.

8. Modern Tribe

Modern Tribe WordPress Development Company

Modern Tribe is a WordPress design and development agency with a twist. They are a collaborative organization of all freelancers and experts. It is a company of 72 talented teammates in 5 countries and 45 cities.

The company offers a wide range of services, including WordPress expertise, strategy, user experience design, and more. They are also the creators of The Events Calendar plugin.

Here are some important stats and facts about Modern Tribe.

  • They work on more than 20 simultaneous projects on average. They have already built several hundred websites.
  • The Events Calendar plugin is the #1 event management plugin for WordPress (15 million downloads and counting).

They have designed websites and built software for fortune 500 companies, government institutions, as well as start-up companies. Their clients include Harvard, eBay, Mozilla, MTV, and more.

9. IncSub

IncSub - Successful WordPress Theme and Plugin Company

IncSub is the company behind WPMU DEV, CampusPress, and Edublogs. The WPMU DEV site offers managed WordPress hosting, support, site management, and plugins.

The CampusPress helps universities and other academic institutions build and manage websites in WordPress. And, Edublogs is the blog platform for individual teachers and students.

Here are some important stats and facts about IncSub and its products.

  • WPMU DEV has more than 750,000 active members.
  • Their product Smush Image Compression and Optimization is one of the best image compression plugins with more than a million active installs.
  • Edublogs powers more than 4 million education blogs by students and teachers worldwide.

IncSub is one of the most influential companies in WordPress speed optimization and leader in WordPress for education.

10. SkyVerge

SkyVerge - WooCommerce Extension Development Company

SkyeVerge is the company behind over 50 premium extensions for WooCommerce and the Jilt eCommerce email marketing tool.

They are the leading partner developer for WooCommerce.com. They have built 66 free and paid WooCommerce extensions including WooCommerce Memberships, WooCommerce Google Analytics Pro, and more.

Here are some important stats and facts about SkyVerge and their products.

  • The SkyVerge team has made over 400 WooCommerce core contributions.
  • Their free plugins on WordPress.org have more than 2 million downloads.

Their other product Jilt is an email marketing and automation tool for the popular eCommerce platforms WooCommerce, Easy Digital Downloads, and Shopify.

11. Sandhills Development

Sandills Development - Successful WordPress eCommerce Business

Founded by Pippin Williamson, Sandhills Development is the company behind the immensely popular Easy Digital Downloads, AffiliateWP, and Restrict Content Pro plugins. The company was formerly known as Pippin’s Plugins.

In a short period, the company has developed a huge customer base and a strong following among the WordPress community.

Here are some vital stats and facts about Sandhills Development and its products.

  • Their plugin Easy Digital Downloads is the second most popular WordPress eCommerce plugin after WooCommerce.
  • Easy Digital Downloads has over 2 million downloads, over 100 extensions and themes, and more than 180 project contributors.

Their other plugins are also popular among WordPress users. Restrict Content Pro is one of the best membership plugins for WordPress. AffiliateWP lets you create a full-featured affiliate program (a good alternative to the Affiliate Royale plugin).

12. WordFence

WordFence - Most Popular WordPress Security Plugin Company

WordFence is the global leader in WordPress security. It is the most popular WordPress firewall and malware scanner plugin in the market.

Here are some important stats and facts about WordFence.

  • WordFence plugin protects over 3 million active WordPress websites.
  • It blocks more than 4 billion attacks and over 75,000 malicious IPs monthly in average.

It also provides WordPress site cleaning and audit services.

13. Human Made

Human Made - Popular WordPress Design Company

The UK based WordPress design and development agency, Human Made is an official WordPress.com VIP partner. They specialize in enterprise scale development for global brands like News UK, USA Today, TechCrunch, Sony, PayPal, Skype, Airbnb, and many more.

Here are some important stats and facts about Human Made.

  • Awarded as one of the top B2B companies and top WordPress developers 2018 by Clutch.
  • They also contribute to the open source WordPress community. They contributed to 12 WordPress.org teams, and 53 talks at open source events in 2018.

They also offer several free and paid WordPress plugins like WPRemote, BackupWordPress, WPThumb, and WordPress Menu Exporter.

14. Web Dev Studios

Web Dev Studios - Design Company for WordPress

Web Dev Studios is one of the leading WordPress design and development agencies. They have authored several books on WordPress and are actively involved in the WordPress community.

They have also contributed to several top-rated WordPress plugins like Custom Post Types UI, CMB2, Automatic Featured Images from Videos and many more.

Here are some important stats and facts about Web Dev Studios and their products.

  • Their plugin Custom Post Type UI is one of the top 100 free plugins on WordPress.org, with over 700,000 active installs.
  • Another plugin CMB2 is one of the most loved free plugins ever built (4.9 average rating).

Their clients include several big name brands like Microsoft, Viacom, Time, MSNBC, NBC, and WPEngine.

15. WP Media

WP Media - WordPress Optimization Service Provider Company

WP Media is the company behind the popular caching and speed optimization plugin WP Rocket. They are also the people behind Imagify, online image compression tool.

Here are some important stats and facts about WP Media and their products.

  • WP Rocket has more than 96,000 happy customers and used to optimize more than 700,000 WordPress websites.
  • Imagify has already optimized more than 700 million images and actively installed on more than 200,000 WordPress sites.

Also, they are the creators of WP Quick Install, which helps you install WordPress, themes, and plugins in an instant.

16. WPML

WPML Best WordPress Multilingual Plugin and Company

WPML is the #1 WordPress multilingual plugin, which lets you create multilingual website in WordPress.

Here are some important stats and facts about WPML.

  • WPML powers more than 600,000 multilingual websites on the internet.
  • WPML clients and websites are located in more than 100 countries and translate into the similar number of languages.

WPML is a product of a company named OnTheGoSystems. Apart from WPML, they run ICanLocalize, a translation service with professional human translators.

17. UpdraftPlus

UpdraftPlus - Best WordPress Backup Plugin Business

UpdraftPlus is the most trusted WordPress backup plugin in the market. It is used by world’s top organizations like Microsoft, NASA, NBA, P&G, Princeton University, and more.

Most popular WordPress blogs like WPBeginner, Torque, WMPU DEV, Elegant Themes recommend UpdraftPlus for creating WordPress backup.

Here are some important stats and facts about UpdraftPlus.

  • UpdraftPlus powers more than 2 million WordPress websites online.
  • It lets you store your backup in many remote storage locations like Dropbox, Google Drive, and more. It also has its own embedded storage location UpdraftVault.

They also offer UpdraftMigrator tool for simple WordPress migration and UpdraftCemtral for backing up multiple websites at one place quickly.

18. Imagely

Imagely - WordPress Product Company for Photographers

Imagely is the industry-leading provider of WordPress products and services for photographers. They have created many top-selling WordPress photography themes and plugins.

NextGEN Gallery is one of the most popular image gallery plugins for WordPress. The core plugin is free, but you need to buy its paid extensions to get its full features.

Here are some vital stats and facts about Imagely and their products.

  • NextGEN Gallery plugin is a widely used plugin, actively installed on 900,000 WordPress websites on the internet today.
  • They are also creators of most popular WordPress photography theme Photocrati, used on more than 18,000 websites.

Imagely also owns a renowned WordPress theme company Tesla Themes, which features more than 60 professional WordPress themes, used on more than 125,000 websites.

19. Elementor

Elementor

Elementor Ltd is the company behind the popular WordPress page builder, Elementor. Their drag and drop page builder is now powering over 2 million websites, and it is one of the fastest growing plugins in WordPress right now.

Elementor is also behind a popular theme shop called Pojo themes.

20. Themify

Themify - Successful WordPress theme and plugin Business

Themify is a premium WordPress theme and plugins shop. They are the people behind the powerful drag and drop page builder plugin Themify Builder.

Themify offers WordPress themes in different categories, catering to the needs of various industries.

Here are some important stats and facts about Themify and their products.

  • Themify features 48 themes, 12+ plugins, 25+ Builder addons, Photoshop files, and more.
  • Themify themes and plugins help more than 90,000 customers to make beautiful websites in WordPress.

Themify also offers a club membership where users can access all their products with a subscription program.

21. Beaver Builder

Beaver Builder plugin

Beaver Builder is the best drag and drop page builder plugin for WordPress. It lets you create stunning WordPress landing pages easily and quickly.

Beaver Builder includes 30+ professional templates for landing pages and content pages. It also includes Beaver Builder theme framework for its Pro plan users.

Here are some important stats and facts about Beaver Builder.

  • Beaver Builder page builder is used by over 1 million live WordPress websites.
  • The Beaver Builder theme powers over 175,000 WordPress websites.

Started in 2014, Beaver Builder is one of the fastest-growing WordPress products in the market.

22. 10up

10up - Web Design Firm

10up is a web design and consulting firm specializing in open source platforms like WordPress.

10up contributes hours of development back to the WordPress project by submitting patches and employing dedicated staff to work on the WordPress.org project.

Here are some important stats and facts about 10up.

  • 10up has developed 6 free plugins and contributed to over 20 free plugins on WordPress.org.
  • They also contributed to core jQuery project and sponsored jQuery Foundation by supporting their website.

10up is also one of the featured WordPress.com VIP partners. The company has an impressive list of clients with brands like TechCrunch and organizations like the World Economic Forum.

23. GoDaddy

GoDaddy WordPress Hosting Company

GoDaddy is the world’s largest domain name registrar with more than 78 million domain names under its management. It is also a provider of cheap shared hosting for WordPress.

In addition to the domain and hosting services, GoDaddy also runs popular WordPress products and services like ManageWP, and Sucuri.

Here are some important stats and facts about GoDaddy and their products.

  • ManageWP is the first and most successful WordPress website management service with 60,000 loyal customers (over 1 million websites managed).
  • Sucuri is the most powerful WordPress plugin for security and firewall which cleans more than 700 websites daily.

Sucuri is trusted by top WordPress companies like WPBeginner, Yoast, WP Engine, as well as the top organizations like Miami University, HarperCollins, and more.

24. Bluehost

Get started with Bluehost

Bluehost is one of the best WordPress hosting providers in the world. They are an official WordPress.org recommended hosting provider.

Bluehost is one of the subsidiary brands of Endurance International Group. The company is also the parent company of several brands like HostGator, Constant Contact, Domain.com, and many more.

Here are some important stats and facts about Bluehost and other Endurance company products.

  • Bluehost powers more than 2 million websites on the internet. It is a dedicated WordPress hosting provider as well as core contributor.
  • Constant Contact is the largest and most beginner-friendly email marketing service in the world.

Endurance also owns the MOJO Marketplace which features tons of commercial WordPress themes and plugins.

25. SiteGround

SiteGround - WordPress and WooCommerce Hosting Company

SiteGround is another WordPress hosting company officially recommended by WordPress.org. It offers fast and secure hosting plans for WordPress.

SiteGround also provides managed WooCommerce hosting service for WordPress based online stores. It includes hassle-free WooCommercce integration as well as migration.

Here are some important stats and facts about SiteGround.

  • SiteGround hosts more than 2 million websites on its powerful web hosting infrastructure.
  • WooCommerce hosting by SiteGround is recommended by WordPress experts like WPBeginner, and Yoast.

SiteGround offers speedy customer service, and it is top rated for customer satisfaction.

Wrapping Up

The WordPress ecosystem is evolving rapidly, and new companies are appearing regularly. Many of them will soon grow to become an influential WordPress business in their own niches.

There is plenty of room for new businesses to join the WordPress ecosystem, and hopefully, we will see many more new companies rise to the top soon.

We hope this article helped you to find out the most successful WordPress companies and businesses today. You may also want to take a look at our list of the top brands using WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Embed Actual Tweets in WordPress Blog Posts


Do you want to embed individual tweets in your WordPress blog posts? Embedding Tweets in your blog posts allows you to easily quote tweets inside your posts as well as make them more engaging.

You may have seen many popular blogs and news websites embedding tweets from organizations and individuals in their articles.

It makes the quotes more authentic while allowing your users to follow the full conversations for more information.

In this article, we will show you how to easily embed tweets in WordPress blog posts and pages.

How to Easily Embed Tweets in WordPress Blog Posts

Embedding Actual Tweets in WordPress Posts – Step by Step

WordPress makes it easy to embed third-party services in your blog posts. This includes YouTube videos, Facebook updates, Tweets, and many more items.

This feature uses a method called oEmbed. Basically, you can just add the URL of a third-party website, and WordPress will request an embed code from them.

You can only add whitelisted oEmbed services in WordPress, and Twitter is one of those services.

The new WordPress block editor has added even more user-friendly options to embed tweets in WordPress.

It comes with a built-in Twitter embed block to let you easily insert tweets in your posts and pages.

Let’s take a look at how to embed tweets in WordPress blog posts.

First, you need to go to Twitter and find the tweet that you want to embed.

Next, click on the down arrow icon on the right, and then select ‘Copy link to Tweet’ option.

Copy Link to Tweet

After that, you will see ‘Link copied.’ message on the top. Now you need to paste the link in your WordPress editor.

Tweet Link Copied

Create a new post or open an existing post from your WordPress dashboard, and then click ‘Add New Block’ button. Next, you will need to choose the ‘Twitter’ block under ‘Embeds’ section.

Add Twitter Embed Block in WordPress Editor

You’ll now see the Twitter Embed block added into the post edit area. You need to paste the Twitter URL that you copied earlier in the block settings.

Embed Twitter in WordPress Post Editor

WordPress will now automatically fetch and display the actual tweet in your post content.

Actual Tweet Embedded in WordPress Post

You can save your post or publish it to see a live preview.

This is how it looked on our demo website.

Actual Tweet Embedded in WordPress Blog Post Preview

Pro Tip: You can also paste the Tweet URL in a paragraph block and WordPress will automatically convert it into a Twitter embed block.

Auto embed tweets by just pasting the URL

How to Embed Tweets in Classic WordPress Editor

If you are still using the old WordPress classic editor, then you will need to copy and paste the tweet link directly in the post editor.

Unlike the block editor, the classic editor is a single text box for your whole content.

That’s why you need to paste the tweet URL in a separate line in the editor.

Add Twitter URL in Classic WordPress Editor

Once done, it will immediately load the actual tweet in your post editor.

Tweet Embedded in Classic WordPress Editor

Now you can save and preview your post.

That’s it! It’s pretty simple and quick.

We hope this article helped you to learn how to embed actual tweet in WordPress blog posts. You may also want to see our guide on how to easily embed videos in WordPress blog posts.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Open External Links in a New Window or Tab with WordPress


Do you want to open external links from your blog posts in a new window?

Opening external links in a new window allows your users to visit the link without leaving your website.

Many beginners struggle with finding the option to open a link in a window mainly because it is not instantly visible when you are adding a link in WordPress.

In this beginner’s guide, we will show how to easily open external links in a new window on your WordPress site. We will also show different methods to do that, so you can choose the one that best suits you.

How to open external links in a new window

Why and When You Should Open External Links in a New Window?

External links are links to websites that you don’t own or control. Normally, if you add a link to an external website your visitors will simply leave your site by clicking on the link.

While some user experience experts say that you should not open external links in a new window, we do not agree with that.

You see, most users easily forget the last website they were visiting. If they have multiple tabs open then chances are that they will never be able to find your website again.

For better user experience, we recommend opening external links in a new window or tab. This way the original web page is not lost and users can resume browsing your website by switching back.

Another benefit of opening external links in a new window is increased page views and user engagement on your site. Users are more likely to return to the previous tab and finish reading the article.

Users who spend more time on your site are more likely to join your email newsletter, follow you on social media, leave a comment, and buy your products.

That being said, let’s take a look at how to easily open external links in a new Window in WordPress.

Open External Link in New Window in Gutenberg Editor

The new WordPress block editor has a built-in feature that lets you open external links in a new window. However the option is hidden behind a button which is why beginners often don’t notice it.

Simply edit a blog post or page where you want to add an external link. Next, select the text you want to link and then click on the insert link button (or press CTRL + K on Windows / Command + K on Mac).

Open link in new tab

This will bring up the insert link popup. Simply enter the link and then click on the down arrow next to it. This will reveal the option to open the link new tab.

Click to toggle the option and then press enter. Your selected text will now be linked, and you can preview it by visiting your website.

Open External Link in a New Window Using Classic Editor

WordPress introduced a new block editor with WordPress 5.0. Many users prefer to use the old editor by installing the classic editor plugin.

If you are still using classic editor, then we will recommend you to start using the new editor. It is modern, faster, and includes many new features that you are missing out.

However, if you still want to use the classic editor, then this is how you would open a link in a new window using the classic editor.

First, you need to edit the post or page where you want to add the link. Next, select the text that you want to link and then click on the add link button.

Add new link in classic editor

A popup would appear where you can add your external link. After that, click on the gear icon next to it. This will bring up the advanced insert link popup.

Open link in new tab using the classic editor

From here you need to check the box next to ‘Open link in a new tab’ checkbox and then click on the ‘Update’ button to add your link.

You can now save your post and preview it to see the link in action.

Open a Link in New Tab Using Text Tab in Classic Editor

If you are using the HTML editor labeled ‘Text‘ in the old classic editor, then here is how you would open an external link in a new window.

Add link button in the Text editor

Simply select the text that you want to link and then click on the Add Link button. This will bring up the advanced Insert link popup.

Adding a link in plain text editor using the classic editor

From here, you can add the link and check the box next to ‘Open link in new tab’ option. After that click on the Add Link button and the popup will disappear. You will now see the HTML code for the link in the text editor.

HTML code for the external link

You can now save your changes and view the post to see the external link in action.

How to Open External Links in a New Window using HTML

Sometimes you may need to write HTML to add a link in WordPress. For example, when you are using the HTML mode in the new block editor or adding a link in a WordPress theme template file.

You’ll need to add the link using the following HTML code.


<a href="http://example.com" target="_blank" rel="noopener">Link Text</a> 

Simply replace the example.com with the external link URL, and the Link Text with the text you want to link.

The target parameter in this code tells browsers to open the link in a new window or tab.

Automatically Open All External Links in New Window with a WordPress Plugin

It may sound like extra work to manually check the option for every external link that you add. However, over time you will get used to it.

If you run a multi-author blog or often forget to make external links open in a new tab, then you can use a plugin for that.

First, you need to install and activate the Open External Links in a New Window plugin. For more details, see our step by step guide on how to install a WordPress plugin.

The plugin works out of the box, and it will automatically open external links in a new window.

It does not actually change the external links in your blog posts. Instead, it uses JavaScript to open external links in a new window.

Note: Keep in mind that deactivating the plugin will stop opening external links in a new window.

We hope this article helped you learn how to easily open external links in a new window in WordPress. You may also want to see our ultimate list of the most useful WordPress tips, tricks, and hacks that you can use on your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Display the Total Number of Comments in WordPress


Do you want to display the total number of comments on your WordPress site?

Comments allow users to participate and engage with the content on your website. By showing off the total comment count, you can encourage more users to join the conversation.

In this article, we will show you how to easily display the total number of comments in WordPress, with or without a plugin.

How to display total number of comments in WordPress

Display WordPress Comment Count using a Plugin

This method is easier and it is recommended for all users. Instead of writing code, you’ll be using a plugin to display comment count in WordPress.

First, you need to install and activate the Simple Blog Stats plugin. You may read our step by step guide on how to install a WordPress plugin for detailed instructions.

Upon activation, go to Settings » Simple Blog Stats page to configure plugin settings.

Simple Blog Stats Plugin settings page

On this page, you’ll see all the shortcodes that you can use to show different stats like the total number of comments, registered users, number of posts, categories, page count, and more.

You need to copy the shortcode [sbs_approved] to display the total number of approved comments on your WordPress site.

If you want to display it in a post or page, then simply create a new post or edit an existing one.

On the post edit screen, you need to add the shortcode block in the WordPress content editor.

Add Shortcode Block to a WordPress Page

You can do this by clicking on the Add block (+) icon and then search for the shortcode block. Once you find it, you need to click on it to add the shortcode block to the editor.

Next, you need to paste the shortcode [sbs_approved] inside the block settings.

Paste Shortcode to the Shortcode Block

You can add any text you want to display before or after the shortcode.

Alternatively, you can also use the shortcode inside a paragraph block. Simply copy and paste the shortcode where you want to display the comment count.

Paragraph block with comment count shortcode inside it

Using the paragraph block will also allow you to use the text styling option available in the WordPress block editor.

Once you are done, click on the publish or update button to save your changes. You can now visit your website to see your changes in action.

Comment count displayed in a WordPress post

Displaying total comment count in a sidebar widget

You can also use the same shortcode inside a WordPress widget and display it in your blog’s sidebar.

Simply head over to the Appearance » Widgets page and add a ‘Text’ widget to the sidebar.

Text widget with comment count shortcode inside it

Next, go ahead and paste your shortcode inside the ‘Text’ widget.

Don’t forget to click on the ‘Save’ button to store your widget settings.

You can now visit your website to see the widget in action.

Sidebar comment count in WordPress

Display WordPress Comment Count (without a plugin)

If you don’t want to use a plugin, then you can use display the total comment count manually.

This method requires you to add a code snippet to your website. If you haven’t done this before, then please check out our guide on how to copy and paste code snippets in WordPress.

Before you do anything, you should make a full backup of your website. This will help you to restore your site in case you break anything while editing the theme files.

Now you need to add the following code to your theme’s functions.php file or a site-specific plugin:



function wpb_comment_count()  
$comments_count = wp_count_comments();
$message =  'There are <strong>'.  $comments_count->approved . '</strong> comments posted by our users.';

return $message; 
 

add_shortcode('wpb_total_comments','wpb_comment_count'); 


This code creates a function that outputs the total number of approved WordPress comments on your site. It also creates a shortcode to display it.

You can now use the shortcode [wpb_total_comments] in your posts, pages, or a text widget to display the total number of comments on your website.

This is how it looked on our demo site:

Preview of comment numbers

We hope this article helped you display the total number of comments on your WordPress site. You may also want to check out our guide on how to prevent comment spam in WordPress and the best WordPress plugins for every website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Remove Website URL Field from WordPress Comment Form


Spam comments are a huge problem for many blogs. The biggest reason for spam comments is the desire to get backlinks by using the website url field in the WordPress comment form.

Since majority of the spam is generated by automated bots, you can easily combat comment spam by using free tools and plugins.

The trickier part is to discourage spam comments submitted manually by humans. These unwanted comments are submitted by actual users and are often off-topic, irrelevant, and add no value to the discussion.

In this article, we’ll show you how to remove the website URL field from the WordPress comment form. We’ll also explain why removing the URL field from the comment form will help you discourage spam.

Removing website URL field from WordPress comment form

Why Do People Submit SPAM Comments?

The short answer to that question is SEO or Search Engine Optimization. Let’s take a look at that in details.

Have you ever received comments from users like “Best WordPress Themes”, “Make Money Online”, or “MyBlogName” on your website? Why do they use such keywords instead of their real name?

By default, the WordPress comment form has four fields: name, email, website URL, and the comment box.

When displaying the comments, WordPress automatically hyperlinks the name of the commenter with the website URL they provided.

This backlink provides an incentive for blackhat SEO marketers and newbie bloggers.

They believe this tactic can help them get better rankings for specific keywords in search engines.

This technique does not work for SEO in most cases, but that hasn’t stopped spam comments.

This is why we have removed the URL field altogether from our WordPress comment form. By doing this, we have greatly reduced the number of spam comments on our site.

Real users will leave a comment on your articles whether they get a backlink or not. If someone doesn’t want to comment on your website because they are not getting a backlink, then you really have to question their intention in the first place.

That being said, let’s take a look at how to easily remove the website field from WordPress comment form. We will cover two different methods, and you can choose the one that works best for you.

Remove Website Field from WordPress Comment Form (Plugin)

This method is easier and recommended for all users.

First, you need to install and activate the Comment Link Remove and Comment Tools plugin. For detailed instructions, please follow our step by step guide on how to install a WordPress plugin.

Upon activation, you will see a new menu item called “QC CLR Settings” in the left sidebar of your WordPress admin panel. Clicking on it will take you to plugin’s settings page.

Comment Link Remove and Comment Tools plugin

From here, you need to check the box next to “Remove WEBSITE Field from Comment Form” option.

Once done, you need to scroll down to the bottom of the page and click on the Save Changes button to store your settings.

Since you are already logged in, you will not see the full comment form when visiting an article on your website.

You need to either log out from the WordPress admin area or open a new incognito browser window. After that, you can visit any post on your WordPress site to see the comment form without the website URL field.

Comment form without website URL field

Removing the website field will discourage users who only want to comment on your website to get a backlink.

However, the comments that are already approved will still have their author names linked to their website URL.

To remove them, you need to go back to the settings page of this plugin and check the box next to the “Remove hyperlink from comment AUTHOR Bio” option.

Once you save the changes, the links from the existing comments will be removed as well.

Manually Removing the Website URL Field From WordPress Comment Form

Some users always want to learn how to do things manually instead of using a plugin. The good news is that you can certainly remove the website field from the comment form with the help of a code snippet.

To get started, you need to take a full backup of your WordPress site. This will help you to restore your website files in case you break anything while editing the theme files.

Next, you need to copy and paste the following code to your theme’s functions.php file or a site-specific plugin:

add_filter('comment_form_default_fields', 'unset_url_field');
function unset_url_field($fields)
    if(isset($fields['url']))
       unset($fields['url']);
       return $fields;

This code simply removes the website field from your WordPress comment form. You can visit a blog post on your website in a new incognito tab to see it in action.

We hope this article helped you to learn how to remove the website URL field from the WordPress comment form.

You may also want to check out our guide on how to add reCAPTCHA to WordPress comments to prevent spam comments. For more tips, also see our 12 vital tips to combat comment spam in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Remove Website URL Field from WordPress Comment Form appeared first on WPBeginner.



Source link

How to Add Pinterest “Pin It” Button in WordPress (Ultimate Guide)


Do you want to add the Pinterest “Pin It” button in WordPress? Recently, a new traffic source popped up in our blog stats.

It was significant enough for us to take notice. This traffic source was Pinterest.

Pinterest is a popular social networking site that allows you to share visual content and drive a lot of traffic to your website (follow WPBeginner on Pinterest).

In this article, we will show you how to add the Pinterest “Pin It” button to your WordPress blog. We will also explain how to add the Pin It button over the images of your website.

Add Pinterest Pin It button in WordPress

Adding a Pinterest “Pin It” Button Using a Plugin

Pinterest officially changed the “Pin It” button name to Save in 2016.

Although some plugins still use the name “Pin It” instead of Save, they do the same job of pinning your images to Pinterest.

The easiest way to add a Pinterest button to your WordPress site is by using a social sharing plugin.

We recommend using Shared Counts plugin for this purpose. It is the best social media plugin for WordPress because it’s free and allows you to easily add the Pinterest button along with other popular social networks.

To get started, you need to install and activate the Shared Counts plugin. You can follow our step by step guide on how to install a WordPress plugin for detailed instructions.

Upon installation, head over to Settings » Shared Counts page to configure the plugin.

Shared Counts settings page

On the settings page, you need to scroll down to the Display section and then click on the “Share Buttons to Display” textbox.

This will open a dropdown menu where you can select the social media services you want to add. By default, Pinterest will be present in that box, along with Facebook and Twitter.

You can also select the location and post type where you want to display the Pinterest button. It comes with multiple button styles that you can choose from the ‘Share button style’ option.

Once you are done, don’t forget to click on the Save Changes button to store the settings.

You can now visit any post on your website to see the Pinterest button in action.

Pinterest button added to WordPress post

Another neat thing about SharedCounts is the free Custom Pinterest Image addon available on Github. This lets you set a custom Pinterest sharing image and description that’s optimized for Pinterest.

Note: We use SharedCount plugin on our website because it’s the best option in the market. It’s very well-coded and it’s free.

Manually Adding a Pinterest Pin It Button in WordPress

Some intermediate users may prefer to add the social sharing buttons manually to their WordPress site instead of using a plugin.

Let’s take a look at how to manually add a Pinterest button in WordPress.

The first thing you need to do is make a complete WordPress backup of your site. This will help you restore your site in case something breaks by accident.

Next, you need to connect to your WordPress hosting using an FTP client and then go to the /wp-content/themes/ folder.

From here, you need to open your current theme folder and then locate the footer.php file.

Download footer php file

Next, simply right-click on that file and then select Download from the menu. This will download the footer.php file to your computer.

Now you need to open the footer.php file using a plain text editor like Notepad and then paste the following script right before the </body> tag.


<script type="text/javascript">
(function() 
    window.PinIt = window.PinIt )();
</script>

Once you have done that, you need to save the file and then upload it back to the current theme folder.

Next, you need to locate and download the single.php file from your theme folder and open it for editing. After that you need to add the following code.

You will need to choose the location where you want it to appear in your post. After post title is the most common placement for social media buttons.


<?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
<a href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink($post->ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="vertical">Pin It</a>

The above code displays the Pinterest button with your featured image, title, description, and post URL in the share URL parameter.

Finally, you need to save the file and upload it back to your theme directory using FTP.

This will add a vertical share button to the posts of your website. If you want to display the horizontal share button, then simply change the count-layout parameter to horizontal.

Creating a Shortcode for Pinterest Button

Recently, one of our users asked us how to create a shortcode for the Pinterest “Pin It” button.

Shortcodes in WordPress allow you to easily add dynamic items to your WordPress posts, pages, and widgets. By creating a shortcode, you’ll be able to manually add Pinterest button in your articles.

First, you’ll need to add the following code to your theme’s functions.php file or a site-specific plugin:



function get_pin($atts) 
$pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
return '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode(get_permalink($post->ID)) . '&media=' . $pinterestimage[0] . '&description=' . get_the_title() .'" class="pin-it-button" count-layout="vertical">Pin It</a>'; 

add_shortcode('pin', 'get_pin');

After that, you can use the [pin] shortcode in your WordPress posts where you want to display the Pinterest button.

Adding Pinterest Pin It Button Over Your Images

If you are running a fashion, photography, or portfolio site, then you definitely want your images to be shared on Pinterest to increase your website traffic.

Let’s take a look at how to add the Pinterest Pin it button over your images in WordPress. This button will appear only when the user brings their mouse over your images, allowing them to easily share the image on their Pinterest profile.

First, you need to install and activate the Pinterest Pin it Button for Images plugin.

Upon activation, go to Settings » Pinterest Pin It page to configure the plugin.

Pinterest Pin It button for images settings page

On the settings page, you can choose where you want to show the “Pin It” button on your WordPress site. You can display it only on single posts, pages, category pages, or everywhere on your site.

The next option is to choose the default description from the dropdown menu. This will be used as the image description for the pinned image.

Once done, you need to click on the Save button to store the settings. Now you can visit your website and then hover your mouse cursor over any image to see the Pinterest “Pin It” button.

Pinterest Pin It button over images

If you want to exclude some images from showing the Pin It button, then you can add the nopin CSS class to the images you want to exclude.

To do that, you need to select the image block in the post editor and then click on the 3 vertical dots icon from the block toolbar. This will open a menu where you need to click on the Edit as HTML option.

Edit Image as HTML option to add CSS class

You will now see the HTML code of your image. Go ahead to add nopin to the class attribute of the img tag:

<figure class="wp-block-image"><img src="https://example.com/wp-content/uploads/2019/06/imagename.jpg" alt="image name" class="nopin wp-image-1687"/></figure>

Similarly, you can also use the plugin to disable automatic display of the “Pin It” button, and use the CSS class “pinthis” to selectively display the button on specific images.

To do that, you need to visit the plugin’s settings page and then locate the Advanced section on the right side of the page.

Pinterest Pin It plugin advanced settings

Now you need to check the option that says ‘Show “Pin it” button only on images with class=”pinthis” ‘, and then click on the Save button.

The next time you add an image to a post or page, you need to select the image block and then use the Edit as HTML option to add the pinthis CSS class to the image code. Here is an example:

<figure class="wp-block-image"><img src="https://example.com/wp-content/uploads/2019/06/imagename.jpg" alt="image name" class="pinthis wp-image-1687"/></figure>

This will show the Pinterest button on that specific image, even if you have disabled the option to automatically show the Pin It button on your site.

That’s all!

We hope this article helped you understand how to add a Pinterest “Pin It” button to your WordPress blog. You may also want to see our guide on how to create an email newsletter and get more subscribers.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Properly Change a WordPress Theme (Ultimate Guide)


Are you planning to change the WordPress theme of your website? WordPress makes it super easy for users to change and manage themes on their site.

However, you must remember that changing the appearance of your live website is a major event. You need to keep certain things in mind before and after you change a theme, so you don’t lose any data and website traffic.

In this article, we’ll show you the step by step process on how to properly change a WordPress theme with a step by step checklist.

How to Properly Change a WordPress Theme (Ultimate Guide)

Here’s a quick overview of what you’ll learn in this article:

Things to Do Before Changing a WordPress Theme

While changing a theme is literally a few clicks away, you must take some precautionary steps before starting the process.

We recommend that you to go through the following checklist to ensure that the process of changing your WordPress theme goes smoothly, and you don’t end up losing important data.

1. Copy Snippets from Your Current Theme

Some intermediate WordPress users like to customize their website by adding code snippets directly to the functions.php file of their theme.

Since these changes were made once, people usually forget about them.

If you or your web developer made these changes, then make sure to go through the files of your current theme and note down all the additional code that you’ve added previously. This will allow you to add them later into your new theme’s functions.php file or a site-specific WordPress plugin.

2. Test Load Time

Before changing your theme, you should check the load time of your website, so you can easily compare the differences in the page load time after you made changes to your website.

Remember, WordPress speed is an important factor in user experience and SEO, so you need to make sure that the new theme is faster than your previous one.

You can check your website speed by using a tool like Pingdom.

Make sure that you test the load time of the homepage and also some of your inner pages.

3. Don’t Lose Any Tracking Code

Some users add their analytics tracking code directly to their theme files. Also, there are WordPress themes that allow you to add Adsense or Analytics code in their settings panel.

One of the most common mistakes beginners make is to overlook these codes.

You need to make sure that you copy all the tracking codes, so you can add them to your new site after changing the theme.

To future proof this, we always recommend users to install Google analytics using a plugin like MonsterInsights, and for other tracking code we recommend using the header and footer plugin.

4. Make a Full Backup

It’s always recommended to back up your posts, images, plugins, and the database before changing your theme.

You can use a WordPress backup plugin to create the backup of your entire site. Make sure that you download this backup to your computer before moving forward.

This step will ensure that you can recover your website easily if anything goes wrong.

5. Sidebar Content

Sidebars are used for adding different widgets including social links, advertisements, subscription forms, or a contact form.

Make a note of these changes. If there is any custom code added into a widget, then make sure you copy and paste this code on your computer, so you can reuse it in your new theme.

6. Keep Your Site on Maintenance Mode

It’s a good practice to put your website on maintenance mode when you’re making changes to it. You don’t want your visitors to see an under construction site, right?

We recommend using the SeedProd plugin for this purpose.

SeedProd plugin

It’s a popular WordPress plugin that allows you to easily create beautiful coming soon and maintenance mode pages for your site.

To keep your site on maintenance mode, you need to install and active the SeedProd plugin.

Next, head over to SeedProd » Settings page to configure plugin settings. Here you need to select the Enable Maintenance mode radio button and click on the Save All Changes button.

SeedProd enable maintenance mode

How to Install a WordPress Theme

After following the above precautions, the next step is to install a theme that you want to use on your site.

There are thousands of free and paid WordPress themes available for you to pick from. The fact that you’re reading this article means you’ve likely found a good theme for your needs.

If you haven’t already selected a theme, then we can highly recommend the following WordPress themes to you:

1. Divi

Divi WordPress theme

Divi is one of the most popular WordPress theme in the market. It’s powered by the drag and drop Divi Builder which allows you to easily build any kind of website.

It comes with 20+ pre-built layouts and 46 different content elements. You can easily customize each element of your site and see the changes in real time.

2. Astra

Astra WordPress theme

Astra is a lightweight and speed-optimized WordPress theme. It’s compatible with various page builder plugins like Beaver Builder, Divi, and Visual Composer.

It’s a translation and RTL-ready theme. This allows you to start your website in any language and even create a multilingual website.

Astra can be easily integrated with the WooCommerce plugin, so you can easily create an online store without much hassle. You can also customize the header, footer, layout, and more using the WordPress Theme Customizer.

Our favorite part about Astra is all the starter website templates it comes with.

3. StudioPress

StudioPress WordPress themes

Genesis is the most popular WordPress theme framework and has been built by the StudioPress team. You can create amazing websites using the Genesis framework and other StudioPress themes.

In case you don’t know, StudioPress is now a part of WP Engine, the most popular managed WordPress hosting company.

The best part is you’ll get 35+ StudioPress themes for free if you sign up for any WP Engine hosting plan.

4. OceanWP

OceanWP WordPress theme

OceanWP is a responsive and multi-purpose WordPress theme. It offers multiple demo templates that have been built with different professions and businesses in mind.

It is compatible with the major page builder plugins. You can also use different extensions to take your site to the next level.

5. Beaver Builder

Beaver Builder plugin

Beaver Builder is one of the best drag and drop page builder plugins that allow you to build stunning pages for your site without any coding skills.

Beaver Builder is compatible with almost every WordPress theme, and you can even use it to create a custom WordPress theme without writing any code.

Anyways, we hope the above recommendations will help you to choose a WordPress theme for your site.

Once you’ve selected a theme, you need to install it on your WordPress site. Y

ou can use any of the following 3 methods to install a WordPress theme:

  • Using the WordPress theme search option
  • Uploading a theme from your WordPress Dashboard
  • Installing a theme using FTP

You can check out our beginner’s guide on how to install a WordPress theme for help.

How to Change WordPress Theme Without Going Live

Once you’ve installed your new theme, you are ready to switch themes.

However, it’s always recommended to test a theme before switching to it on your live website.

This way you’ll be able to check the compatibility of the new theme with your existing plugins and make sure that everything is working properly as desired.

There are two ways that you can use to change your WordPress theme without going live:

1. Live Preview Option

By default, WordPress allows you to preview a theme on your website without changing it.

To do that, head over to Appearance » Themes from the left sidebar of your admin panel.

On this page, you’ll see all the installed themes on your site. You need to hover your mouse over the theme you want to preview and click on the Live Preview button.

WordPress Theme Live Preview Option

This will open your new theme in the WordPress Theme Customizer. You can now test your new theme and make sure that everything is working properly.

2. Theme Switcha Plugin

Another option is to use the Theme Switcha plugin. It allows you to preview your new theme without activating it.

First, you need to install and activate this free plugin. Next, go to Settings » Theme Switcha from the left sidebar of your admin panel.

Theme Switcha plugin settings page

On the Settings page, you need to select the “Enable theme switching” option and then, scroll to the bottom of the page to click on Save Changes.

This plugin will now display all your installed themes at the bottom of this page. Go ahead and click on your new theme to preview it on a new tab of your web browser.

Theme Switcha available themes section

How to Change WordPress Theme on Live Site

After you have tested your new theme, it’s time to start the process of switching the theme on your WordPress site.

To do that, go to Appearance » Themes from the left sidebar of the WordPress admin panel.

Change WordPress theme on live website

On this page, you need to hover the mouse cursor over the theme you want to use and then click on the Activate button to change the WordPress theme.

Now you can visit the homepage of your website to see the new theme in action.

How to Change WordPress Theme Manually

Sometimes an error can make your WordPress admin area inaccessible. In that case, you won’t be able to change the theme using the above method.

To recover your website, you need to restore it from backup, or you may troubleshoot the WordPress error causing the problem.

However, if you don’t have a backup, then you can change the theme manually with the help of phpMyAdmin.

This method allows you to inform WordPress which theme to use by changing the information in the database.

First, you need to connect to your website using an FTP client and go to the /wp-content/themes/ folder.

FTP WordPress themes folder

Here you’ll be able to see all the themes that are currently installed on your website. You can also install a WordPress theme via FTP if you don’t see it.

Next, you want to write down the folder name of the theme you want to use because you’ll need it later.

After that, you need to go to the cPanel of your WordPress hosting account. On this page, you will have to scroll down to the Databases section and then click on phpMyAdmin.

cPanel open phpMyAdmin

Once you are in phpMyAdmin, you’ll see a list of databases on the left side of the screen. Simply click on the database that you are using for your WordPress site.

phpMyAdmin open database and table

Next, it’ll show you the list of tables in this database. You need to click on the “wp_options” table to open it.

Note: By default, WordPress use wp_ as the prefix for the table names. However, it’s possible to have a different database prefix, as shown in the above image.

Now you need to locate the template and stylesheet rows on the right panel.

Template and stylesheet rows

Next, click on the Edit link present in the “template” row to open the editor.

Here you need to change the value in the option_value field to the theme name that you want to use. It’s usually the same as the folder name in /wp-content/themes/ folder that you copied earlier.

Change template value

Once you’re done, click on the Go button to save the changes. Next, go ahead and repeat the same process for the “stylesheet” row.

After making changes to both the rows, you can go to your website to see the new theme in action.

Things to Do After Changing Your Theme

Once you’ve changed the theme on your website, you need to take care of certain things before turning off the maintenance mode.

You can check out the following checklist of things to do after changing your WordPress theme:

1. Test Your Website

First, you need to make sure that all the functionalities, plugins, and widgets are working properly.

You should invest some time to test your website and check out different things including the posts, comment section, images, and the contact form.

2. Cross Browser Compatibility

Browsers have a tendency of showing certain things differently.

To make sure that your website looks good in every major browser, you should test your site in different web browsers including Google Chrome, Firefox, Safari, and Internet Explorer.

3. Add Tracking Code

After you’ve tested the features and the cross-browser compatibility, you should add your analytics and Adsense tracking code to your site.

You can use the MonsterInsights plugin to add the Google Analytics tracking code. This will allow you to properly setup analytics and view detailed website stats right inside your WordPress dashboard.

4. Turn Off Maintenance Mode

You can disable the maintenance mode on your site to make it go live.

If you’re using the SeedProd plugin, simply go to SeedProd » Settings from the left sidebar. On the settings page, select “Disabled” and click on Save All Changes to turn off the maintenance mode.

SeedProd disable maintenance mode

5. Test Loading Time

You need to go to the Pingdom website again to test the loading time of your homepage after changing the theme.

Next, compare it to the load time when your old theme was installed. If you see any major differences, you can follow our guide to improve WordPress speed.

6. Monitor Bounce Rate

After switching themes, you should monitor the bounce rate of your site.

If your new theme is not user-friendly and difficult to navigate, it may increase the bounce rate of your site.

You can add related posts, popular posts widget, and breadcrumbs to reduce the bounce rate and increase page views.

7. Ask for Feedback

You can also ask your users for feedback and suggestions on how to improve your site design. You can use survey forms or online poll to gather user input.

You can share the new design with your subscribers using an email marketing service and ask them for their suggestions. This will help you to get ideas on what they would like to see improved.

We hope this step by step guide helped you easily change your WordPress theme. You may want to see our list of the must-have WordPress plugins for business websites.

If you liked this article, then please subscribe to our YouTube Channel for more WordPress video tutorials. You can also follow us on Twitter and Facebook.



Source link

16 Tips for Mastering the WordPress Content Editor


Majority of WordPress users spend most of their time using the content editor to write posts and create pages. WordPress comes with an intuitive Gutenberg block editor that is very easy to use.

However, as a power user, you can significantly increase your productivity by learning some of the lesser-known tricks. This would allow you to create highly engaging content in less time.

In this article, we will share our expert-tips for mastering the WordPress content editor. These tips will teach you how to use the WordPress content editor like a pro.

Expert tips on using the WordPress content editor

1. Learning The Basic Blocks

Blocks are the main building elements of the WordPress content editor, which is why it is sometimes referred to as the block editor.

Using blocks in WordPress content editor

Each element inside your content is made up of blocks. By default, WordPress comes with plenty of commonly used blocks such as paragraph, lists, images, galleries, and more.

You can use these blocks to create beautiful content layouts. This makes it important to explore different blocks and learn how you can use them in your content. We will mention some of the blocks later in this article as well.

2. Start Using Keyboard Shortcuts

Using keyboard shortcuts

It is inefficient to move the mouse just to make some text bold or add a link. The content editor comes with several useful keyboard shortcuts that helps you accomplish common formatting tasks without using the mouse.

Using keyboard shortcuts help you save time and make you a faster writer. Check out our guide on the most time-saving keyboard shortcuts in WordPress.

3. Single and Double Line Spacing

Many beginner level users find it difficult to figure out how to create paragraphs and line breaks in WordPress.

To add a new paragraph in the content editor, you simply need to press the Enter key. WordPress will add a new paragraph with double line spacing.

Adding double line spacing in WordPress

However if you only want a single line break, then you need to press Shift + Enter keys together.

Check out our guide on how to add single/double line spacing in WordPress.

4. Rearranging The Edit Screen

The content editor is basically a clean canvas with a top bar and a column on the right. This gives you a clean user interface to create your posts.

The editor displays a toolbar on top of the block that you are editing. You can move the toolbar by clicking on the three-dot menu in the top right corner of the screen.

Top toolbar

You can also show and hide the settings column by clicking on the gear icon at the top.

Hide settings column

WordPress also makes it easy to switch to the Spotlight mode which makes the block you are in more noticeable by dimming rest of the content.

Spotlight mode

Need more white space on the screen? Switch to the fullscreen mode which gives you a clean canvas with just the toolbar at the top.

fullscreen mode

5. Changing Font Size in WordPress Visual Editor

We understand that typography plays a very important role in web content. You may want to use different font sizes to grab your audience’s attention or highlight different sections in a lengthy article.

Change font size in WordPress content editor

Simply select the block where you want to change the font size, and you will see the font size option in the block settings on the right.

6. Add Headings into Your Articles

Headings play an important role in improving readability. This is why search engines like Google also consider headings to be important for SEO. Using your focus keywords (words that users will use to search) in headings helps search engines understand the importance of those keywords.

The content editor makes it easy to add headings to your articles. Simply select a heading block and then select a heading size and text alignment from the block settings.

Adding headings to your articles in WordPress content editor

You can also add a link to your heading, make it bold, or italicize it.

7. Adding Columns to Your Posts

WordPress content editor comes with a built-in column block, which allows you to add content into columns. This makes it easy to give your text a magazine like look.

Simply select and add a columns block to your editor. You can select the number of columns you want to add from the block settings.

Adding columns to your posts

Each column will automatically contain a paragraph block. You can easily add any other blocks that you want inside each column. For example, blockquotes, images, paragraphs, and more.

However, if you want to add an image next to some text, then you’d want to check the next tip.

8. Adding Image Next to Text

In older versions of WordPress, it was quite challenging to add an image right next to some text with proper alignment. This problem was fixed with the Media & Text block.

Media and text block in WordPress content editor

It allows you to add an image next to the text block. It automatically adjusts the width and spacing between the two blocks.

You can make the block full-width and use the formatting options for the text block.

9. Adding YouTube Videos in WordPress

You can upload videos to your WordPress site. However, WordPress is not made to be used as a streaming platform and most WordPress hosting companies cannot serve large files adequately.

To learn more about this, see our article about why you should never upload videos to your WordPress site.

Instead, we recommend uploading your videos to YouTube or other stream sites and then embed them into your WordPress posts and pages.

Adding YouTube block in WordPress content editor

You can use the YouTube block to simply paste the URL of the video you want to add, and WordPress will automatically embed it for you.

You can also paste the video URL inside a paragraph or any text block, and WordPress will automatically convert it into the YouTube block.

Auto embed YouTube videos in WordPress

10. Creating Tables in WordPress Posts

The post editor also comes with a block to easily add tables into your WordPress posts and pages.

Simply add the table block and then select the number of columns and rows you want to add. Don’t worry you would always be able to add more columns and rows later as needed.

Enter the rows and columns for your table

After that, you’ll see a plain table. You can add content to table cells and choose table colors / style from the block settings.

Table block preview

The WordPress table block is good for basic tables, but it lacks many features. For example, you cannot select the header row, make columns sortable, highlight rows, and more.

This is why we recommend using TablePress. It’s a free plugin that allows you to create beautiful tables and add them to your WordPress posts and pages.

To learn more, see our guide on how to easily add tables in WordPress posts.

11. Adding Buttons in WordPress Posts and Pages

Buttons play an important role when you want to add a call to action into your WordPress posts or pages.

The content editor comes with a basic button block that lets you quickly add a button into your content.

The default Button block in WordPress

The button comes with three styles: squared, rounded, and with a border. You can also select the background, text color and align the button to center, left, or right.

12. Add Cover Images in WordPress Posts

You may have seen cover images used in the middle of an article on popular publications like the New York Times. A cover image is simply an image placed in the middle of an article, sometimes with an overlaying text.

The purpose of the cover image is to make your content more engaging. It also provides your users with a break from reading the text and look at an image to capture their attention.

The content editor makes it easy to add cover images into your posts. Simply add a Cover Image block and then upload the image you want to use. Ideally, it should be a larger image file that looks good in the wide format.

Cover image block

For more details, see our article on cover image vs featured image and how to use them on your blog.

13. Change Paragraph Colors

Another neat trick that often goes unnoticed, is the ability to change the colors. Most folks want to keep their text consistent throughout the article.

However, occasionally using colors can help you redirect user attention and highlight important parts of an article.

The content editor shows you color options in the right column, you can choose any colors you want. Just make sure the background and text color combination you choose is easy to read.

Change background and text color in content editor

14. Add Widgets into Your Posts

Widgets are quite similar to the blocks. They allow you to add web elements to your WordPress site without adding code.

Typically widgets are commonly used in sidebars or footer area of a website. However, you can also add some widgets to the content area such as contact forms.

Simply look for the Widgets section under the add blocks button. From here, you can use the commonly used widgets in your posts and pages.

Adding widgets in WordPress posts and pages

15. Adding Custom HTML in WordPress Posts

The content editor in WordPress is a fully visual WYSIWYG editor. However you can still add HTML code if you need to.

The easiest way to do this is by adding the Custom HTML block to your post. After that, you can simply paste the HTML that you want to add.

Adding custom HTML in WordPress post

16. Get The Word Count and Other Stats for Your Posts

When working on a lengthy article, you may want to see the quick outline of the article, how many words it has, and how everything is placed.

The content editor toolbar has two buttons for that on the top. First, the info button which shows you the word count, paragraphs, blocks, and article outline based on headings you have used.

Article stats

Right next to it is the block navigation button. It shows you all the blocks you have used in your article, and you can click on a block to directly jump to it.

Jump to a block in your post

We hope this article helped you discover new tips for mastering the WordPress content editor. You may also want to see our guide on how to create an email newsletter and get more blog traffic.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link