WPBeginner » Editorial Staff http://www.wpbeginner.com Beginner's Guide for WordPress Sat, 02 May 2015 02:16:35 +0000 en-US hourly 1 http://wordpress.org/?v=4.2.1 How to Restore the Missing Link Title Field in WordPress 4.2 http://www.wpbeginner.com/plugins/how-to-restore-the-missing-link-title-field-in-wordpress-4-2/ http://www.wpbeginner.com/plugins/how-to-restore-the-missing-link-title-field-in-wordpress-4-2/#comments Fri, 01 May 2015 12:00:32 +0000 http://www.wpbeginner.com/?p=27684 In WordPress 4.2, the link title field in the insert link section was replaced by the link text field. This was a little disappointing for many users who believe that the link title field is useful for SEO purposes. In this article, we will show… Read More »

To leave a comment please visit How to Restore the Missing Link Title Field in WordPress 4.2 on WPBeginner.

]]>
In WordPress 4.2, the link title field in the insert link section was replaced by the link text field. This was a little disappointing for many users who believe that the link title field is useful for SEO purposes. In this article, we will show you how to add the missing link title field in WordPress 4.2 and later versions.

In WordPress 4.2 Link title field is replaced by link text

Why Was The Link Title Field Removed?

Link title provides a title for the link that could be different from the anchor text of a link. It provides users a chance to see the title of the document linked. Some users believed that it has accessibility benefits, but actually many screen readers cannot read title attribute in links by default. Link title popup cannot be seen by users on mobile and other handheld devices. These popups are also not visible to users who only use keyboard.

Link title popup displayed in Google chrome on a Mac

Many users believe that link title text also has SEO significance. It allows site owners to use actual document titles in the title, and their keywords as anchor text. You may also want to read on our article on image alt text vs image title.

Whether or not there are SEO or accessibility benefits, link title attribute is certainly harmless. Here is how you can add it back to your WordPress site.

Adding Link Title Field Back in WordPress

First thing you need to do is install and activate the Restore Link Title Field plugin. It works out of the box and there are no settings for you to configure.

Simply create a new post or edit an existing one. Select some text and click on the insert link button in the TinyMCE editor. The insert link popup will appear and you will notice the extra link title field appear there.

Link title field put back in WordPress

That’s all, we hope this article helped you add the missing link title field WordPress 4.2 and later versions. You may also want to check our guide on how to fix broken links 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.

To leave a comment please visit How to Restore the Missing Link Title Field in WordPress 4.2 on WPBeginner.

]]>
http://www.wpbeginner.com/plugins/how-to-restore-the-missing-link-title-field-in-wordpress-4-2/feed/ 6
How to Limit Comment Length in WordPress http://www.wpbeginner.com/wp-tutorials/how-to-limit-comment-length-in-wordpress/ http://www.wpbeginner.com/wp-tutorials/how-to-limit-comment-length-in-wordpress/#comments Thu, 30 Apr 2015 12:48:34 +0000 http://www.wpbeginner.com/?p=27622 WordPress comments encourage discussions around your topic. However you may find that comments below a certain length or above a certain length are not very helpful. In this article, we will show you how to limit comment length in WordPress, so you can set both… Read More »

To leave a comment please visit How to Limit Comment Length in WordPress on WPBeginner.

]]>
WordPress comments encourage discussions around your topic. However you may find that comments below a certain length or above a certain length are not very helpful. In this article, we will show you how to limit comment length in WordPress, so you can set both minimum and maximum comment length limit for your WordPress site.

Why limit comment length in WordPress?

Set Comment Length Limits in WordPress

In our experience of moderating online discussions for the past decade, we have found that most helpful comments are above 60 characters and below 5000 characters in length.

When a person writes a one-word comment, it usually is not very helpful. In most cases, it is spam because the author is simply trying to earn a backlink from your site.

However when a person writes a comment above 5000 characters, its usually a rant / complaint that in most cases is not relevant to that particular article.

By setting comment length limits in WordPress, you can improve the quality of your comments.

Let’s take a look at how to control comment length in WordPress.

There are two methods to limit comment length in WordPress. The first method requires you to install a plugin. The second method uses a simple code snippet that you can add to your site.

Method 1: Limiting Comment Lenght Using a Plugin

First thing you need to do is install and activate Control Comment Length plugin. Upon activation, simply go to Settings » Control Comment Length to configure the plugin settings.

Controlling comment length in WordPress using a plugin

The plugin’s user interface is in German with English. You can set both minimum and maximum number of characters a comment can have. We recommend using 60 for minimum and 5000 for maximum character count.

You can also add messages that will be visible to users when there comments are either too short or too long. The plugin only provides these messages in the German language. You can replace it with your own message.

Method 2: Limit Comment Length Using Code Snippet

The second method is for users who don’t mind dealing with code code. We will add a filter hook to preprocess_comment. This filter is run before WordPress saves any comments to database or runs any other pre-processing on submitted comments. We will use it to check the comment length. If it is above or below the set comment length parameters, then we will show users an error message.

Simply add this code to your theme’s functions.php file or a site-specific plugin.

add_filter( 'preprocess_comment', 'wpb_preprocess_comment' );

function wpb_preprocess_comment($comment) {
    if ( strlen( $comment['comment_content'] ) > 5000 ) {
        wp_die('Comment is too long. Please keep your comment under 5000 characters.');
    }
if ( strlen( $comment['comment_content'] ) < 60 ) {
        wp_die('Comment is too short. Please use at least 60 characters.');
    }
    return $comment;
}

Comment too long error

We hope this article helped you limit comment length in WordPress. You may also want to checkout our guide on 12 vital tips and tools 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.

To leave a comment please visit How to Limit Comment Length in WordPress on WPBeginner.

]]>
http://www.wpbeginner.com/wp-tutorials/how-to-limit-comment-length-in-wordpress/feed/ 1
8 Proven Methods to Promote Old Posts in WordPress http://www.wpbeginner.com/wp-tutorials/8-proven-methods-to-promote-old-posts-in-wordpress/ http://www.wpbeginner.com/wp-tutorials/8-proven-methods-to-promote-old-posts-in-wordpress/#comments Wed, 29 Apr 2015 12:00:31 +0000 http://www.wpbeginner.com/?p=27384 Want to increase your website traffic? One of the easiest and smartest method to get more pageviews is to promote your old evergreen articles. In this article, we will show you some of the best ways to promote old posts in WordPress. But before we… Read More »

To leave a comment please visit 8 Proven Methods to Promote Old Posts in WordPress on WPBeginner.

]]>
Want to increase your website traffic? One of the easiest and smartest method to get more pageviews is to promote your old evergreen articles. In this article, we will show you some of the best ways to promote old posts in WordPress.

Promote Old Posts in WordPress

But before we start, let’s take a look at why it’s important to promote old posts.

You see most people write a blog post, share it once or twice, and then leave it to die in their blog’s archive page.

Why let all your time, money, and efforts go to waste? Promoting older relevant articles allow you to maximize your traffic potential. Here are 8 proven methods to promote old posts in WordPress.

1. Regularly Share Your Old Posts on Social Media

Automatically share old WordPress posts

Most of your social media updates are seen by a fraction of your followers. Mainly because there is so much noise and not everyone is online at the same time.

That’s why it is recommended to share at various different times of the day. The Revive Old Post plugin automatically shares your old posts on social media networks like Twitter, Facebook, and LinkedIn. It spreads out your updates for different times allowing you to maximize your exposure.

For detailed instructions see our guide on how to automatically share your old WordPress posts.

2. Showcase Related Posts on Your Blog

Related Posts in WordPress

When you visit popular blogs like TechCrunch, Mashable, or even WPBeginner, you will notice that their is related content next to or below each article.

If a user has scrolled down to read your entire article, then they are engaged. Using a related posts plugin, you can provide them an opportunity to explore more of your website.

3. Display Your Popular Posts

List25 showing popular posts

It’s true that 20% of your website content gets 80% of your traffic. Some articles are simply more popular than others.

Why not get more traffic to them? You can start showcasing your most popular content with a few simple clicks. People coming to your website are more likely to read what many other users have already found interesting.

Here are some great popular posts plugins for WordPress that you can use.

4. Create Better 404 Pages

404 Error

Most WordPress themes come with a default 404 page template. A 404 page is displayed when a page that the user is looking for cannot be found.

You can use this opportunity to showcase the most important content of your website, and keep that visitor engaged. You can also add a search form on the page, so that users can locate the content they were looking for.

Here are detailed instructions on how to improve your 404 page template in WordPress.

5. Better WordPress Search

Improving WordPress search feature

The default search feature in WordPress is fairly limiting, but you can improve the search feature. There are two common approaches for that.

The first one is to use Google Custom Search form to replace the WordPress search. The other method is to use a search plugin like SearchWP.

Both of these solutions will help improve your WordPress search.

6. Custom Archive Pages

Custom archives page showing categories

Creating a custom archive page is one of the best way to highlight your old but still useful content.

You can show the most popular articles, most commented posts, recent posts, and so on. You can even display all your post categories / tags, add compact archives, and include a search form. This will help people not only in finding content, but will also help them understand what your blog is about. Don’t forget to add an email sign up form on the page.

You may also want to check out WPBeginner archives.

7. Interlink Old Articles

Interlink Your Articles

Building internal links is one of the most important SEO strategy. You need to make internal linking a habit.

It’s helpful to the user when you link to your old posts whenever it is relevant. People browse the web by clicking on one link to another. Make sure that there are plenty of your own links for them to click on.

Check out our guide on WordPress SEO tips for beginners for some more SEO advice.

8. Link Old Articles in Comments

Link to your articles in comments on your blog

When answering user comments on your own blog, you should try to use links to point them to other articles on your own website.

It’s not something you should force, rather it’s important to keep it in the back of your mind, and you will be surprised how many opportunities will come up.

This builds trust and increases your pageviews. This link you add is going to stay there and any future visitors with the same question will continue to click on that link.

We hope this article helped you fine some new ways to promote old posts on your WordPress site. You may also want to see our guide on 40 useful tools to manage and grow your WordPress blog.

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.

To leave a comment please visit 8 Proven Methods to Promote Old Posts in WordPress on WPBeginner.

]]>
http://www.wpbeginner.com/wp-tutorials/8-proven-methods-to-promote-old-posts-in-wordpress/feed/ 5