How to use FTP to upload files to WordPress for Beginners

Are you looking to learn how to use FTP to upload files on your WordPress website? FTP or file transfer protocol is a fast and simple way to upload files from your computer to your website. In this article, we will show you how to use FTP to upload files to WordPress.

Using FTP to upload files in WordPress

Video Tutorial

If you don’t like video tutorials or want to move at your own pace, then continue reading the instructions below.

What is FTP?

FTP is short for File transfer protocol. It allows you to transfer files from your computer to your website hosting account.

Now you might be thinking there is already a media uploader inside the WordPress admin area for uploading files like images, video, audio, PDF and more.

Why do you need FTP?

You need FTP to be able to manually upload files in WordPress that sometimes won’t work due to an error on your site.

Normally, you don’t need FTP to upload files at all. You can easily upload images from WordPress admin area. You can even upload plugins and themes from WordPress itself.

However, sometimes you will need to upload a plugin or theme file manually for WordPress troubleshooting purposes and fixing most common WordPress errors.

Using FTP to Upload WordPress Files

First, you will need to download and install a FTP client on your computer. FTP client is an app that helps you connect to your website and transfer files using the FTP protocol.

Here are some of the most popular FTP clients that you can install.

For the sake of this tutorial, we will be using FileZilla. You can use any other FTP client that you like. The basic concepts are the same regardless of the software you use.

Connecting To Your WordPress Site Using FTP

When you open your FTP software, it will ask you to connect to your website using your FTP login credentials.

Your FTP login credentials are sent to you via email when you sign up for your WordPress hosting account. You can also find your FTP account information in your hosting account’s cPanel dashboard.

Managing FTP accounts inside cPanel

If you cannot find the login credentials, then you can contact your hosting provider to get this information.

Once you have the login information, you need to open FileZilla and then go to File » Site Manager.

Site manager in FileZilla FTP client

This will bring up a pop up window where you can add your website information. Click on the ‘New Site’ button and provide a title for your website.

Adding a new website in FileZilla

In the next column, you will be asked to enter your host. This is usually your domain name.

Under the logon type field, select ‘Normal’ and then enter your FTP username and password.

Login credentials

Now you can click on the connect button to continue. FileZilla will save your website settings for future logins and open a new FTP connection to your website.

If this is your first time connecting to your website from this computer, then FileZilla may show you a certificate popup.

Trust certificate

Check the box next to ‘Always trust certificate for future sessions’ and click on the OK button to continue.

FileZilla will now attempt to login to your website using the credentials you entered. Once connected, you will see the list of files and folders on your website under the ‘Remote site’ column.

Local and remote file columns in Filezilla

The remote site column displays files and folders on your website and the ‘Local site’ section shows files on your computer.

You can browse Local site to locate the files on your computer that you want to upload to your website. Next, you need to right click the file and select upload from the menu.

Upload file from your computer to your website

FileZilla will now transfer the file from your computer to your WordPress site.

However, WordPress needs certain files and folders in specific locations to work properly. This means you cannot just upload a file anywhere. You need to know where to upload a file in your WordPress site.

For example, if you want to manually upload a plugin to your WordPress website. Then first you will need to download the plugin to your computer.

After that you will need to unzip the plugin file. Inside the zip file, you will find the plugin folder. WordPress looks for plugins in the /wp-content/plugins/ folder.

You will first need to go to /wp-content/plugins/ folder in the Remote site column. After that you can upload the plugin folder from your computer to your website.

Upload plugin folder

Once you have uploaded the plugin, you need to visit the plugins page inside your WordPress admin area to activate the plugin.

Installed plugin in WordPress admin area

Similarly, if you wanted to upload a premium theme to your website, you will first download and unzip the theme folder on your computer. After that, you can upload it to /wp-content/themes/ folder on your website.

FTP is not just used to upload files from your computer to your WordPress website. It can also be used to download files from your website and edit them.

Simply right-click on the files or folders you want to download under the ‘Remote Site’ column and click on the download button.

Download a file from your website to your computer

You can also use FTP to backup all WordPress files. Simply select all files and folders and download them to your computer.

However, keep in mind that this is just the backup of your WordPress files, and it doesn’t include your content (Database). If you want to backup content as well, then you can do so by creating a manual backup of your WordPress database.

We hope this article helped you learn how to use FTP to upload files to WordPress. You may also want to see our step by step WordPress security guide for beginners.

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 use FTP to upload files to WordPress for Beginners appeared first on WPBeginner.

22 Best WordPress Themes for Recipe Blogs

Are you looking for the best WordPress themes for your recipe blog? Traditional blog themes lack the imagery needed to make your recipes stand out. In this article, we will show you the best WordPress themes for recipe blogs that you can try right away.

Best WordPress themes for recipe blogs

Making a Recipe Blog with WordPress

WordPress is the most easy to use website builder in the market. It is perfect for sharing recipes and creating engaging food related websites.

There are two different types of WordPress available. WordPress.com, which is a hosted platform built on top of WordPress, and then there is WordPress.org also known as self hosted WordPress. For details, see our comparison of WordPress.com vs WordPress.org.

We recommend using self-hosted WordPress.org because it gives you access to all the powerful WordPress features right out of the box.

You will need a WordPress hosting account and a domain name to start your own self-hosted WordPress website.

We recommend using Bluehost. They are one of the largest hosting companies in the world and an officially recommended hosting provider.

They have agreed to offer our users a 60% discount, a free domain, and a free SSL. A deal that you won’t get elsewhere.

After purchasing hosting, you can go ahead and install WordPress. Follow our guide on how to start a blog for step by step instructions.

Once you are all set up, it is time to choose a theme for your website. Let’s take a look at some of the best WordPress themes for recipe blogs.

Note: This list has both free and paid themes and all of them are mobile-responsive.

1. Gourmet

Gourmet

Gourmet is a powerful WordPress theme for food blogs, recipes, and restaurant websites. It is part of a larger pack of 23 ready-made websites that can be installed with 1-click. Each template is fully editable using an integrated drag and drop page builder.

It includes multiple WordPress sliders with different styles, multiple layouts, unlimited color choices, and more. It is super easy to use and includes a powerful theme options panel to setup your website.

2. Igloo

Igloo

Igloo is another flexible and beautifully designed WordPress theme for a recipe blog, restaurant, or cafe. It features a beautiful modern design, elegant photo galleries, and built-in social media integration.

For restaurant websites, it has a menu management system and testimonial sections. It comes in multiple color schemes and you can change colors for individual pages as well. All theme options are easy to configure using theme customizer with live preview.

3. Molino

Molino

Molino is a gorgeous WordPress theme for sharing recipes or building a website for cafes, bakeries, and restaurants. It part of a massive all-purpose WordPress theme which includes several ready-made designs and quick 1-click installer.

All pages can be easily edited using WordPress editor or the integrated drag and drop page builder that comes free with the theme. It offers endless customization choices with tons of colors, layout styles, headers, navigation menu styles, and more.

4. Florentine

Florentine

Florentine is an elegant and stylish WordPress theme for food and recipe blogs. It includes a dedicated recipe section allowing you to easily add properly formatted recipes to your website. Your users will also be able to instantly switch to the distraction free cooking mode.

It has built-in social sharing, easy customization, different styles and layout choices. All theme options are neatly organized under theme customizer which makes it quite easy to set up and use.

5. Foodie Pro

Foodie Pro

Built on Genesis theme framework, Foodie Pro is a well crafted WordPress theme for recipe blogs, food websites, health and nuitrition related niches. It features a fully widgetized modern layout allowing you to drag and drop items to setup your website.

It includes a custom theme options panel, live customizer support, custom headers, multiple page layouts, and more. It is highly optimized for speed and performance.

6. CupCake

Cupcake

CupCake is a stylish and cute WordPress recipe and food blog theme. It comes with a unique design that utilizes fun color schemes and a modern layout for presentation.

It includes drag and drop elements to setup your homepage. Inside you will find sections to add portfolio items, featured products, sliders, and call to actions. It can also be used to add an online store to your website.

7. Daily Dish

Daily Dish

Daily Dish is a modern WordPress theme for food and recipe websites. It is built on Genesis, and features a two column layout with a focus on beautiful typography and elegant display of images.

It comes with an easy to use theme options panel, customizable header, multiple page templates and widget ready areas. It is eCommerce ready and can be easily used to add a shop section to your website.

8. Foodica

Foodica

Foodica is a beautiful magazine style WordPress theme for food blogs. It features a modern design and comes in 6 color schemes to choose from.

It includes easy to use shortcodes to add recipe ingredients into your articles. It includes dedicated sections to display ad zones and banners to make money online. It includes a simple theme options panel and full live customization support.

9. Food4Soul

Food4Soul

Food4Soul is another excellent option for a WordPress food or recipe theme. It features a modern design with a large header image on top followed by your social profiles and navigation menus.

It includes drag and drop elements to setup your homepage layout. Inside you will find easy sections to manage portfolio, add recent posts, contact form, Google Maps, and more. It is easy to setup and includes a custom theme options panel.

10. Narya

Narya

Narya is a magazine style WordPress theme for food and recipe websites. It comes with a dedicated recipe post format and a custom recipe plugin. It also comes with a premium slider and a layout builder plugin.

Other notable features include 6 homepage layouts, 6 gallery layouts, multiple header styles, custom colors and more. It is easier to setup and all theme options are neatly organized.

11. Foodie

Foodie

Foodie is a WordPress theme built for chefs, food bloggers, and recipes. It includes a recipe post section with easy to add ingredients, instructions, and even videos. Users can also rate recipes and you can sort your highest rated recipes.

It uses a two column traditional blog layout with support for custom background and custom logo upload. It works out of the box and all theme options can be easily setup with live customizer.

12. Cuisine

Cuisine

Cuisine is a stylish WordPress theme made specifically for food and recipe websites. It ships with a custom recipe plugin that allows you to easily add and manage your recipes. Each recipe has its own dedicated recipe card which can be placed onto multiple pages or posts.

It includes two different layouts, multiple page templates and header styles. It includes custom widgets, unlimited color schemes, beautiful featured image, and more.

13. Food Recipes

Food Recipes

If you are looking for a free WordPress theme for recipes, then check out Food Recipes. It is built on bootstrap framework and features a two column layout with right sidebar. The content area is also divided into a two column grid on the desktop and a single column layout on mobile.

It includes support for custom logo upload, social media menu, fullscreen background image, and more. It is quite easy to setup and can be easily used to quickly start a blog.

14. Savor

Savor

Savor is a fresh and clean WordPress food theme with lots of features for recipe blogs. It comes with multiple layout combinations in two and three column grid layouts.

It also includes a custom recipe card which can be added into any WordPress posts or pages. Other noteable features include a featured content slider, custom widgets, social media integration, unlimited colors, contact form support, and more.

15. Kale

Kale

If you are looking for a free, clean, and simple recipe theme, then take a look at Kale. This minimalist style WordPress theme features a traditional blog layout with all the basic features.

It comes with a special front page showcasing featured posts and a large highlight post. It also has the option to show a banner or a posts slider in the header, and includes full ecommerce and RTL support.

16. Artie

Artie

Artie is a highly customizable WordPress food blog theme. It comes in multiple colors with multiple layout combinations, widget ready areas, and different styles.

It includes support for photo galleries, video galleries, recipe shortcodes, icon fonts, and more. All theme options are neatly organized and quite easy to setup.

17. Pepper+

Pepper+

Pepper+ is an all-purpose WordPress theme with several turnkey designs including one for a food/recipe website. It takes a modular approach to design and comes with different modules that you can just drag and drop to create different layouts.

Pepper+ is ready for WooCommerce and can also be used to create multilingual websites. It offers beginner friendly user experience with simple 1-click installers and quicker theme setup.

18. Salt & Pepper

Salt & Pepper

Salt and Pepper is an elegantly designed WordPress theme for food and recipe websites. It has a beautiful recipes section, which allows you to easily add recipes. It includes beautiful templates to display those recipes with category based filters.

For page editing it ships with a visual page builder and slider plugin. It is translation ready and can also be used on multilingual websites.

19. Tastefully

Tastefully

Tastefully is a modern WordPress blog theme for food lovers, restaurant reviews, and recipe websites. It features a large custom header followed by two-column layout with sidebar on the right.

Other features include custom author bio box, social sharing, large featured images, and crisp typography. It is quite simple and works out of the box with minimal setup.

20. Baseline

Baseline

Baseline is a magazine style WordPress blogging theme. It features a beautiful featured content slider on top, which is followed by your most important content.

It focuses on gorgeous display of your images and crisp typography to offer an elegant user experience. It is quite simple to use and doesn’t include any clutter. Inside you will also find a theme-setup guide that will help you get started right away.

21. Yumblog

Yumblog

YumBlog is a powerful WordPress recipe theme that ships with a premium WordPress recipe plugin. It allows you to add, manage, and share recipes from your website. It can also be used to allow your users to add their own recipes.

It features a nice modern layout focusing on images make your food photos look amazing. It ships with Beaver Builder to easily create page layouts using drag and drop tools.

22. Flavour

Flavour

Flavour is a well-crafted WordPress theme for restaurants, food, and recipes. It includes beautiful restaurant menus, food icons, custom colors, and custom fonts support.

It is super easy to setup with 1-click demo content installer and a fully integrated visual page builder. You can try different layouts and styles to create a truly unique experience for your website.

We hope this article helped you find the best WordPress themes for recipe blogs. You may also want to see our ultimate step by step WordPress SEO guide for beginners.

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 22 Best WordPress Themes for Recipe Blogs appeared first on WPBeginner.

How to Accept Bitcoin Payments in WordPress

Do you want to accept Bitcoin payments in WordPress? Bitcoin makes it super easy to accept online payments from anywhere in the world. In this article, we will show you how to easily accept Bitcoin payments in WordPress.

Accepting Bitcoin payments in WordPress

Why Accept Bitcoin Payments in WordPress?

WordPress allows you to build an ecommerce store in minutes using WooCommerce or other ecommerce plugins for WordPress. These platforms allow you to accept payments online using PayPal, Stripe, 2Checkout, and many other popular payment gateways.

In fact you can accept payments with Stripe or PayPal without even using a shopping cart plugin.

However, not all payment gateways are available everywhere. Some of your clients may not have PayPal available in their region, others may not want to use their credit cards.

Bitcoin offers an alternate payment method that can be used by anyone from anywhere in the world. Once you accept payments in Bitcoin, you can transfer them to your bank account or keep them in your wallet. Bitcoin rates are steadily increasing, and it will continue to do so as more people start using it.

That being said, let’s take a look at how to get started with Bitcoin and integrate it into your WordPress website.

Getting Started with Bitcoin

First, you will need a Bitcoin wallet. This is a piece of software that you will use to send or receive Bitcoins and store your bitcoins safely.

There are many different types of wallets available. You can install a wallet on your computer or even on your phone.

To learn more about wallets and to choose the right wallet for your needs visit the Bitcoin Wallets page.

Next, you will need to sign up for a BitPay account. BitPay is an online service that offers Bitcoin exchange, conversion, and transfer to your bank account or Bitcoin wallet.

BitPay signup

During the sign up, you’ll be asked to select services. You need to select ‘Business Account’ to sell products or services on your website and transfer payments to your bank account.

BitPay Business

After that you can fill out your organization name and enter your personal information to create your account.

BitPay account creation

Once you have signed up, you will reach the getting started dashboard. There you will see three steps required to verify your account.

First you’ll need to verify your email address. Next, you need to enter your business information to verify your business account. Lastly, you need to enter your bank account information or your Bitcoin wallet address.

After completing these steps you’ll be ready to accept payments on your website.

BitPay offers multiple ways to accept payments on your WordPress website. We will show you two different methods, and you can choose the one that best suits your business.

Accepting Bitcoin Payments in WooCommerce with BitPay

If you are already using WooCommerce, then this method is recommended for you.

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

Upon activation, you need to visit WooCommerce » Settings page and click on the ‘Checkout’ tab. Next, click on the BitPay link to configure its settings.

Setting up BitPay in WooCommerce

You need to click on the link below the API field to generate your API key. This will take you to BitPay website where you need to click on the ‘Add New Token’ button. After that you need to give this token a label and click on ‘Add Token’ button to continue.

Generating new token

BitPay will now show you a pairing code which you need to copy and paste in your WooCommerce BitPay settings page. Next, click on the find button to continue.

Your WooCommerce website will now connect to BitPay to verify the pairing code. Upon success, it will automatically fetch and store your API key.

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

Your customers will now see an option to pay using Bitcoin on the checkout page of your store.

BitPay Checkout

Accepting Bitcoin Payments in WordPress with BitPay

This method is recommended for users who are not using a shopping cart or ecommerce plugin on their WordPress website.

BitPay allows you to create payment buttons for items you want to sell. Visit the Payment Tools page under your BitPay dashboard and then click on Payment Buttons.

Create Bitcoin payment buttons with BitPay

This will bring you to the button generator page. You need to enter your business name, checkout item description, and payment amount.

Generating checkout button

You can also enter a browser redirect URL. This is particularly helpful if you are selling digital goods like software, ebook, or music. The redirect page could be the page where your users can download the file.

Click on the Generate button to continue.

BitPay will now show you the button code and different button sizes. Select the button size you want to use and copy the code.

Select button and code

Now you can head over to your WordPress website and edit the post or page where you want to add the button. On the post edit screen, you need to switch to the text editor.

Add button code

Next, paste the code you copied from BitPay website inside the text editor and save or publish your changes.

You can now visit the post/page to see your checkout button in action.

Pay with Bitcoin button in WordPress page

We hope this article helped you learn how to accept Bitcoin payments in WordPress. You may also want to see our ultimate step by step WordPress security guide for beginners.

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 Accept Bitcoin Payments in WordPress appeared first on WPBeginner.

How to Add Load More Posts Button in WordPress

Do you want to add a load more posts button in WordPress? Many popular platforms allow users to load more posts when they reach to the bottom of the page. In this article, we will show you how to easily add a load more posts button in WordPress.

How to add load more posts button in WordPress

When and Why Add Load More Posts Button in WordPress

Keeping your users engaged with the content helps you get more views and ultimately more subscribers.

Many blogs use the simple ‘Older posts’ navigation link at the end of their home, blog, and archive pages. Some websites use numeric page navigation which adds more context.

However, there are certain type of websites that can benefit immensely from infinite scroll or load more posts button. Some examples include: photography websites, listicles, and viral content websites.

Instead of loading a whole new page, ‘load more posts’ button works like infinite scroll. It uses JavaScript to quickly fetch the next set of content. This improves user experience and gives them a chance to view more of your content.

That being said, let’s take a look at how to easily add load more posts button in your WordPress site.

Adding Load More Posts Button in WordPress

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

Upon activation, the plugin will add a new menu item labeled ‘Ajax Load More’ to your WordPress admin menu. You need to click on it and head over to the plugin’s settings page.

Ajax Load More settings

On the settings page, you can choose the color of your button. You can also replace the button with infinite scroll which loads next batch of posts automatically without users clicking on the button.

Next, you need to visit Ajax Load More » Repeater Template page to add your template for displaying posts.

The plugin comes with a basic template containing the WordPress loop to display posts. However, it does not match your theme and may look out of place on your website.

To fix this, you need to copy the code your theme uses to display posts on index, archive, and blog pages.

Normally, this code is located in the template-parts folder of your theme. In that folder, you will see templates to display different content. For example content-page.php, content-search.php, and more.

You will be looking for the generic content.php template. Here is an example from our demo theme’s content.php file:

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php // Post thumbnail. twentyfifteen_post_thumbnail(); ?> <header class="entry-header"> <?php if ( is_single() ) : the_title( '<h1 class="entry-title">', '</h1>' ); else : the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); endif; ?> </header><!-- .entry-header --> <div class="entry-content"> <?php /* translators: %s: Name of current post */ the_content( sprintf( __( 'Continue reading %s', 'twentyfifteen' ), the_title( '<span class="screen-reader-text">', '</span>', false ) ) ); wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>', ) ); ?> </div><!-- .entry-content --> <?php // Author bio. if ( is_single() && get_the_author_meta( 'description' ) ) : get_template_part( 'author-bio' ); endif; ?> <footer class="entry-footer"> <?php twentyfifteen_entry_meta(); ?> <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?> </footer><!-- .entry-footer --> </article><!-- #post-## -->

Once you find that code, you need to paste it inside the Repeater Templates field in plugin settings.

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

Next, you need to visit Ajax Load More » Shortcode Builder page to generate the shortcode.

This page contains many different options that you can customize. First you will need to select the container type. If you are unsure, just look at the template you copied earlier. Most modern themes use the <div>; element.

After that scroll down to the button labels section. Here you can change the text that appears on the button. By default, plugin uses ‘Older Posts’, and you can change that to ‘Load more posts’ or anything you want.

Button label

Lastly, you need to choose whether you want posts to load automatically or wait for users to click on the load more posts button.

Disable scroll

Your shortcode is now ready to be used. In the right column, you will see the shortcode output. Go ahead and copy the shortcode and paste it in a text editor as you will need it in the next step.

Shortcode output

Adding Load More Posts in Your WordPress Theme

This part of the tutorial requires you to add code into your WordPress theme files. If you haven’t done this before, then take a look at our guide on how to copy and paste code in WordPress.

Don’t forget to backup your WordPress theme before making any changes.

You will need to find the template files where you want to add the load more posts button in your theme. Depending on how your theme is organized, usually these files are index.php, archives.php, categories.php, etc.

You will need to add the shortcode you copied earlier into your theme right after the endwhile; tag.

Since we are adding the shortcode in a theme file, we will need to add it inside the do_shortcode function, like this:

 echo do_shortcode('[ajax_load_more container_type="div" post_type="post"]'); 

You can now save your changes and visit your website to see the ‘Load more posts’ button in action.

Click to load more posts button preview

We hope this article helped you learn how to add load more posts button in WordPress. You may also want to see our mega list of the most useful WordPress tips, tricks, and hacks for beginners.

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 Add Load More Posts Button in WordPress appeared first on WPBeginner.

How to Allow Users to Delete their WordPress Accounts

Do you want to allow users to delete their own WordPress accounts? If you allow user registration on your WordPress site, and a user does not want to keep their account anymore, then they will have to manually ask you to delete their account. In this article, we will show you how to allow users to delete their WordPress account from their account area.

Allow users to delete their accounts in WordPress

Why Allow Users to Unregister Themselves in WordPress?

Many WordPress websites allow users to register and login. This could be membership websites, blogs that accept user submitted posts, or an online store.

Once users register their WordPress account, they cannot delete it on their own. They will have to manually ask you through a contact form to delete their information.

Website owners may want to keep the user contributed content or at least have their email address. However, if you give users control of their information, then they may feel more confident in their interactions on your website.

That being said, let’s see how to easily allow users to unregister themselves in WordPress and delete their WordPress account information completely.

Allowing Users to Delete their WordPress Accounts

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

Upon activation, you need to visit the Settings » Delete Me page in your WordPress admin area to configure plugin settings.

Delete Me settings

First you want to select the user roles that can delete their own profiles. You can also choose link styling and text that they will see on their profile page.

By default once the account is deleted, the plugin will redirect users to your site’s homepage. However, you can change that and provide a custom URL for redirect such as a thank you page. Additionally, you can choose to delete user comments as well.

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

Now you will need to switch to a user account under the user roles you selected earlier. Once logged in, go ahead and visit the Profile page, and you will see a new section where users can click to delete their account.

Delete account link on user profile page

When a user clicks on the link, they will be shown a warning that deleting an account will delete their access and all their content. Once the user agrees, this plugin will proceed and delete their account.

Adding Delete Account Link to Custom User Profile Page

If you use a custom user profile page, then this is how you can allow users to delete their WordPress account.

Simply add the following shortcode to your custom profile page template:

[plugin_delete_me]Delete Your Account[/plugin_delete_me]

Note: When a user deletes their account, it will also delete all their content (posts, pages, custom post types) and move it to trash.

A user can re-register a new account using the same email address, but this will not recover the content they contributed earlier. However, as a site administrator, you can recover content from trash if it is not permanently deleted.

We hope this article helped you learn how to allow users to unregister in WordPress. You may also want to see our step by step WordPress security guide for beginners.

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 Allow Users to Delete their WordPress Accounts appeared first on WPBeginner.

How to Add Click to Load for GIFs in WordPress

Do you want to add a click to load GIF player on your WordPress website? Animated GIF images take longer to load which affects page speed and user experience. That’s why many popular blogging platforms don’t auto-load GIFs in their apps. In this article, we will show you how you can easily add click to load for GIFs in WordPress.

Adding click to load for Gifs in WordPress

Why Add Click to Load for GIFs in WordPress?

If you often add animated GIF images in WordPress, then you already know that they are way larger in size than regular images. This means they take longer to load which affects your website speed and performance.

Some websites deal with this by lazy loading images in WordPress. However, this still affects users experience because GIFs take longer to load as the user scrolls down.

Popular platforms like Tumblr and others use click to load GIF player to mitigate this problem. Instead of loading all frames in a GIF animation, they load just the first frame of the animation. A play button or GIF label on the image indicates that users can click to view the animated GIF.

Paused GIF example

That being said, let’s take a look at how you can add click to load button for GIFs on your WordPress website.

Adding Click to Load for GIFs in WordPress

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

This plugin works out of the box, and there are no settings for it.

You can head over to the post edit screen to see it in action.

Add GIF button in WordPress post editor

On the post edit screen, you will notice the Add GIF button above the post editor. Clicking on it will bring up the media uploader popup where you can upload your GIF images similar to any other image.

Upload GIFs using the Add Gif button

Once uploaded, you need to click on the Insert image button to continue.

The WP GIF player plugin will now add the required shortcode in your WordPress post editor.

GIF shortcode in WordPress post editor

You can now save your post/page and click on the preview button to see your click to load GIFs in action.

All the GIFs embedded on your post will now have a button on top of them labeled GIF. Clicking on the button will load the animated GIF in the background and display it.

Click to play animated GIF

One downside of this plugin is that it only works for the new GIFs that upload. It will not add click to load for GIFs uploaded using the normal WordPress media uploader. This means all your previously uploaded GIFs will not have the click to load button.

We hope this article helped you learn how to add the click to load GIFs player in WordPress. You may also want to see our guide on how to fix common image issues 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 Add Click to Load for GIFs in WordPress appeared first on WPBeginner.

21 Best Wedding WordPress Themes

Are you looking for a wedding themes for your WordPress site? For wedding websites, you need a theme that can showcase the best moments of the event. In this article, we have picked some of the best WordPress wedding themes that you can use.

Best wedding themes for WordPress

Making a Wedding Website with WordPress

WordPress is a popular choice to build family blogs, events, and wedding websites. Mainly because it is so easy to use and manage.

There are two types of WordPress websites available. WordPress.com and WordPress.org which is also known as self hosted WordPress. See our article on the difference between WordPress.com and WordPress.org

We recommend using WordPress.org because it gives you freedom to use all WordPress features out of the box.

You will need a domain name and a WordPress hosting account to start a self-hosted WordPress website.

We recommend using Bluehost. They are one of the best WordPress hosting companies in the world and an official WordPress hosting provider.

Once you have purchased hosting, you are ready to install WordPress. Follow the step by step instructions in our guide on how to start a blog.

That being said, let’s take a look at some of the best WordPress wedding themes that you can install on your website.

1. Ultra

Ultra Wedding

Ultra is an all-purpose WordPress theme including ready-made designs for all kind of websites. It includes beautiful template for Wedding websites, featuring full screen background images and elegant typography.

It includes our story section to introduce bride and groom, beautiful photo galleries, and an RSVP section. It comes with a powerful drag and drop page builder and super easy theme options panel to setup your website.

2. Just Married

Just Married

Just Married is a gorgeous WordPress wedding theme. It features an elegant design with full screen background images, a single column homepage, and stunning image galleries.

It includes custom colors and comes with 4 color schemes. Inside you’ll also find sections to add groomsmen, bridesmaid, accommodation, reservations, contact form, and more.

3. Meridian Wedding

Meridian Wedding

Meridian Wedding is a beautifully designed WordPress theme with stylish layout and built-in custom features. Its homepage features a full-width slider to display photos of the lucky couple on top with call to action buttons to RSVP and gift registry.

It includes beautiful photo galleries, RSVP form, location, date, and complete event scheduling system. It is easy to setup with theme customizer where you can see live preview of your website as you set up.

4. Inspiro

Inspiro

Inspiro is a WordPress theme designed to create a lasting impression. It is perfect for photography, video, and wedding websites. It includes beautiful video and photo galleries, full screen video backgrounds, and lightbox popup support for photos and videos.

It ships with a 1-click installer and 5 ready-made layouts including one for wedding websites. It comes with a simple drag and drop page builder to edit your pages. All theme options can be easily setup using live customizer.

5. Amore

Amore

Amore is a stylish WordPress wedding theme with a beautiful design to make your website standout. Its homepage features a fullscreen slider with animated event countdown.

It is easy to customize and allows you to create and use any color scheme you want. All theme options can be set up using theme customizer. It also comes with drag and drop page builder to create your own custom layouts.

6. Lense

Lense

Lense is a WordPress photography theme with a unique design that makes it perfect for wedding websites. Its homepage features a beautiful photo gallery with horizontal scrolling. It also allows you to add photos in columns, grid types, scrollers, and slideshows.

You can have different settings for each one of your galleries. It has unlimited colors, custom widgets, unique mobile experience, and easy customization.

7. Emma

Emma

Emma is an elegant and modest WordPress wedding theme. Featuring crisp typography, beautiful colors, and full screen images, this theme has all you’ll need for a beautiful wedding website.

It also includes an RSVP form and free plugins to add registry, social sharing, and Instagram features. It is translation ready and comes with an easy setup with demo data included.

8. Selfie

Selfie

Selfie is an excellent choice for a WordPress wedding theme. Designed to showcase photographs beautifully, this theme comes with beautiful layout that looks stunning on all devices.

It has a collapsible navigation and sidebar that gets out of way on both mobile and desktop. It also has a separate blog section with touch enabled galleries. Theme setup is quite straight forward and most options work out of the box.

9. Nayma

Nayma Wedding

Nayma is an all purpose WordPress theme with multiple several purpose built designs, including one for wedding websites. This wedding template features a large full screen image with your wedding announcement on top of it.

It has beautiful parallax background effects for different sections, gorgeous photo galleries, and an area to display event details like time, venue, schedule, and more. It is super easy to use and comes with modules that you can just drag and drop to adjust your design.

10. Wedding Band

Wedding Band

Wedding Band is a free WordPress wedding theme with simple features and easier setup. It features a gorgeous full width slider on top followed by different sections.

All theme options are easy to setup using the live theme customizer. It also includes styling for adding contact form and a full-width page template that you can use with any WordPress page builder plugin.

11. Zoro

Zoro

Zoro is another excellent choice for a WordPress wedding website. It features super sized photo galleries to showcase the best moments of the wedding day. You can change photo gallery layouts into different types of grids with two or three columns.

It includes 4 homepage samples, 4 header styles, unlimited colors, Google Fonts, and a visual page builder. Theme setup is easier with demo content importer and a custom theme options panel.

12. Truelove

Truelove

Truelove is a simple and free WordPress theme to instantly create a beautiful wedding website. It includes a simple slider on top followed by different sections. Theme setup is done via customizer and allows you to add custom header, background, widgets, and navigation menus.

13. Shutter

Shutter

Shutter is a powerful WordPress photography theme with stunning templates including a wedding website design. It puts your photographs in front and center and offers an elegant and highly engaging user experience.

It ships with multiple demos, layout choices, different layout combinations that you can mix and match, unlimited colors, and built-in social media integration. It ships with a beginner friendly landing page builder and easy theme installer.

14. Newlyweds

Newlyweds

If you are looking for a classic elegance design, then take a look at Newlyweds. This free WordPress theme uses an old timey classic layout with subtle colors and beautiful typography. It uses Cormorant Garamond and Great Vibes fonts for the elegant crisp typography.

It includes an event countdown timer, beautiful photo galleries, bride and groom photos, and custom logo support. All theme options are super simple and can be easily setup using live theme customizer.

15. Modules

Modules

Modules is a well crafted all-purpose WordPress theme. It takes a modular approach to design which allows you to use built-in blocks to just drag and drop on a canvas to build beautiful pages.

It ships with 16 turnkey designs for different industries including photography, personal, and event websites. Apart from that it includes ready-made design elements that you can instantly add. It is very easy to use and customize and perfect for wedding websites.

16. Selkie

Selkie

Selkie is a WordPress blogging theme built for photographs and it is perfect for wedding websites. It’s homepage features a large header image with a call to action button that you can use for RSVP for registry pages.

Selkie is full of options, it has two layout choices, multiple navigation menu styles, 10 different blog layouts, and more.

17. Memories

Memories

Memories is a stylish WordPress theme suitable for photographers, fashion, and lifestyle sites. Its design features a unique layout, which makes it a great choice for wedding websites. It comes with a beautiful gallery display to showcase the best of your photographs.

It works with all popular WordPress plugins so you will be able to add new features as you go. Theme setup is quite easy with tons of options.

18. Focussity

Focussity

Focussity is a beautiful WordPress theme for wedding photographers. It includes a custom portfolio section with beautiful image galleries. It supports fullscreen header images and backgrounds.

It also comes with a drag and drop page builder to create your own layouts. Focussity is multilingual ready and comes with beautiful parallax effects and background video support.

19. Gallery Pro

Gallery Pro

Gallery Pro is an elegant and minimalist WordPress photography and lifestyle theme. It is built on top of Genesis theme framework, which is highly optimized for faster WordPress speed.

It offers a clean minimalist layout to showcase your wedding day with style. Theme features allow you to easily add customizable header, drag and drop layout, and use page templates to add blog section as well. It is super simple to use and most features work right out of the box.

20. Jen+Ben

Jen+Ben

Jen+Ben is a simple and beautifully designed WordPress theme for wedding websites. It features a large featured image on top, which can also be replaced with a slider. It comes with a set of companion plugins that you can enable to add features as you set up the theme.

It includes custom header styles, beautiful navigation, Google maps, contact form, and social media features. Inside you will find custom theme options panel that will guide you through setup.

21. Hitched

Hitched

Hitched comes as part of an all-purpose WordPress mega theme. You will get not just a wedding theme, but also themes to build various other websites. It has a 1-click demo installer, which allows you to import content and then just replace items with your own wedding photographs and information.

Inside you’ll find all the usual features you’d expect from premium WordPress theme. Noteable features include sliders, photo galleries, contact form, translation and multilingual support, event management, and more.

We hope this article helped you find the best WordPress wedding themes for your website. You may also want to see our list of must have WordPress plugins for all websites.

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 21 Best Wedding WordPress Themes appeared first on WPBeginner.

How to Appear in Google Answer Boxes with Your WordPress Site

Do you want your articles to appear in Google answer boxes? Answer boxes are Google’s push to answer questions directly on the search results page. In this article, we will explain how to appear in Google Answer Boxes for WordPress users.

How to appear in Google Answer Boxes for WordPress users

What is a Google Answer Box?

Google Answer box is part of Google’s Knowledge graph. It is an algorithm that tries to answer user’s questions right on the search page.

A search term displaying Google Answer Box

It uses carousels, side boxes, lists, tables, and answer boxes to display the most relevant information at the top. This information is gathered from various sources and the algorithm decides which results should be displayed inside an answer box.

According to research conducted by Advanced Web Ranking, Answer boxes secure almost 32.3% CTR. This makes them immensely important for your WordPress SEO strategy.

How Google Displays Information in The Answer Box?

The purpose of Answer Boxes is to offer instant gratification to the users. This works particularly well when users are looking for factual information like public figures, distances, conversion rates, scores, and similar information.

Instant answer in Google Search result using Knowledge Graph

In such cases, if users got the exact information they needed, then they can move on and search for something else. For many queries it can just display a sidebox from the web’s most reliable knowledge sources like Wikipedia.

In a way, it might sound like Google is trying to keep all the traffic for itself. However, not all users are looking for information that Google’s knowledge graph can answer with accuracy.

If user’s keywords require an opinionated, well thought, or research based answer, then Google relies on other web sources.

Google Answer box displaying other web sources

If you are among the top 10 results for a keyword, then you are already closer to appear in Google Answer Box.

How to Make Your Pages Appear in Google Answer Box?

Google Answer Box results change quite often, and you can easily appear as the best answer by simply improving your content.

Let’s explore a number of content optimization steps that you can take to appear in the answer box.

Add Short and Helpful Answers in Your Content

The purpose of Answer Boxes is to provide quick answers. Make sure that your article answers the question as early in the article as possible.

You also need to make your answer short, concise, and easy to understand.

Provide short and helpful answers in your article

It also helps to include your keywords in the form of a question followed by the short answer.

After that, feel free to add as much detail to your answer as you want. Adding more information will allow you to use the keyword throughout the article, and you can even use the same article to answer other questions your users may have about the same topic.

Answer other questions about the same topic

Optimize Your Page’s Meta Description

Meta description is a brief description explaining what your page is about. It is added in the <head> section of your site’s HTML.

You can add meta description for your articles by using a WordPress SEO plugin like Yoast SEO or All in One SEO plugin.

Optimize meta description for answer box

Make sure that your meta description includes your target keyword. It also needs to explain what questions or topics this particular page will be answering.

For example, our article about WordPress SEO tools and plugins uses this meta description:

“Are you looking for best WordPress SEO plugin and tools to boost your SEO? Check out our list of 9 best WordPress SEO Plugins and Tools.”

Here is how it appears in the answer box.

Meta description optimization effect on Google Answer Box

Utilize Lists, Tables, Table of Contents

Users love properly formatted content because it helps them quickly get the information they need. That’s why websites like list25 are so popular. They publish informative content in a viral listicle format that is easier to consume and share.

Google understands that and tends to highlight the websites that use formatting to make content consumption easier for users.

Tables in Google Answer Box

This includes:

  • Pages that use tables to list items.
  • How to articles that use step by step instructions.
  • Top lists that simply just list items.
  • Lenghty articles that utilize table of contents
  • and more.

This does not mean that you must always use one of these formats to write your articles. However, if using formatting can help your users get to the information quickly, then use it.

Lists in Google Answer Box

Optimize Content with Data Driven Decisions

Data is the most important thing you need for an effective content strategy. This is where Google Analytics comes in. It helps you understand your audience and plan accordingly.

You will need MonsterInsights to properly track user engagement in WordPress. It is the best Google Analytics plugin in the market, and it will help you learn where your users are coming from, and what they do while they are on your site.

These stats provide you a clear picture of what’s already working on your website. You can then expand on it and make informed decisions for better SEO.

Follow SEO Best Practices

Apart from answering the user questions, you also need to make sure that Google can find your page and understand it just as easily.

This means you still need to optimize your posts for SEO just like you would normally do.

  • Include your keywords in SEO title, description, and keywords.
  • Add your focus keyword in content and sub-headings in your article.
  • Properly utilize categories and tags.
  • Make sure there is enough content to cover the topic.
  • Make internal linking a habit and link to your other posts and pages
  • Add title and alt tags to your images.

Are Google Answer Boxes Worth The Effort?

Yes, absolutely. As we mentioned earlier the click-through rate for results in the answer box is way higher. Depending on the topic and your content, it could go as high as 51.2%.

However, we do not recommend you overthink it. The purpose of Answer boxes is to help users find information quickly. If you focus on answering questions through helpful and informative content, then search results will start picking it up.

Google’s search features are always changing. There are no shortcuts that will help you win forever. Building your website as an authority / reliable source of useful information will help you win in the long run.

We hope this article helped you learn how to appear in Google Answer Boxes. You may also want to see our list of the must-have WordPress plugins that will help you take your website to the next level.

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 Appear in Google Answer Boxes with Your WordPress Site appeared first on WPBeginner.

Evolution of WordPress User Interface (2003 – 2017)

WordPress user interface has evolved steadily since its first release in 2003. WordPress started out as a simple blogging platform and has now matured into a full-fledged CMS platform. In this article, we will take you to back in time to show the different stages in the evolution of WordPress user interface since 2003 until now.

Evolution of WordPress user interface since 2003

The Beginnings of WordPress

WordPress started out in 2003. Mainly because the development on an already popular blogging software b2/cafelog was discontinued by their main developers.

Two passionate users of b2/cafelog, Matt Mullenweg and Mike Little, decided to build a new platform on top of b2/cafelog. This is how WordPress was first released on 27th May, 2003. Learn more about the origin story of WordPress in our article on the history of WordPress.

Since then, there has been a total of 276 WordPress releases so far (November 2017). In this article, we will highlight the ones that introduced a big change in admin panel user interface.

WordPress 0.71 – (June 2003)

The landing page of WordPress 0.71 admin panel was directly the write post page. As you can see there was no dashboard.

Features were very limited, and it was kept simple. You could only assign one category to each post. This version of WordPress had a tedious installation method where you would have to change a lot of information manually.

WordPress 1.0.1 (Miles – 2004)

WordPress 1.0.1 Miles was released January 3, 2004

Starting this version, WordPress started naming its major releases after Jazz musicians. As you can see this release was named after a famous musician, Miles Davis.

In this version, WordPress stopped using the b2 file structure and moved toward its own style of filing structure. New features included multiple category selection, SEO friendly URL structure, comment moderation, new installer, and several other improvements.

WordPress 1.2 – Mingus (May 2004)

WordPress 1.2 Mingus User Interface

Named after Charles Mingus, WordPress 1.2 was a monumental release. One of the most important upgrades in this version was the introduction of “Plugins”.

Other notable changes were Sub categories, custom fields, thumbnail creation, post preview, encrypted passwords, and the ability to ping more than one service at a time.

WordPress 1.5 – Strayhorn (Feb 2005)

This version of WordPress was named after Billy Strayhorn. It showed the first glimpse of a new dashboard style. It didn’t use Ajax and was way slower than the WordPress we use today.

Another significant feature was the introduction of pages along side posts, allowing users to create static pages that were not part of their blog. This release also added support for installing multiple themes in a single WordPress installation.

WordPress 2.0 – Duke (Dec 2005)

WordPress 2.0 Duke

WordPress 2.0 brought a major uphaul to the WordPress admin interface. It had a large blue header on top a complete overhaul of the admin area. It was way faster than previous releases as it utilized Ajax to perform certain tasks.

This release also included a full WYSIWIG editor. Akismet was introduced as a plugin to combat with the growing comment spam problem. Some other notable features were image/file uploading, theme preview via thumbnail (screenshot.png), improved posting speed, new hooks for developers, and more.

WordPress 2.1 – Ella (Jan 2007)

WordPress 2.1

WordPress 2.1 Ella was the first release to introduce a new admin screen to manage comments. The comment management process was significantly improved as users were able to delete or approve comments without reloading admin screens.

WordPress 2.3 – Dexter (Sep 2007)

WordPress 2.3

This release didn’t drastically change WordPress user interface but added several significant improvements. For the first time WordPress improved native support to add tags to your posts.

It also introduced update notifications allowing WordPress core and plugins to show notifications when there is a new version available. This release also started auto-redirecting users to correct WordPress URL as defined in the settings.

WordPress 2.5 – Brecker (Mar 2008)

WordPress 2.5

For WordPress 2.5, the WordPress team collaborated with Happy Cog, a leading web design consultancy firm, to overhaul WordPress user interface. It was a major re-design or rather reimagining of WordPress how we use it today.

WordPress 2.5 Editor

The dashboard got much better as they added more useful information there. This was the first version where we saw one click upgrade for plugins which were in WordPress plugin directory. Much better visual editor and a built-in gallery was also included in this release.

Many of the core components of this redesign are still a major part of the software. However, its appearance quickly changed just 10 months later.

WordPress 2.7 – Coltrane (Dec 2008)

WordPress 2.7

WordPress 2.7 brought another major upgrade to the WordPress admin user interface. Users were now able to readjust WordPress dashboard elements. Screen options were introduced so that users can show and hide elements to meet their requirements.

Other notable features included automated installation for plugins through the WordPress admin panel. Reply to comments from the admin panel, threaded comments, sticky posts, keyboard shortcuts, comment paging, and more.

WordPress 2.9 – Carmen (Dec 2009)

WordPress 2.9 Image editing

WordPress 2.9 Plugin update screen

WordPress 2.9 didn’t change user interface but added several new features that integrated beautifully in the WordPress interface. One of these changes was a plugin update system, that allowed users to update their plugins to the newer version with a single click.

Another major change in the release was image editing features, which allowed users to crop, resize, rotate, scale, and flip images in WordPress.

WordPress 3.0 – Thelonious (2010)

WordPress 3.0

WordPress 3.0 Thelonious was a major WordPress upgrade which truly transformed WordPress from a blogging platform to a full fledged CMS. It introduced post types, taxonomies, custom backgrounds, headers, shortlinks, and navigation menus. It also started the tradition of introducing a new default theme each year, this new default theme was called Twenty Ten.

This release merged a WordPress sister project called WordPress MU into core WordPress itself. This feature is now known as WordPress multisite. The basic style of the admin interface was capable of adapting all these major changes without a significant overhaul of the admin area.

WordPress 3.1 – Django Reinhardt (2011)

WordPress 3.1

WordPress 3.1 continued adding feature to the robust WordPress user interface. With this new release, WordPress introduced the admin bar, post formats, and a better internal linking feature.

WordPress 3.3 – Sonny (2011)

WordPress 3.3 UI

Released in December of 2011, WordPress 3.3 came packed with features and improvements to existing WordPress UI. It added fly out menus for better navigation in the admin area, a revamped admin bar, drag and drop to upload media, and tool tips. See more features and screenshots of WordPress 3.3.

WordPress 3.5 – Elvin (2012)

WordPress 3.5

Mobile and high resolution devices were already becoming accessible to all users. WordPress 3.5 streamlined the user interface for modern retina display devices. This included upgraded icons and adaptive styles that looked great on any screen resolution. See more features and screenshots of WordPress 3.5.

WordPress 3.8 – Parker (2013)

WordPress 3.8 Admin UI

The appearance and basic style of WordPress UI wasn’t changed since 2008 and was way overdue for a major upgrade. The goal for this upgrade was to handle mobile devices more elegantly and make WordPress more accessible. After a ton of work, the new WordPress user interface was released with WordPress 3.8.

The new user interface which is still used (with minor enhancements) was mobile responsive, had more color schemes, used icon fonts, and Open Sans for typography.

WordPress 3.8 mobile

WordPress 3.9 – Smith (2014)

WordPress 3.9

WordPress kept improving the UI to handle new features. WordPress 3.9 made several enhancements it started using flat buttons in the post editor, drag and drop image uploads, gallery previews, and more. It also added live previews when adding widgets in theme customizer. See more features and screenshots of WordPress 3.9.

WordPress 4.0 – Benny (2014)

WordPress 4.0

The same year WordPress 4.0 was released. There was no major change in the UI. However, there were some cool changes that fit right into the existing WordPress admin look.

A new grid view for Media gallery was introduced with infinite scroll and smooth editing. See screenshots and features of WordPress 4.0.

WordPress 4.2 – Powell (2015)

WordPress 4.2

WordPress 4.2 came with a tiny but significant improvement in the admin area color scheme. The grays were given a slight blue hue and the blues were changed to pure blue with no red channel. See more features and screenshots of WordPress 4.2.

WordPress 4.5 – Coleman (2016)

Inline link editing in WordPress 4.5

WordPress 4.5 brough some improvements in the default WordPress visual post editor. A new inline link editing feature was introduced along with some new inline text shortcuts.

Responsive previews were added in theme customizer which allowed users to preview their theme desktop, tablet, and mobile without changing devices. For more features see our article on the release of WordPress 4.5 with screenshots.

WordPress 4.6 – Pepper (2016)

Shiny updates in WordPress 4.6

In WordPress 4.6, the core team decided to start using native fonts instead of loading Open Sans from Google servers. This release also streamlined updates, which allowed users to install, update, and delete plugins/themes without leaving a page.

WordPress 4.8 – Vaughan (2017)

Media Widgets introduced in WordPress 4.8

WordPress 4.8 introduced a new set of widgets to add media like images, audio, video, and rich text. It also added a new dashboard widget that displayed WordPress news and events. For more features and screenshots, see our overview of WordPress 4.8.

WordPress 4.9 – Tipton (2017)

New Theme browsing experience in WordPress 4.9

The last major release of WordPress for 2017 added more features to Theme Customizer. It added a new theme browsing and preview experience in customizer.

It also made code editing in custom CSS and theme/plugin editors much easier by adding syntax highlighting and auto-completion features.

The Future of WordPress User Interface

As you may have noticed that WordPress user interface hasn’t changed much since 2013. However WordPress itself has improved a lot since then with tons of new features, better performance, and improved security.

Today, the user interface feels a bit out-dated compared to the many other top website builders in the market.

But this is about to change.

Core WordPress developers are working on a project codenamed Gutenberg. This project will add drag and drop functionality to WordPress post and page editor. It will allow new users to drag and drop blocks into their website like they do in a page builder plugin.

Gutenberg

We are very excited about this new upcoming release, and will keep you updated through out the process.

We hope this article helped you see the evolution of WordPress user interface since its first release in 2003. You may also want to see our list of the top WordPress companies and businesses.

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 Evolution of WordPress User Interface (2003 – 2017) appeared first on WPBeginner.

How to Prevent Authors From Deleting Posts in WordPress

By default, users with the author user role can delete their own posts, even when these posts are already published. If you run a multi-author blog, then you may want to stop authors from deleting their own posts specially once it’s published. In this article, we will show you how to easily prevent authors from deleting their own posts in WordPress.

How to prevent authors from deleting posts in WordPress

Why Prevent Authors From Deleting Their Own Posts in WordPress

WordPress comes with a powerful user role management system. Each registered user on your WordPress website is assigned a user role, and each user role comes with different permissions.

Users with the ‘author‘ role can write posts and publish them on your website. This role is generally used by multi-author WordPress blogs.

Authors can also delete their own posts, including those already published. As a website owner, you may want to prevent authors from doing that. The easiest way to do that is by modifying the author user role and changing its permissions in WordPress.

Let’s take a look at how to easily prevent authors from deleting their own posts.

Method 1: Prevent Authors From Deleting Posts Using Plugin

This method is easier and recommended for all users.

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

Upon activation, you need to visit Users » Capabilities page. Here you can load any WordPress user role and change its capabilities and permissions.

User roles and capabilities manager

You need to start by locating the ‘Select Role to View / Edit’ box in the right column, and then select ‘Author’ user role from the drop down menu. After that you need to click on the ‘Load’ button to load the author user role capabilities.

Load author user role

The plugin will now load the ‘Author’ user role capabilities. Under the deletion capabilities section, you need to uncheck the box next to delete and delete published options.

After that you can go to the bottom of the page and click on the save changes button to store your settings.

Now, users with the author user role will not longer be able to delete any posts on your WordPress site.

Giving Back Permissions

User role capabilities are defined explicitly. It means that once you remove a capability from a user role, it will not come back unless you explicitly define it again. Even if you uninstalled the plugin, the capability changes you made will not revert automatically.

If you want to give back authors permission to delete, then you will have to repeat the process and check the boxes next to the delete and delete published posts options.

If you want to uninstall the plugin and revert back to default WordPress capabilities, then first you need to visit Tools » Capability Manager page and click on ‘Reset to WordPress defaults’ link.

Reset user role permissions

Method 2: Manually Prevent Authors From Deleting Their Own Posts

This method requires you to add code to your WordPress files. If you haven’t done this before, then take a look at our guide on how to copy and paste code in WordPress.

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

function wpb_change_author_role(){ global $wp_roles; $wp_roles->remove_cap( 'author', 'delete_posts' ); $wp_roles->remove_cap( 'author', 'delete_published_posts' ); }
add_action('init', 'wpb_change_author_role');

This code changes the author user role and removes their capability to delete their own posts.

If you want to revert back the permissions, then simply removing the code will not make any change. You will need to explicitly redefine the removed capabilities by replacing the first code snippet with the following code:

function wpb_change_author_role(){ global $wp_roles; $wp_roles->add_cap( 'author', 'delete_posts' ); $wp_roles->add_cap( 'author', 'delete_published_posts' ); }
add_action('init', 'wpb_change_author_role');

We hope this article helped you learn how to prevent authors from deleting their own posts in WordPress. You may also want to see our ultimate step by step WordPress security guide for beginners.

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 Prevent Authors From Deleting Posts in WordPress appeared first on WPBeginner.