Category Archives: wordpress

How to Display Recent Posts from Category in WordPress


WordPress is the best platform for blogging and content management. Most of the popular blogs in the world have WordPress in their background. There are awesome free and premium themes available for different types of blogs, and hence, as a newbie, you should always choose WordPress to create your blog. One of the most important functions of a blog is to show its visitors all the latest and recent posts. Nobody would like to come to your blog if you keep on showing the old posts category wise.

Display Recent Posts From A Specific Category In WordPress – The Problem Arises

There are two ways by which you can show you latest posts – one is by showing them in the slider or through the first section of the homepage with a label Recent Posts. The second is by having a sidebar widget where a handful of latest posts can be displayed. But the problem that some bloggers face is that when you have a blog containing multiple categories of posts, if you show a handful of recent posts then some of the latest posts of specific categories may never get the chance to show up on the list. For example, let us consider that your sidebar widget shows five recent posts and you have ten categories and you are publishing one post for each category every day. So, naturally, five posts won’t be displayed, and your visitors are probably not going to know about them at all.

Therefore, it is important to display recent posts from a specific category in WordPress. You can highlight only one category and your visitors will understand that and check out other categories manually. You can also have multiple widgets showing latest posts of each category. There are two ways by which you can display recent posts from a specific category in WordPress.

Display Recent Posts From A Specific Category In WordPress – Using Third-Party Plugin

Step 1.
The first step is to install the plugin named Category Posts Widget. To install it, go to your admin dashboard, and place your mouse pointer on Plugins on the left menu. You will see a drop down menu from where you have to select Add New. In the next screen, search the plugin Category Posts Widget by its name and once it appears, click on Install button and then to the Activate button.

Step 2.
Once the installation and activation are done, you have to come back to the admin dashboard. From there, go to Appearance option and from the drop down menu, select Widgets. In the Widget screen, under Available Widgets, find Category Post Widget. Click on it, and it will expand with a few setting options.

Give a Title, select the Category to display recent posts from a specific category and enter the number of posts you want to show. You can also set the sorting parameter which is generally Date and whether to show post excerpt and set excerpt length. You can also choose to show post thumbnail and define thumbnail dimension. Once all the settings are done, click on Save button.

Step 3.
Now, you have to drag the widget to the section where you want to place it. You will find the sections like Front page Content section, Right Sidebar, Left Sidebar, Header section, Top Ad Section, Footer section and likewise depending on your theme. Click on the one where you want to display and drag the Category Post Widget from the left and release in its body. Go to your homepage and check the change.

It is important to note that this method is the best and easiest method to display recent posts from a specific category in WordPress. It is recommended for the beginners but advanced users can follow the following method, and you do not have to add a third-party plugin at all. Furthermore, you will have a few extra customization features.

Display Recent Posts From A Specific Category In WordPress – Using Coding

This is an advanced method where there is no need to install a third-party plugin, and you would require a code snippet only to display your desired category’s recent posts. Again, there are two different ways to do it – one by creating a site-specific WordPress plugin and the second is by pasting the code snippet in functions.php file.

By Creating Site Specific Plugin –
Step 1.
You have to access your website’s folder structure through FTP. Go to wp-content folder and then to Plugins. Under Plugins, create a new folder and give a meaningful name say Plugin 1. Under Plugin 1, create a file and name it anything you want but make sure it has .php as its extension. Now, open the file and type the following code snippet. After that replace ‘announcements’ with the category name whose recent posts you want to show.

For those who are curious what this code does, it simply asks WordPress to fetch ten recent posts of the category you mentioned and display it with its thumbnails in bulleted points.

Step 2.
Go to admin dashboard and then to Plugins from the left menu. Click on Installed plugins. Find the plugin that has the name same as the filename you created and activate it. Then go to Appearance from the admin dashboard and click on Widgets. There you will see the installed and activated plugin that you created and place(by dragging) that to the widgets where you want to show them like front page, sidebar or in available widget space.

By Pasting in Functions.php
Step 1.
Go to Appearance and then to Editor. Find the file functions.php and edit it. Add the following code snippet in it, replace ‘announcements’ with your category name and save it.

Step 2.
Go to Appearance and then to Widgets. Click on the widget area where you want to display the recent posts from a specific category. Create a text widget inside it and write [categoryposts]. If you check the code snippet, you would understand that [categoryposts] is a shortcode to call the function.

Similarly, if you want to paste the widget anywhere in a post, just write the shortcode and publish the post to see the recent posts.

5 ways you can write faster content for your WordPress blog

Write faster content is what we want always for our WordPress blog and this article tries to explore them.

Blogs are nowadays much more than just means to become popular or to share information, they have become a necessity.

Day by day more people use the Internet to get their products and services, anywhere and anytime. The Internet has become their most favourite place to find their favourite shops, blogs, and source of trusted information.

This is why the high quality content of the blog is really what matters. The first and the most important thing for any blog is its content.

Every blogger tries to find efficient and productive ways to attract customers, provide returning visits, millions of views and clicks. Here are some more news: only supremely useful and insightful content is not just enough. You also need some good design, that will allow and easy and smooth use. Your visitors should find and be concentrated on what they need, not how to find what they need.

It is not an easy task to get the right content which corresponds to your blog perfectly. Putting improper content can lead the visitors to some other blogs and websites.

Content must be simple, easy and clear. Content must make a good impact on the company and its products and services. Otherwise it can’t draw the attention of visitors through its line. Once good content is posted on your blog it will work for you for years and give you profits. Good content is like a long term investment which generates profit in forms of visitors, clicks, views and even money.

What is different in creating an interesting and engaging content is that you always need time, ideas, and means to ring it to a post.

There are also a handful of phases in creating any kind of written content, including blog posts, so you can write faster content for your blog:

1.Idea generation
2.Outline
3.Research
4.Draft
5.Revise/proof

But there are some tricks and ways you can write faster content for your blog and we are here to help you explore them:

1.Always keep any good idea whenever and wherever you see it

A good idea is half of the work. No matter how creative or experienced a blogger is, there comes a time when they don’t have a really engaging idea, or just don’t feel like having motivation or just don’t have time to develop an idea.

Nothing wastes a blogger’s time and energy more than starting to write and not knowing what to write about and how to develop plot.

You can always avoid the problem by creating and using sources for varied ideas and inspiration.

That’s why all content writers are strongly advised to have idea lists and update them every day on regular basis, but use them only in special cases as there is no such thing as extra ideas for a content writer.

2.Use WordPress plugins for planning

An editorial calendar is a great tool for planned and strategic blogging. It helps you to plan ahead, and if implemented properly should go a surprisingly long way in terms of engaging your audience and growing your subscriber base.

Keep a running list of possible content topics — and keep track of other blogger with the free

WordPress Editorial Calendar

Wordpress Editorial calendar

download

Planning ahead with an editorial calendar also helps you consider the whole month’s blogging needs instead of just thinking about your next post. A planned work, a scheduled. This shift in mindset helps ensure any special events, holidays, or other “time pegs” are on your radar and don’t get missed.

If you are working with a team Edit Flow, another WordPress plugin, is just the thing for you.

Edit Flow:

Edit Flow

download

Edit Flow empowers you to collaborate with your editorial team inside WordPress. We’ve made it modular so you can customize it to your needs:

  • Calendar – A convenient month-by-month look at your content.
  • Custom Statuses – Define the key stages to your workflow.
  • Editorial Comments – Threaded commenting in the admin for private discussion between writers and editors.
  • Editorial Metadata – Keep track of the important details.
  • Notifications – Receive timely updates on the content you’re following.
  • Story Budget – View your upcoming content budget.
  • User Groups – Keep your users organized by department or function.

You should also keep other articles, newsletters and possible headlines, sources, in an email folder together. Having a good idea with an organized material won’t take long to turn into a high quality blog post and you can write faster content for your blog each time.

CoSchedule:

CoSchedule

download

CoSchedule plugin is quite unique. According to its WordPress Plugin Directory listing, it is the first and on the all in one editorial calendar for content marketing and social scheduling. This means that not only can you quickly and easily schedule your posts, but also your social media updates, all from the same drag-and-drop calendar.

It keeps you and your team insanely organized and is the first (and only) editorial calendar to integrate with WordPress. Collaborate, schedule, and automate all of your content marketing and social media with CoSchedule.
Take control of your content strategy and consolidate your tools into one content marketing editorial calendar with CoSchedule.

3.Keep it simple

Quite often blog posts are not read or popular because they ate too long or too detailed.

Good blog posts are concise and stick to a single topic.

Just give general overview of the topic and wait for your readers responses. If they are interested they’ll let you know, if no, you are losing your reader’s time and your reputation.

4.Try different Templates and choose yours

There are hundreds of successful blog post formulas and templates. But before choosing one best for your blog do some testing, use 4-5 that you consider good and make a choice based on how the post performs.

There are just a handful of basic blog post types:

1.List post
2.How-to
3.Profile
4.Essay
5.Review
6.Interview
7.News/Newsjacking
8.Trandjacking

Understand the needs of your readers and be flexible in order to be able to write faster content for your blog.

5. Avoid anything that distracts you

To write quickly, you have to get into the zone. Close your office/room door, shut down extra browser screens, turn off your phone, close your email and tell your family members or colleagues that you are busy for the next 30mins with a deadline.

A Guide to or How to Translate a WordPress Theme

featured-image
Enabling clients to operate their sites in native languages is an essential aspect of accessibility. It can become significant to translate a WordPress theme if you are developing a site that has users from multiple countries aware of different languages.

We’re not talking about localizing a theme by translating the content on the front-end like posts, pages, etc instead it refers to the theme-related content in the WordPress Admin area such as the theme options, descriptions and of course, the customizer.

The WordPress developers put tremendous efforts and importance on the translation of WordPress Hub. It’s already translated into various foreign languages, which makes it an entirely global content management system. Localising a theme can be significantly beneficial for clients who use the admin area in their regional language, or else a vital part of their admin settings will be displayed in English, while the other parts of the dashboard in their mother tongue.

In this blog post, we’ll show you how to locate and translate a translation ready WordPress theme.

Locating a Translation Ready WordPress Theme
WordPress has huge support to develop websites in multiple languages, theme creators may not find it significant to design translation ready themes. If you are looking to setup wordpress website in any other language than English, you need to ensure that the theme you are downloading or buying, is a translation-ready theme.

You’ll find a lot of options if you go to the WordPress theme directory’s tag filter interface, which are the tags theme that developers have added to their themes. When you select the option of “Extended WordPress Options”, tick-mark the box next to translation ready option. If you want to translate a WordPress theme into languages like Hebrew, Arabic, and Persian, check “rtl-language-support” option available under the same “Extended WordPress Options”. Click on the Find Themes button to see the results that match your query. You can further funnel down your search by tick-marking other options in the tag filter.

How to Translate a WordPress Theme

If a developer has already added translation features to a theme, it will get listed under “translation-ready” category, which means you can use that theme to create a multi-language website. Every such theme includes a file with the .POT extension or in some cases, there might be a .po or .mo file that allows you to translate the theme easily.

What are .po, pot and .mo files?
WordPress uses a system known as “gettext” for localisation, translations and internationalisation. In “gettext”, the developers use “gettext calls” for each translatable area of the development, which later gets collected in a .POT file. It means that a .POT file is nothing but a template of translatable sequences in a program.

Later, translators use .POT file to generate a .PO file for the required language. The file name refers to the language. For ex, a Spanish translation file would have a name as sp_SP.po. It’s the file that you’ll translate.

The .mo file is the machine readable format of a .po file, which automatically gets generated from the .po file. This is important in how to translate a WordPress theme

What’s Poedit?
First of all, you need to download and set up Poedit on your desktop as it is a standalone program running. Various translation editor software are also available, but Poedit is well known and recognised across the globe. Irrespective of what software you choose, be sure to use a gettext editor.

Translating using Poedit
You can easily edit .po and .pot files in any of the text editors available on the market. Various Linux based distributions are pre-installed with command line tools to generate .mo files. Since you are a beginner with localisation, using a gettext editor would be much more beneficial to you.

We are using Poedit in this post to translate a theme, which is a gettext editor available for Mac, Windows and Linux. Poedit is extremely easy to use and assist you to convert your theme without sabotaging translation files quickly. The relevant field to look out in here is “language”. You can follow these steps:

  • First of all, download and install Poedit. (For people whose themes have .POT file: they can go to File and choose New catalogue and select the .Pot file.)
  • The moment you open the .POT file, Poedit will show you a dialogue box. It’ll ask you information about the project.

 

Poedit will ask you for “saving preferences” of the translation file at the moment when you start filling in the Catalogue Properties Box. You can write the preferred name followed by a .po extension, which is the default. The file’s name is important. You can save it in two letter language_country code. For ex: for Spanish, you can save the translation as sp_SP.po and English translation for the USA will be saved as en_US. You can find a country and language in the search box available in the catalogue box.

Once you have saved the file in the mentioned format, you are ready to translate your WordPress theme.

Poedit is an incredibly easy interface for beginners. It lists all translatable strings, and you can click on any of it to translate. It showcases three boxes. One for the original string, another one for translation and the last one for the guidelines for translators. As soon as you start translating the string, Poedit will automatically move to the next string. The moment you save your file, it’ll by default compile a .mo version of the archive in the corresponding directory.

After entirely translating your WP theme, use FTP to upload the theme to your WordPress website, and go to admin area to activate the theme.

Not important but highly encouraged step: Setting WordPress to Use Translated Theme!
Do you know if you are using WordPress in default English, you can still force it to use translated files for the theme? Yes, it’s possibly by simply adding the following code to your wp-config.php file:

  • // Replace sp_SP with the preferred language and country code.
  • define (‘WPLANG’, ‘SP_SP’);

 

Wrapping it up
WordPress becomes cooler when we know that lets you clients change the language of the admin area. Just go to the Settings > General dashboard menu, and it will automatically pick the right translation files for the theme.

We hope this post has helped you translating WordPress theme into your native language. If you are a beginner looking to contribute back to the community, the translation is one of the best ways. Various developers appreciate user involvement and who knows you might be the next one to get extra support, PRO add-ons, etc!

Author Bio:
Catherrine Garcia is a passionate blogger and a freelance Web Developer. She along with her group of freelance developers, are experts of creating Websites on CMS.

Why You Should Use Headings in Every Blog Post

Wondering why you should use headings in every blog post?

To create and publish high quality content is one thing, and to serve it in the right way both for SEO purposes and a great user experience is quite another thing.

A well chosen title together with proper headings is all that makes difference! While the title is the face of your post content to garner attention and persuade people to start reading, headings are there to keep them interested throughout the whole process of reading and incite them to go till the end.

What are headings?

Actually, headings are important structural and technical components defining any site or blog post. They are small pieces or lines of information letting the reader know that the next paragraph of the blog is about. All in all, they act as titles for each part of the blog for a more compact look and feel.

Figuratively, headings are the pillars of your blog posts. Whenever a potential reader browses your post, the first thing he or she pays attention to is the important and outlined parts of it to understand what the whole text is about. Hence, headings are a true indicators of your posts being seductive to your audience.

Why you should use headings in every blog post?

On the whole, using headings when creating any new blog post will enable you to create engaging, easy to read and well arranged content that will be much appreciated by your blog readers and search engines equally.

They help you divide up your post content into small and easy to digest parts

Showcasing your content with smaller portions is an important technic to avoid from distraction. It’s a well known fact that human beings are lazy enough not to read a long post up to the end, no matter how interesting or informative it is. Hence, if you use headings in every blog post, you are likely to save your readers from scrolling through boring and long chunks of texts.

The truth is that people cast a first and appraising glance at your post’s overall design and structure and see whether it’s worth following it. This is where accurately used headings can help your blog posts look useful and worth reading.

The blogger or the author of a specific post also benefits from headings

Of course, nobody wants to lose the semantic clue passing throughout the whole article or post. When you break up your blog post into separate parts and use headings in each blog post, it keeps your concise and well organized not to distract from the main topic and write something that falls within the scope of each heading and subheading.

Integration of headings can make your posts look good and be attention grabbing

Using headings in your blog posts and publications is not just meant for simplifying the reading process of its readers. They are also used as design touches to stylize your posts with unique colors and styles, so that they can be really attractive for your web viewers or blog readers.

They are essential for building balance and visual consistency.

Additionally, they will also help you in building balance and visual consistency into your blog and its content. On the one hand, the webmaster will not spend too much time on defining the heading details and styles each time and for each post. On the other hand, the blog readers will scan all your pages quickly since they subconsciously know the structure and visual appearance of your posts.

Headings are useful for SEO

Finally, the SEO factor of headings should be noted. It is one of the main purposes of categorizing your content with headings.

To put it short, search engines, and Google, in particular, love and appreciate headings. Search engines use headings to identify the most relevant parts of your posts, as well as indexing the general structure and content of your site or blog page.

If we go deeper into the technical details and the heading tabs Google gives preference to, we should note that there are 6 different HTML headings available whenever you want to use headings in each blog post.

Which are types of headings one can use?

This is heading 1

This is heading 2

This is heading 3

This is heading 4

This is heading 5
This is heading 6

These are supported by all major search engines, including Google, Mozilla, Internet Explorer, Opera, etc.

As the statistics and rankings show, Google gives the greatest value to h1 heading element. And, although some specialists state that there is only a slight boost to your blog’s SEO via proper heading elements, the usage of h1 or h2 heading tags are preferable in any way.

On the contrary, some experts emphasize the importance of moving away from the constant usages of h1, since WordPress or other HTML5 based websites already embed h1 in meta data of the page to give Google and other search engines a note about the nature of a post.

Instructions for headings

With all the advantages headings have for every modern website or blog, you should follow a certain guideline to make them effective and really beneficial:

Make sure the overall scheme of your post makes sense with headings included in it.

Including 5 or 6 lines in each paragraph dotted with a heading seems to be an optimal division of any blog post. However, the frequency of their usage depends on the overall design of your site, its policy, the structure of the target post, its nature and other factors.

Try not to repeat certain words and expressions at the beginning of each heading.

In order to reduce the difficulty of scanning the whole blog post and getting more valuable information from it, you need to avoid repeating the same words when writing your headings. Keep them unique and easy to distinguish.

Don’t forget to use keywords in headings.

Using keywords in headings not only has to do with advanced SEO rankings, but also with a clearer meaning of the paragraph following the heading.

How to Redirect 404 page to the Home Page in WordPress

redirect 404 page WordPress

This article discusses why and how to redirect 404 page to Homepage of WordPress websites.

The HTTP 404 error is basically page not found error.

It can either be client side error or server side server.

In client side error, a user types an URL that is not valid or wrong.

In such a scenario, the response from the server side will be null and hence, the user will see a 404 page not found error.

On the other hand, when a client types an URL or goes to an URL from social media pages or search engine to your website but somehow that page is missing from your server, he will see page not found 404 error for no fault of the person.

In such a scenario, it is important to redirect 404 page to the home page in WordPress so that the person can browse other things.

Why Does 404 Error Happen?

There are various reasons why 404 error can happen.

It could be due to the typing mistake of the user when he manually types an URL.

It is important to note that the user must type the domain name and extension correctly else you will not be able to redirect 404 page to the home page in WordPress.

The most likely occurrence of 404 error from server side is when you migrate a website from one domain name to another or when you migrate it from one web server to another.

The chances are more in the second case due to different permalinks structure and other factors.

There are likely to be many broken links that you have to find out and fix, but in the meantime, you can redirect 404 page to the home page in WordPress so that users do not leave disappointed.

This is a better approach than showing the users a customized redirect page which does not serve your purpose, and the users are likely to leave your site and check the same topic on your competitor’s site.

How To Redirect 404 page To The Home Page in WordPress Using Redirection Plugin

The first thing you need to do is install Redirection plugin.

Redirection Plugin

download

You have to go to the Dashboard and from the left menu, select Plugins and then click on Add New option. Search the plugin by its name and install and activate it.

Then go to Tools from the Dashboard and click on Redirection to set it up perfectly.

redirect 404

In the screen shown above, you have to enter the 404 error pages’ URLs one by one in Source URL and add the corresponding new URLs to target URL which could be the home page.

Apart from that, it comes with various options to redirect people according to the source by changing the Match option to URL only, URL and user agents (only for registered users and subscribers) and URL and referrer (only for referring sites).

The last two options will help subscribers, site members or referring sites to go to target URL which may not be the home page and can be something similar to the old page that has got deleted or broken.

Once everything is done, you can check yourself by going to the broken URLs and see the expected result.

The drawback of this method is the fact that you have to know the broken URLs so that you can redirect to home page or any other page for that matter.

404 redirect WordPress

There is a solution for that too. Redirection provides a tab to check the URLs which people are typing wrong and the pages where people are getting 404 error. Accordingly, you can copy those URLs and set the target URLs. As a matter of fact, you can also detect bots that are trying to access each and every page to get a loophole to access your website from this list of 404 URLs. You can block such bots by IP address and take necessary security actions.

One of the best features of this plugin is that fact that if you happen to modify the URL of an existing and published post, the plugin automatically sets a redirection for the old URL which might have been crawled by the search engine.

Another plugin which redirect 404 pages to directly homepage is

All 404 Redirect to homepage plugin

All redirect 404 to homepage WordPress

download

How To Redirect 404 page To The Home Page in WordPress Using Code

If you do not want to take the headache of knowing the URLs of the broken links and then fixing it and just want to redirect your 404 page to home page in WordPress, you have to write the following code.

But before that, you need to connect your FTP to your web server and in the theme’s folder, you will find a file named 404.php. In case you do not find it, you can create one with the same name. Open the file and paste the following.

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".get_bloginfo('url'));
exit();
?>

Save the file and disconnect FTP with the web server. Now, whenever a user types a wrong URL, or he lands in a 404 error web page on your website, he will be redirected to the home page.

Why Should You Fix 404 Error At Earliest?

If your website has 404 error or broken links, Google crawlers will downgrade your website because it is directly impacting user experience.

For example, the search engine result page is showing a post link to the users from your website. When the user clicks on it and reaches your website, he finds out that the page does not exist.

This is what leads to bad user experience. If you could redirect the user to a similar article URL on your website through Redirection plugin or at least send him to your homepage, it would have been better.

Even having a 404 redirect page that will appear for every broken link will do instead of showing an error.

404 redirect WordPress

Furthermore, it creates a bad impression to your subscribers, and they are likely to unsubscribe you if they get too many 404 errors after you have moved your site from one domain to another or from one web host to another.

Therefore, redirect your 404 page to the home page in WordPress at earliest.

How to Add Sticky Posts in WordPress Custom Post Type Archives

add sticky posts WordPress

You can add sticky posts in WordPress custom post type archives and make your post different and worth reading.

Every website owner should look forward to making their content quality better along with better content representation.

Content is always the king but if it is not well presented, even good quality content does not make it big.

The best way to represent content different from others is by using UL elements that are not common but very attractive. One of such thing is sticky posts.

You can highlight important points or show affiliate links through stick post.

It instantly makes your web content different and better than others and it will help you create a complete brand by using it in most of the content page you have on your website and your readers will get into a habit as well which will help to in the long run.

add sticky posts

How To Add Sticky Posts in WordPress Custom Post Type Archives Using Plugin –

Step 1. To add sticky posts, you need to install and activate the plugin named Sticky Custom Post Types.

Go to Admin Dashboard and from the left menu, select Plugins and click on Add New from the dropdown menu.

Search for the plugin by its name and install and activate it.

Once done, you have to come back to the Dashboard and go to Settings from the left menu and click on Reading from the dropdown.

add sticky posts

In the new screen, you have to scroll down and you have to select the position where you want Stick This Option to be enabled. It could be homepage or any particular post type as well.

By default, WordPress shows sticky posts only on the home page and therefore, you have to enable in for other post types as per your requirement.

For example, if you have movie review custom post type or coupon code custom post type, you can select where the sticky post will appear.

Step 2. Now, it is time to add sticky posts in WordPress custom post type archives on different positions and make them appear differently.

For that, you have to create an archive template for your custom post type already present on your website.

Create a file named archive-post-type.php and then go to theme’s archive.php file and copy the entire code inside it and paste it in your archive-post-type.php file.

Then if you know coding, you can modify the code as per your requirement to create any template you need. Then upload the file to your theme’s directory where archive.php file is.

sticky posts

Step 3. Then you have to edit the important file functions.php and paste the following code there. You have to go to Dashboard, Appearance and click on Editor. File the functions.php file there and add it.

function wpb_cpt_sticky_at_top( $posts ) {
    // apply it on the archives only
    if ( is_main_query() && is_post_type_archive() ) {
        global $wp_query;
        $sticky_posts = get_option( 'sticky_posts' );
        $num_posts = count( $posts );
        $sticky_offset = 0;
        // Find the sticky posts
        for ($i = 0; $i < $num_posts; $i++) {
            // Put sticky posts at the top of the posts array
            if ( in_array( $posts[$i]->ID, $sticky_posts ) ) {
                $sticky_post = $posts[$i];
                // Remove sticky from current position
                array_splice( $posts, $i, 1 );
                // Move to front, after other stickies
                array_splice( $posts, $sticky_offset, 0, array($sticky_post) );
                $sticky_offset++;
                // Remove post from sticky posts array
                $offset = array_search($sticky_post->ID, $sticky_posts);
                unset( $sticky_posts[$offset] );
            }
        }

        // Look for more sticky posts if needed
        if ( !empty( $sticky_posts) ) {
            $stickies = get_posts( array(
                'post__in' => $sticky_posts,
                'post_type' => $wp_query->query_vars['post_type'],
                'post_status' => 'publish',
                'nopaging' => true
            ) );
            foreach ( $stickies as $sticky_post ) {
                array_splice( $posts, $sticky_offset, 0, array( $sticky_post ) );
                $sticky_offset++;
            }
        }
  
    }
  
    return $posts;
}
add_filter( 'the_posts', 'wpb_cpt_sticky_at_top' );
// Add sticky class in article title to style sticky posts differently
function cpt_sticky_class($classes) {
            if ( is_sticky() ) :
            $classes[] = 'sticky';
            return $classes;
        endif;
        return $classes;
                }
    add_filter('post_class', 'cpt_sticky_class');

The above code makes sure that your sticky post stays on the top of the custom post type archives.

If you know coding, you can change the position as per your requirements.

Step 4. Now, a sticky post does not look good without color and for that, you have to open Stylesheet from the Editor and paste the following.

.sticky {
background-color:#ededed;
background-image:url('http://example.com/wp-content/uploads/featured.png');
background-repeat:no-repeat;
background-position:right top;
}

As you can see, there is an image which you have to upload as per your wish as to how you want your sticky post to appear.

That is how you add sticky posts in WordPress custom Post Type Archives and now, it will appear on the top of every custom post type archives.

Cool Things You Can Do With Sticky Posts In WordPress –

Now that you know how to add sticky posts in WordPress Custom Post Type Archives, you can extend your knowledge to apply in different areas and here are the things you can do with the sticky post.

sticky posts

1. Expiring Sticky post

If you are using to highlight a special event or to show affiliate links and coupon codes, you can create a hype by automatically disabling the sticky posts.

For that, you need to install the plugin Expire Sticky Posts and set the expiry date.

This will come really handy.

2. Displaying Latest Sticky Post

You must be using sticky posts only for a few featured posts.

But with time, your featured posts disappear under the burden of new featured posts. To revive them, you can have custom archive pages.

Paste the following code in the functions.php file. This will create a shortcode and paste the shortcode anywhere you want to display them.

function wpb_latest_sticky() {
/* Get all sticky posts */
$sticky = get_option( 'sticky_posts' );
/* Sort the stickies with the newest ones at the top */
rsort( $sticky );
/* Get the 5 newest stickies (change 5 for a different number) */
$sticky = array_slice( $sticky, 0, 5 );
/* Query sticky posts */
$the_query = new WP_Query( array( 'post__in' => $sticky, 'ignore_sticky_posts' => 1 ) );
// The Loop
if ( $the_query->have_posts() ) {
    $return .= '<ul>';
    while ( $the_query->have_posts() ) {
        $the_query->the_post();
        $return .= '<li><a href="' .get_permalink(). '" title="'  . get_the_title() . '">' . get_the_title() . '</a><br />' . get_the_excerpt(). '</li>'
   
    }
    $return .= '</ul>'
} else {
    // no posts found
}
/* Restore original Post Data */
wp_reset_postdata();
return $return;
}
add_shortcode('latest_stickies', 'wpb_latest_sticky');

3. Styling Sticky Posts

If you want to make your sticky post stand out, you need to make it stylish. Here is the code you need to paste in stylesheet for decoration.

.sticky {
background-color:#ededed;
border:1 px solid #f5f5f5;
color:#272727;
padding:5px;
}
.sticky:before {
  content: "Featured";
  color: #FFF;
  background: #f20000;
  padding: 10px;
  display: inline-block;
  text-align: right;
  float: right;
  font-weight: bold;
  text-transform: uppercase;
}

There are various things you can do with sticky post and you need it to make your custom posts stand out.

How to add icons to WordPress custom menus without plugins

Icons WordPress Custom Menus

In this article, we are going to illustrate how you can add icons to WordPress custom menus without plugins for any theme.

You must have come across websites that use icons to represent categories and sub-categories in the menu section.

It is a fact that icons beside the menu options look visually more appealing.

It also makes the website looks premium and increases the trust factor massively.

If you are using any free themes, it is certain that there are no options to add icons to WordPress custom menus without plugins.

There are only a few premium themes that provide the option, but you have to be an advanced user to avail it.

add icons WordPress menus

The reason for not using a plugin for it is that it is a very small work and there is no need of using a plugin and waste memory space and processing power when you can use the same on something important.

It does not matter what type of website you have, it is always a good idea to make your website more visual than textual, and hence, you should add icons to WordPress custom menus without plugins using the following mentioned steps.

Steps To Add Icons To WordPress Custom Menus Without Plugins

By custom menus, we mean to say that you can add icons on any menu you have on your website start from the navigation menu to double menu on the top where social media icons and contact icons are placed with call to action options.

The first thing you need to do is upload all the icon images in your media section.

Step 1. Go to Admin Dashboard and move to Media option on the left menu and click on Add New. Select all the icon images and upload them.

After uploading, open a notepad file and paste the URLs of each icon and you can name them so that you can remember which URL is for which icon.

Step 2. Go back to Admin Dashboard and got o Appearance from the left menu and click on Menus.

In the new screen, click on Screen option on the top right corner and then check the checkbox ‘Display CSS Classes in Menu Items’ for the menus where you want to add icons to WordPress custom menus without plugins.

add icons WordPress

Step 3. Now, you need to scroll down and click on any item on the current menu where you want to add icon. It will let you write CSS class name.

The CSS class you mention here should correspond to the CSS class you write in the CSS program later on.

Step 4. Go to Admin Dashboard and go to Appearance again.

This time, click on Editor. Once the Editor opens, locate the stylesheet which is the theme’s CSS file where all the design components are mentioned.

There you have to paste the following code.

.homepage {
background-image: url('http://www.example.com/wp-content/uploads/2014/12/home.png');
background-repeat: no-repeat;
background-position: left;
padding-left: 5px;
}

This is just for adding one particular icon to one particular menu option. Here, ‘homepage’ is the CSS class name that you mentioned in Step 3 and URL here is the corresponding URL you copied from the Notepad file where you pasted the URL.

For example, your menu has seven categories on your menu. So, you have to paste the above-mentioned code seven times with corresponding CSS classes for different options names you set in Step 3 and then replaced the URL of the images accordingly.

Alternative Way To Add Icons To WordPress Custom Menus Without Plugins

In case you do not want to upload the icons and want to use some professional and stunning icons that will increase the branding of your website, you have to take a different route to add icons to WordPress custom menus without plugins.

There is a library available named Font Awesome where all the different types of icons are available. All you need to do is add the CSS classes after activating this Font Awesome library, and the appropriate icons will be placed beside the menu options.

add icons WordPress custom menus

Step 1. Go to Dashboard>Appearance>Editor. Open functions.php and add the following.

<?php
function wmpudev_enqueue_icon_stylesheet() {
    wp_register_style( 'fontawesome', 'http:////maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' );
    wp_enqueue_style( 'fontawesome');
}
add_action( 'wp_enqueue_scripts', 'wmpudev_enqueue_icon_stylesheet' );
?>

What this code does is that it registers Font Awesome stylesheet from the external link mentioned. You could have placed inside header.php but that is not a good practice.

Step 2. This step is similar to what you have already done before which is going to Dashboard>Appearance> Menus. Then click on Screen Options in the top right corner and check the checkbox next to CSS Classes.

Step 3.
It is important to use the correct class name so that appropriate icons are placed beside menu options. The following is a list of class names that comes with Font Awesome and you should use them accordingly.

add icons WordPress menus

For Home: fa fa-lg fa-home
For News: fa fa-lg fa-newspaper-o
For Gallery: fa fa-lg fa-camera-retro
For About: fa fa-lg fa-info-circle
For Contact: fa fa-lg fa-envelope-o

Where fa stands for the main class, fa-lg stands for large icons and then the rest part according to requirements. For example, you go to Dashboard> Appearance> Menus and select Primary menu.

The home option will be the very first option, and for that, you should use fa fa-lg fa-home as the class name so that when you save it and refresh your homepage, you could see the change.

If you have knowledge of CSS, you can easily change the Font Awesome CSS and make necessary changes as per your requirement.

What Is The Best Plugin Available To Add Icons To WordPress Custom Menus?

This is just for knowledge and for new users who do not want to use code and stylesheet due to lack of knowledge and prefer a plugin for everything. The most popular plugin to add icons is

Menu Icons

add icons WordPress

download

After installing and activating the plugin, you have to go to Dashboard> Appearance> Menus.

For every menu option, you will find a field named Icon where you can select the icons for the library provided and make your website more visual.

How to Migrate Your WordPress Site to Any Host

In this article, we will talk about how to easily migrate your WordPress site to any other host you need. Due to different reasons, you might need to transfer your site from one hosting provider to another. You might migration in case of the creation of a new site, redesign of the site or the unsatisfactory characteristics of the previous hosting. In one way or another, you will have several options to use, from organizing the migration all by yourself and save your financial means with using third party plugins to make the whole process easier for you or hiring a specialist to do it.

If you are keen on doing it on your own account, this article is for you. At first glance, it may seem that it’s a complex task and only “pumped pros” can do that, but the reality is that keeping your site undamaged and secure during migration is much easier than you think.

On the whole, migration of a website from a local server or from another hosting is not a major problem. All you need to do to migrate your WordPress site to a new host is to follow several simple steps showcased below. As your WordPress powered site is a collection of static HTML pages and CSS styles, the whole complexity of site migration is in two actions: you need to copy all the files from the old hosting and “pour” these files into the new hosting.

How to Migrate Your WordPress Site to a New Host

1. Choose a Reliable New Host for your WordPress site:
If you are tired of constant problems and downtimes with your hosting provider, it’s high time to think about entrusting your site to a new WordPress host. If your site is not well protected, down for a long time, constantly broken or inaccessible for your audience, loss of revenue, negative influence on your site’s search engine results, security and malware attacks are inevitable.

We at SKT Themes provide hosting services to help you do a right hosting choice. Follow the link https://www.sktthemeshosting.com/ to familiarize yourself with the available plans and get technical support if needed to be sure you will get what you pay for.

2. Use Duplicator for Quick Migration:

Duplicator:

Duplicator is a fantastic free solution to all kinds of site migration, copying, transferring and backup purposes. Whether you are changing domains or hostings, Duplicator will organize to keep your site safe and sound during the whole process.

Install and activate the plugin, then navigate to your admin panel, Duplicator, Packages and click on Create New button at the top of the page.

Follow few steps to create the package, make sure everything is assessed as “Good” and click “Build” button. As soon as the process is done, you will be offered to download two files: Installer and Archive. Download both with one click download. The Archive is the copy of your WordPress website, and Installer is the file to automate the site installation process.

3. Import and Migrate Your WordPress Site to a New Host:
Now you need to use your FTP in order to connect to your new host for uploading the downloaded files to it.
Add your server’s IP address or server host name to connect to your FTP, as entering your domain name will still indicate your old host. You will find the required IP address and server host name from your new host’s cPanel.
Find username/public_html/ folder in the root directory of your site and upload 2 files you have downloaded with Duplicator: archive.zip and installer.php.

Since many hosting companies automatically install WordPress in the root directory, you will need to check the root directory to be empty. If there is any installation, delete it and go ahead with your own WP migration.

4. Change the Hosts Files to Guarantee 100 % Uptime.
Once the files are uploaded, follow the link below to access to installer.php file:

http://www.yoursite.com/installer.php (replace yoursite.com with your domain name)
As your domain still indicates your old website, you are going to find 404 error. You can change the domain nameservers and indicate the new host. But this will result in your web visitors finding a broken site while the migration process is going on.

Therefore, it’s much preferable to make it possible to access your new website temporarily from only your computer and make all the needed actions. This will prevent any downtime which your website would otherwise experience.
Find the IP address of your new host from cPanel and copy it. Then head over Programs, All Programs, Accessories, right click on Notepad and choose Run as Administrator. Choose Yes from the opened UAC prompt to access your Notepad as an administrator.

On the Notepad screen, follow the path File, Open and afterwards go to C:\Windows\System32\drivers\etc., choose hosts file and open it.

If you are a Mac user, then use Terminal app and add sudo nano /private/etc/hosts command to it.

Both Windows and Mac users need to add the IP address copied form the new hosts’ cPanel as well as their domain name to the bottom of the hosts file. Save the changes and you are free to access the files on the new host from your computer.

Note. Undo all the changes once the migration is completed.

5. Run the Duplicator Migration Process:
Before passing on running the installer to migrate your WordPress site to a new host, be sure have MySQL database created.

Follow http://www.yoursite.com/installer.php link (replace yoursite.com with your domain name).

The installer will run several tests and all you need to do is to click “Pass” next and accept terms and conditions to go on with clicking the next button.

In the second step, you will be required to add your database name, username and password, as well as MySQL host. In the majority of cases, host is localhost. Enter the needed details and click on Test Database for making sure the information you have added is correct and Duplicator can connect.

Click on the next and Duplicator will import database from the archive.zip file into the new database.
You can skip the next step asking to update your URL as you are not going to change the domain name. Click on the next and in the 4rth step Duplicator will display Site Login button for you. Now you can login to your WP site with a new host.

6. Update Your Domain:
In order for your users to be taken to a new website, you need to switch DNS nameservers. Your new web host will provide you with nameserver information. Depending on your domain registrar or web host providing domain, the process may slightly differ.

However, you need to find default nameservers part, replace “default” with “custom”and replace nameservers with the ones the new host provided you with. DNS changes may take several hours.

Now your website content is both on your old and new hosts and your web visitors will never guess you have migrated from one host to another.

How to Install and Setup WP Super Cache for Beginners

Do you want to quickly install and setup WP Super Cache and make your site’s performance much lighter and speedy? In this article, we are going to hand carry you through the shortest and practical way to it.

We all perfectly know that the optimal performance and speed of any site matter heavily when it comes to higher SEO rankings on the one hand, and web user’s satisfaction, on the other. WP Super Cache is one of the best tools in this relation designed and coded to considerably optimize your site’s operation with the help of caching.

All you need to do is to spend a couple of minutes to install and setup WP Super Cache plugin and let it generate static html files to respond to your web user’s inquiries and serve their needs

1. How to install WP Super Cache:
First of all, you need to install and activate this plugin. Actually, there are 2 ways you can do it. One goes through WordPress directory of plugins where you need to search for WP Super Cache plugin, find and download it, extract the downloaded archive to your PC, use some FTP client in order to upload the extracted to wp_content/plugins/folder. As soon as these steps are followed, all you need to do is to head over Plugin page in your WordPress dashboard and activate the installed plugin.

The second way is much easier than the first one. In this case you are going to use only your WP dashboard. Just go to the Plugins, Add new, search for “WP Super Cache”, install and activate it. Finished!

2. How to setup WP Super Cache:
Once this plugin is activated on your WP website, it will let you know that caching is not enabled on your website. In order to setup WP Super Cache and enable caching, you need to go to Settings, WP Super Cache. Here you will find different tabs like Easy, Advanced, CDN, Contents, Preload and more.

We’ll start with the easy way and will advise you to select Caching on under easy tab and clicking on Update Status for enabling caching. Further, you will be offered to use Cache Tester to check whether it is working properly on your site.

3. How to setup WP Super Cache with advanced settings:
From simple to advanced, from basic to powerful, the possibilities of WP Super Cache are many. And if you want to take advantage of the advanced settings of this plugin, you need to jump to Settings, WP Super Cache and choose Advanced tab instead of Easy one.

Under Advanced tab you will find two basic groups of settings, Caching and Miscellaneous, with each of them several options which are pretty easy to understand and enable. First and foremost, check the box before “cache hits to this website for quick access”, which is also recommended by the plugin itself.

Basically, WP Super Cache utilizes PHP for serving cache files. However, in order to have optimal settings for the majority of hosting servers and environments, whether shared or dedicated, we recommend you to select “Use mode_rewrite to serve cache files” instead of “use PHP to serve cache files”.

Once the above discussed options are selected and checked, click on Update Status button to save them. As soon as your changes are saved, a yellow box with a long text will appear on your screen. It will notify you that in order to serve static html files, your server must have the correct mod_rewrite rules. Here you need to scroll down, find “Update mod-rewrite rules” and press it. When the rules are updated, the yellow box will turn green.

Along with the request to update rules, you may also be notified about garbage collection scheduling. In order to setup this part, scroll the advanced setting page down until you find the section “Expiry Time and Garbage Collection”. Here you can easily set up the frequency and time you need optimal for garbage collection of the cached files on the server. If you want to be notified each time the garbage collection runs, you can enable email notifications as well.

In the “Miscellaneous” part under Advanced tab, you will find “compress pages so they’re served more quickly to visitors”. This is another highly recommended setting to choose for enabling compression in your plugin. In this case, the cached files will be presented as compressed files and it will take less time to the browser to download these files as they are smaller in size.

4. CDN integration with WP Super Cache:
The next important step is to enable CDN in your plugin. You can find CDN tab next to the Advanced tab, under which you can enable CDN option. CDN is a content delivery network of servers delivering cached static content from the sites to their users taking into consideration the geographical location of those users. Accordingly, using this CDN functionality on your website will do good to your site’s speed, better user experience and better search engine optimization.There are lots of high quality CDN providers you can consider for using together with your WP site.

Once CDN support is enabled, enter your offsite URL, which is going to be something like http://cdn.mysite.com and will be the url of your pullzone. You can also have additional CNAMEs like http://cdn1.mysite.com, http://cdn2.mysite.com, etc. The last action to perform in this part is to check the box stating “skip https URLs to avoid “mixed content” errors”. Then save the changes and you are done!

5. Serving a static site with WP Super Cache:
WP Super Cache makes it possible to disallow PHP processes and serve a static site with super cache static files. By default, refresh preloaded cache files is set as 0, and the minimum requested time is at least 30 minutes. Enable “preload mode” to preload your WP post and disable garbage collection for old cached files. When the preload “acts”, the cached files of the updated post are deleted and then regenerated.

We are done! Hope our article explaining how to install and setup WordPress Super Cache plugin will help you optimize your WP site with this wonderful caching solution.

What Is The Future of WordPress? Features, Updates & Predictions

What to expect from WordPress in the upcoming years and generally what is the future of WordPress? Which updates and improvements are envisaged to be made, which options and features are going to be removed and added, changed or modified? In this article, we’ll share our thoughts on and predictions of the future of WordPress and the possible directions WordPress society will use to move forward in the near future.

When it comes to choosing a content management system, nothing beats WordPress. And it’s not surprising that more around 76 million websites, among them many famous sites and business profiles, personal and celebrity blogs are based on this wonderful platform. From cost effectiveness to less learning curve in terms of the usage and customization processes, from multilingual support to GPL licensed nature, the range of the pluses of WordPress seems to have no end.

Naturally, while being number 1 solution for millions of website owners and admins, WordPress CMS has never been a static environment. Constant updates and the processing, introduction and usage of novelties have always been a part of its operation. And this is pretty natural. Everything is done to make this excellent platform even more refined and improved. And if you want your WP website to be present and future scalable simultaneously, as well as pass the exam of the time in order to be highly competitive and challenging all the time, you need to somehow envision the future of WordPress.

Before delving into the suggestions and predictions in WordPress environment, let’s look back on the history of WordPress development and understand how it became number one content management platform for millions of users around the globe.

Past and Present of WordPress:
Whenever you want to start a website, you will definitely hear about WordPress, irrespective of the fact whether you are going to use it on the basis of your website or not. The thing is that there is a real enchantment to the way WordPress greets its users and supports them throughout their whole journey to success.

In a nutshell, WordPress is an extremely convenient platform for web content publication and blogging targeted to stability, durability and aesthetics, simplicity in usage and user friendliness. Moreover, you are free to use and modify it the way you need without facing any license or permission issues.

If we speak the language of numbers and facts, we’ll need to fix some individuals and dates making the history of WordPress so meaningful.

The initial release of WordPress was back in 2003 thanks to the joint efforts of Matt Mullenweg and Mike Little, followed by the introduction of a bulk of themes and plugins in the following 2 years. Ryan Boren was the person who presented the plugin system in 2004 and Matt Mullenweg was who created the first WordPress theme ever.

Since the dawn of WordPress, the dedicated specialists of it have never taken their eyes off the primary goals and objectives of their beloved community. Hence, WordPress continued to develop and managed to conquer new heights and prospects. And now, there is hardly anything important this ecosystem lacks to make your website unbeatable and highly configurable, user centric and visually captivating.

Finally, more than 25% of the entire digital network is powered by WordPress. Impressive, isn’t it?

What is the Future of WordPress?
1. Gutenberg is on the way:
When it seems that nothing can be better and there is nowhere else for the WordPress to go, the WP experts show you are wrong. One of such examples is Gutenberg, one of the expected future features of WordPress. What WordPress is going to provide its users with Gutenberg has to do with much improved user and publishing experience.

All in all, it’s a new revolutionary editor to let you edit your web content and posts in WordPress with new features and possibilities. The idea behind this editor is to eliminate the differences between what the web admin creates on the backend and what is rendered to the web audience on the frontend. Less time, more content and image management controls, no coding… As you see, the advantages of Gutenberg are going to be many.

2. A better User Interface
What we can expect from WordPress in the upcoming years is a better User Interface or UI.

What really characterizes UI as user friendly is its design that anticipates what website users will need to do and incorporates parts and elements which are easy to access, understand and utilize to facilitate these actions.

When talking about the future of WordPress, many specialists and even the co founder of WordPress Mike Little stress the undeniable fact that WP is rapidly growing in rate and popularity. It means that more and more non techy people start using WordPress UI. Therefore, everything should be done to make WP User Interface much better and user optimized.

3. WordPress is Going to Get Even Bigger:
Another truth is that WP moves towards its bright future not only as a publishing platform but also as an application framework due to the new doors REST API has opened for WP developers. As for now, many digital agencies and experts are enthusiastic to find classy and smart ways of REST API use and development.

This working direction together with the awaited advent of Gutenberg promises a bright future of WordPress. It means more suitable and comfortable working platform both for developers and publishers, more opportunities and reliable societies for both sides.

4. Better Multilingual Support:
Another valuable advantage of WordPress is its translation readiness. While there are many themes which are translation ready and plugins already translated into different languages, it is expected to see more results in this relation in the foreseeable future.

The bigger the number of WordPress users from different corners of the globe is, the more localized WordPress themes and other products are going to be by means of translations.

How to Resize and Make Images Larger without Losing Quality

If you are using an image rich website or blog, then it’s important to find ways to resize and make images larger without losing quality. Taking care of the proper and high quality display of your website imagery has to do not only with perfect client visual experience, but also with enhanced SEO results. Google does not conceal the fact that it actually loves images on the websites, especially if they are well optimized, formatted and eye pleasing.

However, search engines don’t see your images but take into account their right size, quality, responsiveness and other characteristic features. Hence, whether it’s about to compress large images to prevent your site’s performance from getting slower or resize and make images larger without losing quality, any website owner should use possible trickeries to solve all kinds of image related issues. It will make your site much more compelling and your imagery will be in harmony with the overall look of your site without making the site heavier or displaying distorted or pixelated images.

You have probably tried to enlarge images and then it became somewhat blurry or amateurish. The thing is that all the JPEG and PNG images we are using on the websites are Bitmap image files. Those images have pixel dimensions which are almost invisible from a normal viewing distance, but if you try to zoom an image, those pixels become visible in the form of squares. And whenever you are resizing those Bitmap images to make them larger, the pixels are not only extended, but new blank ones are added to the image for enlarging. As a result, you are having a new version of your original image, that is larger, but of lower quality.

So how can you overcome this problem to resize and make images larger without losing quality?
The best solution is relying on fractal based image enlargement technique which compensates for the enlarged pixel. This technique is called Fractal Interpolation or Fractals and makes it possible to upscale and enlarge your images in the most accurate ways. Subsequently, you need to find a solution based on this fractal image enlargement functionality.

1. ON1 Resize:

One1 Resize is one of the fastest and feature rich image management and enlargement applications you can use for optimizing the images before adding them to your WordPress website. Color and detail focused, this ON1 Resize is represented as an open system tool meaning you can access your images and photos no matter where they are stored, on your PC, in the network or some third party cloud based service. It means you are free as in freedom to resize and make images larger without losing quality from anywhere you are at the given moment.

Genuine Fractals (as discussed above) industry standards are at the core of this application ready to work as a standalone solution for your images as well as work as a plugin for Photoshop and Lightroom. You can get maximum results with this product while enlarging your image size and keeping its sharpness and precision at the same time.
ON1 Resize is available for Windows and Mac users and grants its users with free technical support as well.

2. Photo Maximizer:

The next valuable image solution you can test and try to make images larger without losing quality is called Photo Maximizer.

What this premium quality product actually does is concentrating on small details of images and making them larger without any pixilation or blurriness.

Whether you want to enlarge small image or zoom in on a certain area of a photograph or some distant subject on the image, Photo Maximizer makes it possible for you to keep the presentable look and quality, sharpness and pixel free clarity of your imagery.

3. Gimp:

Enlarging an image always means “trading” quality for size at least to some extent. Still, there are software and online programs doing a pretty job in making images larger and keeping their quality or resulting only slight quality losses.

Gimp is such image editor software you can use to manage your site’s imagery enlargement. It is not as good as, say, Photoshop or ON1 Resize, but it is free!

The needed Interpolation method integrated with Gimp is what going to make images larger without losing quality or with minimum quality losses. All you need to do is to open the image to be upscaled or enlarged with Gimp, go to Image, Scale Image, add the required dimensions, then scroll down to Quality part and set Sinc (Lanczos3) as Interpolation method. Once you are done with this part, click on Scale button.

Now you can export the processed image for adding to your website.

4. IrfanView:

The next sophisticated tool enabling you to get your image related enlargement job done with minimum quality touches is known as IrfanView. This smart and compacted image editor is designed to be simple and affordable, yet powerful in usage.

Using IrfanView is as simple as Gimp. Simply open your image with this editor and go to Image, Resize/Resample. An image resize popup window will soon appear. Here you can set new size with width and height, select size method as Resample (better quality) and use Lanczos (slowest) as a filter. Further, select “Apply sharpen after resample” and you are done!

This editor is designed only for Windows users. Hence if you are using Windows as an operating system, you are welcome to make images larger without losing quality with IrfanView.

5. PhotoZoom:

Get high quality photo and image enlargements with PhotoZoom. This world class technology based software wonderfully keeps the image quality in case of enlargements up to 300.000×300.000 pixels.

Moreover, PhotoZoom goes beyond keeping the high quality of images while enlarging them, but also makes poor quality images look pin-sharp. Hence, it’s a perfect tool for processing and optimizing Internet images and then use them on your WordPress based or any other digital profile.

WordPress vs. Blogger – Which one is Better? (Pros and Cons)

WordPress and Blogger are 2 of the most popular blogging platforms you can choose to get started with your own blog or website. However, when it comes to the final choice, people sometimes are not able to sort the best out. Therefore, we at SKT Themes have done WordPress vs Blogger comparison and are going to share the most noteworthy advantages and disadvantages of both so that any future blogger or website owner will get the hang of those 2 platforms easily.

To start with, both WordPress ( self hosted WordPress.org) and Google blogging platform called Blogger can turn out to be a head start for you as they offer a plethora of functions and features you can use to master the technique of creating an awesome online presence. But let’s take a closer look at each of them from a comparative perspective for a more precise evaluation.

1. WordPress vs Blogger: Ownership:
Blogger is a Google product. As soon as you have a Google account, you are free to jump into Blogger site and start your new blog. However, being Google – powered supposes that the real “owner” of your blog is not you, but Google. Google provides this service and has the right to shut it down or restrict your access to it anywhen.

As for WordPress, you are the only master and owner of your WordPress powered site which is going to be hosted by a hosting provider you choose. So it means you can decide how long you want to use your blog, when it is going to be deleted, and how third party platforms can access your web information.

2. WordPress vs Blogger: Pricing:
One of the intriguing advantages of Blogger over other content management and blogging platforms is its free nature. People love to acquire anything that is free of charge. Thus, being free to get started with Blogger is what attracts the future bloggers most.

From a financial standpoint, building a blog on the basis of WordPress can be cost effective. In certain cases, you will need to pay almost next to nothing to get your personal or business blog up and running. All you need to do is to find a cheap, yet reliable hosting provider, get a domain name (sometimes it can be provided along with a hosting plan) as well as a free or paid theme. If we make some rough calculations on the back of the envelope, we will get a pricing that will fit even the lowest budget.

3. WordPress vs Blogger: Functionality:
Blogger is a super easy platform for novices and startups in the digital field. Everything has been minutely worked out to be simple to understand and easy to use for the blogger. However, when it comes to satisfying the requirements of more advanced users in terms of functional capacity, Blogger fails at certain points.

On the contrary, WordPress is as simple for the non coders as it is functional for experienced web developers and designers. From building common blogs with restricted functionality to practicing endlessly powerful blogging platforms with tons of advanced possibilities and add ons, everything is possible with WordPress.

Launching a new site or blog is a fun, but first you need to identify certain things from a more professional perspective. If you are making your first steps as a blogger, our recommendation is Blogger, but if you are serious about blogging, you’d better have WordPress at your fingertips. Be sure, you will enjoy the true power of it soon.

4. WordPress vs Blogger: Control:
Blogger comes bundled with limited controls and practically there is no way you can use to make it more controllable with add ons or extensions. It has been developed with an objective to make it super easy for people to delve into a blogging practice without any hassle. Therefore, the lack of controls is justified by the goal of keeping every part of Blogger easy to deal with for the user.

There is hardly anything you can’t control on your WordPress blog or website. With thousands of free and premium plugins available out there, you will be capable of extending the default functionality of your WP blog quickly. Manage images and portfolio, create products and other listings, enhance search engine or social media optimization, make the default features more powerful or add a completely new set of tools with third party extensions and plugins.

5. WordPress vs Blogger: Movability:
Whenever you want to move your Blogger based profile to another platform, you are going to have a bad time. Your blogs’ SEO results, subscribers and followers may be lost. And while there is an opportunity for you to export the blog content, the data is going to be kept on Google’s servers for a long time.

With WordPress, everything is much easier and controllable. From changing the hosting provider or domain name to taking your blog to a completely new platform, all the things get simpler with WordPress.

Wrapping up:
Whether you need to give your preference to Blogger or WordPress depends on your specific needs and expectations from a blog you are going to run. While Blogger has been around for a bit longer than WordPress, it has not undergone major updates or changes to become a more dynamic blogging platform. As for WordPress, it continues to be a rapidly developing environment with a huge community working from behind the scenes to make it a better place for digital audience.

Blogger is definitely a preferable platform for those users who are looking for a beginner friendly blogging environment with no learning curve at all. But if you want a long term solution for a premium quality blog or website that will be under your control and customization all the time, will let you integrate almost any new function or character, from online store to social media platforms, WordPress should be your ultimate choice.

How Much Does It Really Cost to Build a WordPress Website?

When it comes to building a website, one of the major factors many people consider is its cost. Today we’ll try to understand how much it really costs to build a WordPress website.

One of the primary reasons WordPress content management is so popular is the simplicity of its usage as well as affordability in pricing. Whenever you are planning to build and customize a website with WordPress, you have loads of options to manage everything with costs accommodating to your budget.

1. How Much Does It Really Cost to Build a WordPress Website?
From a cost effective website with basic functionality to the most advanced and powerful, fully fledged and amazingly versatile virtual profiles costing thousands of dollars, everything is achievable with WordPress. However, no one wants to share all his financial means if it is possible to achieve more will less expenditure. Therefore, in this article we’ll also offer the most pocket friendly ways you can choose to organize the creation and management of your WordPress site with as less financial losses as possible

WordPress .org is known to be a completely free platform you can start with. This is true, but if you want to have a fully functional and fully featured digital object, you are going to pay. The amount will depend on your choice of domain and hosting, theme and plugins, etc.

Let’s review each of these categories separately.

2. WordPress Hosting:
If you want to have a self hosted WordPress website, having a hosting is a must. Every single website or blog needs hosting as its virtual home where all the files and data will be stored.

Hence, how much it really costs to build a WordPress website needs to be calculated taking into amount the hosting price first and foremost.

Well, hosting price range is really wide and heavily depends on the market you want to buy the hosting from. If you want to create a WordPress website from scratch or have a very basic website with limited functionality and capacities or less traffic and daily visitors, you can consider low pricing hosting offers.

The less the push on the server, the lower the cost of hosting will be for WP web owners. Actually, you can manage to find hosting for some $ 5-6/month or $30-35 a year. Cost to Build a WordPress Website

SKT Hosting offers useful hosting plans for a WP website of absolutely any nature or power, specific requirements or capacities. The lowest plan costs only $6/month including one website/domain, cPanel, daily backups and even professional support. You can jump to more advanced plans if your requirements are higher.
Bluehost, HostGator, WP Engine, SiteBuilder and GoDaddy are also among the most popular and reliable hosting providers you can rely on.

3. Domain Name:
You can buy a domain name from any suitable domain registrar. The average cost is around $10-$30 per year. You can even get domain name completely for free with certain hosting plans you choose.

We do not recommend using a free domain like www.yourdomainname.wordpress.com provided by the hosting of WordPress.com. If you want your website and the business it represents to be taken seriously and communicate a true value to the audience, be sure to have your own domain name.

Thus, depending on the domain you choose and some other options catering to it (such as privacy of your information in WhoisGuard, etc), the cost to build a WordPress website will also vary.

4. Pricing Plan for WordPress Themes:
Just as your website would be incomplete without a theme, your web creation budget estimation cannot be done without considering the price of the theme.

From absolutely free options to paid themes costing several hundred dollars, WordPress themes cover a wide scale of pricing plans. If the price is what blocks you from choosing a paid web creation tool or you need a small website for personal purposes to start blogging and sharing your life with your friends, you can choose to have free WP theme, so that nothing will be added to the price of hosting and domain whenever you are about to understand to cost to build a WordPress website. In all other cases, you can view the candidacy of premium themes.

However, the majority of the themes you can find in WordPress library are available for around $ 50. As compared to free options, these themes are more customizable and extensible with add ons and plugins giving you an ultimate freedom to create a custom and niche specific website the way you need. Thus, this average price range will enable you to be more precise in your budget calculations and allocate a certain amount to the future theme that is going to host your website.

We at SKT Themes are proud to share both free and paid themes with you (https://www.sktthemes.net/). We have put all our efforts and united seasoned specialists to create affordable yet premium quality themes for every single industry or business.

5. Pricing Plan for WordPress Plugins:
Finally, you may want to have different plugins added to your site right from the start or during its further customization. At this stage, your expenses also depend on the specific needs and requirements of both you and your audience, as well as the areas of your site you need to work on, secure, make more protected, hassle free, the need to integrate new tools and e commerce environments, etc.

Many plugins are offered with both free and premium versions. And if you are here for a numerical answer, let us say: it is from $0 to around $100 per month.

Summing up
When trying to estimate the real cost to build a WordPress website, first you need to identify what kind of website you are going to have, what is the expected audience or how much traffic are you planning to reach, whether you need to integrate ecommerce, to be ranked higher in search engine rankings, and many other nuances. All of such factors are important when calculating the final cost of your WP website creation.

Anyway, you can spend as little as $100 and have an ordinary, nice looking blog or website with WordPress. If you want to use the whole potential of WordPress to create and promote something exceptionally smart and user optimized, that will also be secure and well protected, it’s realistic to spend up to several thousands of dollars. The choice is yours!

Way to Configure Google Analytics Tracking Code in WordPress

It’s hard to imagine a stronger connection than WordPress+Google. If you are running a WordPress based website, then pairing it with Google Analytics is a must. And while there are several methods you can integrate Google Analytics functionality into your site, today we’ll mainly concentrate on adding and configuring Google Analytics tracking code in WordPress.

Sometimes website owners spend all their possessions and time on driving as much traffic into their websites as possible, but fail at tracking the success of their endeavor. But the truth is that keeping the track of the whole process, understanding the behavior of your web visitors, the channels through which they are landed on your site, the time they spend on it is as of paramount importance as well if you want to have stable results in the foreseeable future.

This is where Google Analytics comes as a real magic for WordPress website owners. It is going to provide you with tons of useful information and data showcasing how your audience interacts with your website in general and at the very moment.

As mentioned below, there are different ways you can connect your site with Google Analytics. One of them is to add and configure Google Analytics tracking code in WordPress. At first glance, this method may seem somehow tricky especially for the beginners, as it has to do with little coding. But if you keep reading our article, you will find sever steps to follow and succeed in adding the needed tracking code directly to the theme your website uses. Believe us, all your efforts will be paid off!

Add Google Analytics Tracking Code in WordPress
Step 1. Create a Google Account:
Naturally, to get started with Google Analytics, you need to have a Google account. If you already have one, then simply log in to your account and pass on to the next step.

Step 2. Log in to Google Analytics:
The next step is to sign into Google Analytics by following the link above. Choose your gmail address and log in.

Step 3. Find the Tracking Code:
Once you are logged in to Google Analytics, you will need to find a tracking code to be added to your site manually.
Go to the admin area in the left taskbar inside Google Analytics, where you will find 3 columns of admin settings. Find “Tracking Info” in the middle column (property column) and then choose “Tracking Code”.

Step 4. Copy your Tracking Code:
Now, you can get your unique tracking ID along with Universal Analytics tracking code under “Website tracking” section. Copy the tracking code in full.

Step 5. Go to your WP Admin Dashboard and Add Google Analytics Tracking Code in WordPress:

Log in to your Admin area and navigate to Appearance, Editor. On the right of the screen, you can see the site’s files like Theme Footer (footer.php), Theme Functions (functions.php), Theme Header (header.php). Each of these file’s code will be displayed in the middle of the screen.

In all probability, you may want to add Google Analytics tracking code in WordPress in the way that the whole website and not certain pages of it is tracked. Then, the file you will need is header.php.

Open the file and paste the previously copied code after the tag. Once the code is added, update the file and save it.

Finished! You are now done with adding Google Analytics tracking code in WordPress.

Step 6. Wait for the Google Tracking to Work:
Google advises you to wait 24- 48 hours before trusting any data information you will find in your website. So you need to wait for 1-2 days before following the tracking of your site.

But what you can do at this very point is to check whether the desired connection has been established between Google Analytics and your WordPress website to be sure Google will start tracking the site soon.

Go back to Google Analytics’ Tracking Code page and find “Status Update” to the right of Tracking ID. Click on “Send Test Traffic” to check whether the connection is set. Your site will be opened in a small window.

If everything is ok, Google Analytics account will update to show 1 active user. The process may take up to a minute, so you will need to wait a little.

Note. Before tweaking your theme’s files, be sure you have created the child theme for your WordPress website. Hence, before adding Google Analytics tracking code to your site, be sure you have a child theme already created.

Add Google Analytics tracking code in WordPress with a Plugin:

1. Head, Footer and Post Injections:

If you don’t want to add the tracking code manually and are looking for a plugin that will do it instead of you, Head, Footer and Post Injections is what you need.

All you need to do is to copy the code from Google Analytics and paste wherever needed with the help of this plugin. As for the technical part, the plugin will do the job itself. The advantage of Head, Footer and Post Injections is that you are free to change your WP theme any time you want without losing the codes added.

2. Insert Google Analytics’ Tracking Code:
Another useful plugin to make the process of adding GA tracking code to your site is called Insert Google Analytics’ Tracking Code. Simply copy your Universal Analytics Tracking ID from Google Analytics and paste it into Settings, Google Analytics, Tracking ID. Save the settings and let the plugin to insert the code to track and analyze the visitors of your WP site.

Summing up:
We hope this article helped you understand how you can add and configure Google Analytics tracking code in WordPress. This will definitely contribute to a more fruitful tracking of your site and its visitors to see the most popular pages, time people spend on your site, pageviews and bounce rate, social overview, benchmarking and more.

Top Rated Code Editors for WordPress Developers working environments

If you are looking for the best and top rated code editors for WordPress developers to code and design your WP sites, then you are welcome to read our article. This time we have collected the best code editors under one roof you can test and try to write powerful and reliable codes.

It’s a tale as old as time that WordPress is only a blogging platform. WordPress is making blogging fairly easy and convenient for millions of users around the globe, but the truth is that this content management system has gone far beyond being a blogging environment and as for now is used for hundreds of other publishing and business presentation purposes as well.

Further, WordPress is a good choice with its simplicity not only for non techy users, but also for the advanced users, developers and coders thanks to its feature rich and extensible character. As for the second group of WordPress related staff, apart from prebuilt tools, there are also hundreds of other working environments and code editors they can freely use to make the most of their coding experience and knowledge to create awesome websites. From the configuration of core files to changes in styles, a great deal of work is performed via modern code editors.
Below you can find some of the top rated code editors for WordPress developers which function just out of the box and are practical in usage while providing you the best working platform with all kinds of first aid tools and features.

1. Vim:

Vim is currently one of the free and top rated code editors for WordPress developers created on the basis of the older vi. While using this text editor, you are free as in freedom to make us of endless customization and automation options, as Vim is optimized for functioning with multiple add ons and extensions for the maximum productivity.

Some of the advantages of Vim is that this editor is highly configurable and super portable meaning that it can work just fine with multiple operating systems and servers.

However, Vim may seem a little bit tricky for startup coders and WordPress users as it comes with a certain learning curve.

2. Light Table:

The next super code editor that can seamlessly integrate with your coding workflow is called Light Table.
As the name of it clearly states, this editor is really lightweight and handy in management. Real time mode of checking changes is also offered with Light Table.

Easy to use and customize, beautiful and eye catchy, yet clear in design, possibility to embed anything needed, whether it is a game or graph, tons of extension options, Windows, Mac and Linux support. As you can see, the benefits of Light Table as one of the top rated code editors for WordPress developers are quite many.

And what is more enjoyable in this case is that you can get access to Light Table without spending a penny, since it is available for free.

3. UltraEdit:

Developed for Windows, Max and Linux users, UltraEdit is the next highly recommended code editor for developers. It comes with support for all the major languages like HTML, JavaScript, C/C++, JS, Perl, PHP, Python and many others.

This premium product is a multi caret and multi select code editing solution, packed with column mode whenever horizontal edition is not the best fit for you, FTP, SSH and Telnet support capabilities, customizable user interface, etc.

Code syntax highlighting, XML handing, powerful search for finding the needed files, expressions or more, as well as file compare modes are also wrapped up in UltraEdit.

4. Chocolat:

If you are a Mac user, then Chocolat has got your back! Integrated with code auto completion and live error checking options, Chocolat is going to make your workload much lighter and the final result – error free.

What the top rated code editors for WordPress developers actually do is to collect all the features and tools developers and programmers will need all at one place. And Chocolat is not an exception. Along with code completion and error checking in live mode, Chocolat also boasts customizable snippets, speedy file navigation, code folding, different cursors and selections, and finally works perfectly with all programming languages you can use for now, be it PHP, C++, HTML, Python or something else.

5. CodeAnywhere:

Welcome to go-to coding and development environment called CodeAnywhere. You are not going to download anything to get started with your coding. Instead, you will be provided with cloud editor/IDE to use from anywhere you are, manage files on Google Drive, Dropbox, FTP server, etc.

Complete your projects in HTML, PHP or any other major programming language you are specialized in. Quick in customization and versatile in usage, CodeAnywhere also suggests code completion with js, php, html and css, offers multiple cursors and Zen coding support.

6. Notepad++:

Our list of the top rated code editors for WordPress developers would definitely be incomplete without Notepad++. This free text editor is an amazingly versatile and useful tool both for startup and experienced users.

This GPL licensed and written in C++ text editor operates in Windows environment so that only Windows users are privileged to enjoy this world – class text and code editor for free.

Syntax highlighting and syntax folding, word completion and function completion, zoom in and zoom out, multi language environment support, macro recording and playback, multi view and multi document, column mode editing and many other useful features are going to be found inside Notepad ++.

7. Atom:

Another robust and modern tool among the best code editors is known as Atom. A fun part about this editor is that it integrates many developers and lets you benefit from a great code collaboration with them. Thus, a real time code editing, IDE features with auto completion, cross platform editing, prebuilt package manager to search for the needed ones or install a new package, file system management with a single file or multiple projects are waiting for you with Atom.

How to Install and Setup WordPress Multisite Network

We at SKT Themes are going to share the most important details and steps you need to bear in mind whenever you want to install and setup WordPress multisite network. Even if you are barefoot when it comes to dealing with WordPress and undertaking the needed actions to make it more powerful and functional, be sure that by following our guideline, you will be able to successfully install and setup WordPress multisite network all by yourself.

1. What is WordPress Multisite Network?
By default, WordPress enables its users to create a network of websites by the application of the multisite feature. A WordPress multisite network is a collection of sites based on the same WordPress installation and database. Use the same account with the same login credentials to create and control multiple sites simultaneously. Meanwhile, each site on the network has its own settings, and plugins, themes and users become cumulative, which gives a wide range of advantages.

2. What are the Advantages of Using WordPress Multsite Network?
If you use WordPress for more than one site, A WordPress multisite mode is what you will need. Setup and install WordPress multisite network and you will be able to:

Use on WP installation and one database for an unlimited number of sites
Use one dashboard as a network administrator to manage them all
Add an existing user to a new site on the network so that users are not forced to have more than one account.
Manage and activate themes and plugins for multiple sites on the network with one download and installation. As for the activations, they can be activated on each site as needed.
Make updates for all sites quicker and easier by managing the update of themes and plugins of the “basic” install.
Data exchange between sites on the network is much easier and faster

3. Getting Started with WordPress Multisite Network:
In order to get started with multisite, you need to make sure your web server can support multiste. At this point, it is also important to make sure the hosting of your WordPress is reliable and powerful, as whenever it is down, all the sites on your multisite network are going to have issues.

4. Choose a Subdomain Structure: Subdomains vs Subdirectories:
When adding new site to your multisite network, you will need to use either subdomains or subdirectories:

Subdomains:
subsite.multisitenetwork.com

If you want your networks users to be able to create their own sites, you will need to activate and configure wildcard subdomains for your hosting.

Subdirectories:
multisitenetwork.com/subsite/

In case of subdirectories, the URLs of your sites are going to be like the example above. However, please note that if you are going to use this option with the multisite on an established WordPress installation, you may experience clashes with existing URLs. Therefore, you need to enable pretty permalinks on your source site.

5. Enable WordPress Multisite Network Feature:
As already mentioned above, WordPres comes prebuilt with multisite network capability, which only needs to be activated. Before doing that, make sure you have the backup of your site as an important security measure.

In order to enable WordPress multisite, use FTP client or cPanel to connect to your site and edit wp-config.php file.
Open the file and paste the following line of code just before /* That’s all, stop editing! Happy blogging. */.
Save the file and upload it back to the server.

Now, the multisite feature is enabled!

6. Install and Setup WordPress Multisite Network:
Before you install and setup WP multisite network, all the plugins on your WP site should be deactivated first. Head over WP Admin Dashboard, Plugins, Installed Plugins and deactivate all the installed plugins.

Further, visit Tools, Network Setup to select between subdomains and subdirectories. Choose the option that suits your needs best, add network title and network admin email. Once you are done with this part, click “Install”.

You will be provided with some code that needs to be added to wp-config.php and .htaccess file.
Copy and paste the code appearing on the screen to these 2 files.
Now, your WordPress multisite network is installed!

7. Configure WordPress Multisite Network:
Now, when you have managed to install and setup WordPress Multisite Network, it’s time to configure it.
First, go back and login to your WP site again, where you will see a multisite network dashboard instead of the common dashboard you were used to use. You are going to find “My Sites” menu at the top. Follow the path My Sites, Network Admin, Dashboard to configure your network.
In the admin sidebar, find Settings and click on it to add network title and network admin email.

The next step is to enable new registrations on your network, since they are disabled by default. Use Registration Settings part to make the needed configurations. You can choose to enable existing users to create sites, user accounts to be registered, or allow both user and site registrations. You can also allow site administrators to add new users to their site, as well as limit email registrations to certain domains. You can even ban certain domains from registration.

8. Configure New Sites Settings:
The “New Site Settings” part lets you manage the options for the new sites which are added to your network by configuring welcome email and welcome user email texts, as well as the content of the first default post on that site.

9. Configure Upload Settings:
Use “Upload Settings” to fix site upload space, types of the files which can be uploaded, and max upload file size. By default, site upload space is 100 MB which can be increased or decreased depending on the overall disk space you own.

10. Plugin Menu Settings:
Under the Menu Settings, you will be able “Enable administration menus” for plugins, so that sites admins can find plugins menu and activate or deactivate plugins for their individual sites. However, they will not be able to install new plugins.

11. Add New Sites to Your Multisite Network:
Visit My Sites, Network Admin, Sites. Here you will find the list of sites on your multisite network. Click “Add New” for adding a new site. In the opened page, you will need to add the site’s address, but not the full address, but only the part to be used as subdomain or subdirectory. Then add a site title, as well as site’s admin email address.

The Ultimate Guide for 404 Pages in WordPress ecosystem

WordPress is a reliable and sophisticated content management system, however, WordPress users are not guaranteed against certain tweaks and errors along with their online work. “Page not found” or 404 error is one of such frustrating errors happening with WordPress websites and not only. Actually, this error is not exclusively relevant to WordPress, but may occur in case of other ecosystems and platforms as well. Well, if you are using WordPress, follow along with our article to understand what 404 pages in WordPress are and how you can deal with them whenever they interrupt the normal operation of your website and make web pages inaccessible for the website guests.

1. What are 404 pages in WordPress?
404 pages in WordPress are what can make or break your site in terms of client retention and bounce rate. These 404 pages are technically known as error pages and “welcome” your web visitors with “page not found” expression.

404 error is a standard HTTP response code indicating that the client was able to communicate with the server, but the server was not able to find the data requested. But note, that 404 error is quite different from “server not found” error indicating the restriction of access to the server. Error 404 means that the requested web page or resource can be available in the future, but that does not guarantee the existence of the old content.

2. Why Do or When 404 pages in WordPress occur?
WordPress is an ideal platform enabling you to effortlessly manage your site’s URLs and change permalinks structures, whenever needed for personal, business , SEO or other purposes. But this simplicity also leads to a great number of broken links daily.

For example, if you have published a post on your WP website and want to change your permalink structure, every link to a post on your webpage is going to break.

In another case, your web page will not be displayed to its users whenever they try to browse it, if you have tried to correct some misspelled word on your page’s URL after it had been published containing that misspelled word.

3. The Ways 404 Pages in WordPress are handled.
Any time a post or page is requested and cannot be reached by the user, as it does not exist or the link is broken, WordPress checks for two system files: 404.php and index.php.

If the theme your website uses contains 404.php file, then WordPress will load and showcase that template to the users. If there is no 404.php file, the default index.php file will be loaded.

4. How to Design 404 Pages in WordPress?
The truth is that you can make your 404 pages brilliant instead of annoying. Creative web design and beautiful aesthetics can be showcased with 404 pages as well. Whenever the visitor is stumbling onto 404 error on your website, you never want to let him go without finding whatever he or she has been visiting that particular page or post for. Therefore, you need to make your creative juices flowing to present more than a common 404 page to the visitors to prove you care for their time or encourage them to have a journey across other parts of your site with redirects before the page he wants to access will be available again.

The majority of modern WordPress templates come with 404.php which can be found in wp-content/themes/active-theme. This is your starting point when it comes to designing and customizing 404 pages to be productive and even on brand.

1. 404 Page: Your Smart Custom 404 Error Page:

Alternatively, you can use Your Smart Custom 404 Error Page plugin to quickly create and manage your site’s 404 pages to set your website apart from many other competitors in the way it is delivering 404 error pages. With this plugin, you are going to use your themes Page Editor like you are using for the creation of any page. Then go to Appearance, 404 Error Page and choose the created page to be custom 404 error page for your site.

2. Custom 404 Pro:

Another wonderful plugin enabling you to use a custom page instead of a common 404 error page is called Custom 404 Pro. Full 404 page control, 404 page data record, custom page redirect options, custom log filters and much more is wrapped up in this plugin.

5. How to Fix Broken Links?
But before you will jump into working on the original solution of your custom error 404 page, you need to understand what causes 404 and how it can be fixed.

There are 2 different ways leading your web guests to 404 errors:

Internal link on your WP website
External link from another website to your WP website
As for fixing the problem with internal links, you are forced to check all the links on your website which might take hours if done manually. Therefore, it would be better for you to use one of the useful tools or plugins ready to automate internal link checking process.

1. Google Search Console:

Google Search Console is one of the free tools you can use for finding any broken link on your website. While crawling your site for SEO purposes and indexing, Google will let you know about such cases.

2. Broken Link Checker:

404 pages in WordPress Broken Link Checker is a popular broken link detecting and checking plugin and can detect both external and internal links which are broken. As soon as they are detected, the plugin will let you know about them via dashboard or will notify via email.

3. WP Broken Link Status Checker:

This plugin will scan your whole site for detecting broken links, redirects, no follow links, etc. With WP Broken Link Status Checker, you need to create scans and configure it, after which the process will start detecting the links and will display the results to you even while the scanning process is not over.

How to Add a Custom Widget Area to WordPress Themes

If you are well aware of WordPress themes, you should know that tons of WP themes come with widget ready or widgetized areas like sidebar, footer and header. If you visit your site’s Admin Dashboard and head over Appearance, Widgets, you will find the list of available widgets and will be offered to drag and drop them for activating or deactivating. But apart from using default WP widgets, you are also free to add a custom widget area to your WordPress theme for adding custom links, texts, social links, navigation menus, calendar and much more.

What is Widget in WordPress?
Widgets are modules enabling the user to add content and features to certain theme areas called widget ready areas or sidebars. Initially, they were added to the themes to generate a simple way for managing the design and structure of the theme. As for now, you can find loads of widgetized WordPress themes to add header, footer and sidebar in WordPress theme design and structure without having to do with any coding controls. These widgets can even offer customization options for adding or removing, managing or changing information, images, links, galleries, etc.

WordPress developers are allowed to create custom widget areas as well. There are also many modern themes and plugins packed with their own custom widgets you can quickly add to your sidebar while overcoming any coding processes.
If you don’t find the needed widget area on your WordPress website, you can to add a custom widget area to your WordPress easily with the help of little coding or additional plugins.

1. Add a Custom Widget Area to Your WordPress by creating site specific plugin:
Now, let us walk you through the first way of adding custom widget to your WP site that has to do with pasting the code in your theme’s functions.php.file.

Before creating a custom widget, you need to create a site specific plugin to paste the needed code into it, because, if you paste the code in functions.php.file, it will not be available until the given theme is active. You can either manually create site specific plugin or get it from FTP client you are using. We recommend the second option for beginners as it is much simpler and easy to follow.

Connect your WP site via FTP client, then go to /wp-content/plugins folder under remote site column. Select site specific plugin folder and upload it to your site. Site specific plugin folder will be transferred to your site and you will be able to install it on the website. Now, only activation is to be done by going to the Plugins page on your admin dashboard and activating site specific plugin therefrom. Now this plugin is ready to be utilized.
Once the plugin is added, you can copy the code below and add it to the plugin for the creation of a custom widget welcoming your visitors
// Register and load the widget
function yoursite_load_widget() {
register_widget( ‘yoursite_widget’ );
}
add_action( ‘widgets_init’, ‘yoursite_load_widget’ );

// Creating the widget
class yoursite _widget extends WP_Widget {

function __construct() {
parent::__construct(

// Base ID of your widget
‘ yoursite _widget’,

// Widget name will appear in UI
__(‘ Yoursite Widget’, ‘yoursite_widget_domain’),

// Widget description
array( ‘description’ => __( ‘Sample widget based on SKT Tutorial’, ‘yoursite_widget_domain’ ), )
);
}

// Creating widget front-end

public function widget( $args, $instance ) {
$title = apply_filters( ‘widget_title’, $instance[‘title’] );

// before and after widget arguments are defined by themes
echo $args[‘before_widget’];
if ( ! empty( $title ) )
echo $args[‘before_title’] . $title . $args[‘after_title’];

// This is where you run the code and display the output
echo __( ‘Greetings!’, ‘yoursite_widget_domain’ );
echo $args[‘after_widget’];
}

// Widget Backend
public function form( $instance ) {
if ( isset( $instance[ ‘title’ ] ) ) {
$title = $instance[ ‘title’ ];
}
else {
$title = __( ‘New title’, ‘yoursite_widget_domain’ );
}
// Widget admin form
?>

<label for="get_field_id( ‘title’ ); ?>”>
<input class="widefat" id="get_field_id( ‘title’ ); ?>” name=”get_field_name( ‘title’ ); ?>” type=”text” value=”” />

<?php
}

// Updating widget replacing old instances with new
public function update( $new_instance, $old_instance ) {
$instance = array();
$instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
return $instance;
}
} // Class yoursite_widget ends here

As soon as the code is added, you need to visit admin area, Appearance, Widgets, where the new widget is already available. Just drag and drop it to your sidebar. Now, it will be visible on the front end.

2. Add a Custom Widget Area to Your WordPress with a Plugin:

1. WP Custom Widget Area:

Another simple way of creating and adding custom widgets is presented with practical plugins one of which is WP Custom Widget Area. Use this plugin for adding custom widget areas, sidebars and menu locations without facing difficulties in your work.

Add a custom widget area to your WordPress and collate it anywhere on your website (sidebars, header and footer, and even in page or post content).

2. Custom Sidebars: Dynamic Widget Area Manager:

Whenever you want to customize and replace sidebars and other widget areas on your WordPress hosted website, Custom Sidebars is what you will need.

Quickly configure your custom sidebar and choose on which posts and pages, category or post type you want those widgets to be showcased.

3. SiteOrigin Widgets Bundle:

An ideal way to add a custom widget area to your WordPress is available with SiteOrigin Widgets Bundle.
This powerful plugin comes armed with a useful collection of widgets you are free to use and customize the way you want. The list of available custom widget in this plugin runs as follows: Google Maps Widget, Button Widget, Image Widget, Slider Widget, Call to Action Widget, Price Table Widget, Social Links Widget, Editor Widget, Features Widget, Masonry Widget, Testimonials Widgets and many more.

How to Add SSL and HTTPS in WordPress

Are you thinking about making your site look secure and protected with HTTPS and SSL? Several simple steps are discussed in this article for you to follow and add SSL and HTTPS in WordPress based websites and blogs.

We are sure you have heard about the importance of moving your site from HTTP to HTTPS and protecting it with a reliable SSL certificate. If no, you don’t need to worry as before passing on to the technical part, we’ll make all kinds of things catering to HTTPS and SSL clear to you.

1. What are SSL and HTTPS in WordPress?
Whenever we are using the Internet, there is always a data exchange between the user and the server via HTTP protocol. And whenever working on the Internet with personal data or payment details, there are always many malefactors trying to make money on this. This is where HTTPS came into the picture as a way to protect such kind of data transmission.

HTTPS (or HyperText Transfer Protocol Secure) is a protocol that ensures the confidentiality and protection of personal and other data exchange between a website and a user’s device. Security of that data or information is provided by on account of the usage of SSL/TSL cryptographic protocols having 3 levels of protection:

Data encryption, which allows avoiding data interception
Data security: any change in the data is recorded
Authentication: protects against user redirection

SSL (or Secure Sockets Layer) is a protocol is used by millions of sites to protect data in the virtual domain. It is what guarantees a secure connection between the user’s browser and the server. When using SSL protocol, information is transmitted in the encrypted form via HTTPS and can be decrypted only with a special key unlike the common HTTP protocol. Finally, SSL protocol requires SSL certificate to be installed on the server.

2. Why do You Need SSL and HTTPS in WordPress?
Any information concerning e commerce and online shopping activities, transfer of payments for physical and digital products (via personal payment cards or online payment systems), payment for services through Internet banking and for online services such as online courses and training, online casino and more requires compulsory use of secure data transfer protocol.

HTTPS protocol is also required on sites which request personal data or information for giving the user access to certain content, for example passport or ID number. Such data must be protected from hackers and intruders.
Further, providing online payment gateways to the online shoppers on your commercial website is a must. And if you want to integrate popular payment systems like Stripe, Authorize, PayPal Pro, etc., having a secure connection with SSL is inevitable.

Finally, the security and protection level of your site is going to affect its search engine ranking. It means that using SSL and HTTPS in WordPress will result in better SEO results for your website.

3. How to Add SSL and HTTPS in WordPress?
In order to use SSL/HTTPS on your WordPress website, you will need to purchase a SSL certificate. With some hosting plans you may get SSL certificate for free. If your hosting provider does not offer a free SSL certificate, you will need to purchase third party SSL certificate. As soon as you have the certificate, you can ask your hosting provider to quickly install it on your server.

Once SSL is installed, the next step is to direct your WP site to use SSL and HTTPS.

If you want to use HTTPS everywhere on your website, head over Admin Dashboard, Settings, General, scroll down to WordPress Address (URL) and Site Address (URL) fields, where you need to replace http:// with https://. Save changes and you will be all set.

However, if you want to add SSL certificate on your existing site, your .htaccess file needs to be tweaked for setting up WordPress SSL redirect from HTTP to HTTPS.

Copy the following code and add it to your .htaccess file:

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]

</IfModule>

Don’t forget to replace www.mysite.com with your website’s URL.

Additionally, you before making this intervention, you are advised to backup your site to avoid losses in case something goes unexpected.

At this point, you can browse your front end and check the browse bar to make sure the process of securing your site was successful.

1. Really Simple SSL:

If you are using a third party SSL certificate, browsers can handle your WP website differently and tell you that your website is only partially secure or not fully secure. To avoid it, you can add Really Simple SSL plugin to your site which will quickly solve the issue.

All you need to do with this plugin is to install it and then activate SSL with one click. The entire website will move to SSL. However, please, note that you still need to acquire SSL certificate on your own.

2. WordPress HTTPS/SSL:

Another wonderful plugin you can use to add SSL and HTTPS in WordPress and enjoy fantastic results is WordPress HTTPS/SSL. It comes as a fully packed solution to using HTTPS and SSL on your website and gain higher SEO results, better customer trust and a peace of mind that a secured data transmission and data protection are established.

While focusing on fast and reliable performance, WordPress HTTPs is checked for fixing “partially encrypted” errors and working perfectly for all kinds of modern WordPress themes and templates.

If for specific needs and reasons, you want HTTPS and SSL to be added only on certain pages of your website, this plugin is all you need. You can navigate to the plugin settings and check the box “Force SSL Exclusively”, after which SSL will be used on the pages where you have checked the Force SSL setting. All in all, it is a convenient option for the websites with user accounts, payment pages, shopping carts, checkout pages, etc.

WordPress Sidebars: Pro Tips & Mistakes to Avoid for Optimized Sidebars

In a number of cases, sidebars are perceived as blocks of the site where all sorts of things can be found. As a rule, a minimum designer’s effort is spent on the customization and management of sidebars, and nobody really puzzles over the correct distribution of the widgets inside. But the truth is that a WordPress sidebar can turn out to be a useful source of traffic and user engagement with quick links and informative areas, functional options and more. All you need to do is to find the best look and structure, best content and deployment of the sidebars to get maximum profit from their existence on your sites posts and pages.

We invite you to join our discussion of WordPress sidebar pro tips you can choose to have on your website, as well as WordPress sidebar mistakes to avoid for having more optimized and lead generating sidebars.

1. What is a WordPress Sidebar and Why You Need it:
A sidebar in WordPress is a widget ready, navigation menu or supplementary information area that is graphically separated from the main content area. You can use sidebars for integrating any kind of additional information which does not consist a part of your site’s basic content, be it recent articles, recent posts, recent comments, social media links or something other. Depending on the theme you are using and your preferences, you can have different sidebar choices.

Sidebars share high visibility and can make any kind of important or secondary content easy to notice and follow by your web visitors. The can help your web guests and users to navigate to the needed areas and parts of the site, find specific content or use some functionality. From navigation menu to information blocks like recent publications, functional elements like search and email sign up forms, product and service offers and additional widgets, absolutely any kind of information can be highlighted with a WordPress sidebar.

WordPress sidebars are also known as advertisement friendly areas which means that you can use them for making money from ads placement.

2. WordPress Sidebar Pro Tips to Optimize the Use of Sidebars:
The majority of blogs have one or more sidebars appearing on every single page or at least on the most pages. As discussed above, those sidebars are intended to grant your web users with the needed additional information and guide them through different areas, forms, links and articles.

Today, if we try to analyze different websites and blogs for personal or business purposes, we’ll find something similar in the way they use widgets and sections for the sidebar. The basic ones most sidebars include are as follows: most popular posts, email signup forms, top selling products or services, social media links for social media profiles, advertisement and affiliate banners.

Well, optimizing your sidebars for better exposure and more presentable visual look and functionality of your site means finding WordPress Sidebar pro tips and tricks to exercise which you can do by reading the next part of our article.

Let’s see which some pro tips you are advised to add to your WordPress sidebar are.

Popular/Recommended Posts. Popular Posts a widget to be included into the sidebar first and foremost. Sharing the most popular and hot articles with your audience is always a good idea. Use WordPress Popular Posts plugin to generate the list of the popular posts and share it on the sidebar area. You can set the list to be updated within a specific time range.

As for the Recommended Posts, you as a website admin will have more freedom in suggesting interesting posts and articles to your readers and followers.

Subscription form. Subscription form is a modern strategic marketing and promotion move practiced by millions of website owners. Whether you want to grow the army of your followers or establish direct communication with the customers interested in your products or services, having subscription form right in front of their eyes with sidebar is of great importance.

Social Media Profile Links. The power of social media platforms as traffic and conversion boosters can never be underestimated. Thus, you can use your WordPress sidebar to display social media links and social media sharing buttons to get your web content shared across different dynamic platforms and social environments.

WordPress Sidebar Mistakes to Avoid:

1. Overloading Sidebar with Too Many Widgets:
Sidebar is a wonderful area providing you with many possibilities to make everything neatly and compactly showcased or get everything really wrong. Sometimes people find a place in sidebar for any information or content they are not able to deploy on the other areas of a website. This is not reasonable as every single part of your website makes sense. Try to add as many widgets as are really necessary to draw a beautiful picture visually and to help you get maximum results.

2. Keeping all the Default Widgets:
By default, WordPress comes loaded with specific widgets such as categories, archives, recent posts, recent comments and categories. You can quickly remove them from WP Admin Dashboard by dragging and dropping, and alternatively us third party plugins to substitute that default widgets with more useful ones.

1. Custom Sidebars- Dynamic Widget Area Manager:

Custom Sidebars is an attractive plugin you can use whenever you want to avoid one of the common WordPress sidebar mistakes of leaving the default widgets as they are. Manage unlimited widget configurations, make custom sidebar customizations and set custom widgets, create author specific sidebars, import and export custom sidebars with this amazing plugin.

3. Cluttered Look and Disarranged Widgets:
Another important point to consider is the sequence of the widgets appearing on the sidebar area. Organize them properly to support the user navigation throughout your website instead of distracting them with supplementary information or advertisements in the wrong place.

Adding Too Many Ads
Of course, sidebars can host multiple advertisements and banners, but try to avoid irritating your audience with too many advertisements and be sure web users are enjoying their time in your virtual domain.

What is an XML Sitemap? How to Create a Sitemap in WordPress?

Are you trying to decide whether your website needs an XML sitemap or how you can create a sitemap in WordPress?
As a website owner, you are definitely overwhelmed with a long to do list for your website and do your best to figure out the priority of steps. Well, as far as XML sitemap is concerned, your website is going to be live and doing well even without a sitemap. But if you want to achieve more in terms of search engine optimization, keeping Google, Bing, Yandex and other search engines updated with your web changes and letting them index the site more effectively, you need to create a sitemap in WordPress.

1. What is an XML Sitemap?
To put it simply, an XML sitemap is a collection of your web pages enabling search engines to crawl and understand the structure of your site and its content more quickly. Subsequently, the Internet users can be provided with the right information when searching for any relevant content having to do with your website or blog.

From a more technical standpoint, a sitemap is special file in XML format encrypted in the root directory of the server.

On the whole, it can turn out to be one of the driving factors to your site’s SEO results enhancement and the overall success. A well constructed sitemap is what will make your site more accurate and updated whenever a relationship is established between the site and search engines.

2. Why do You Need to Create a Sitemap in WordPress?
The more Google, Yahoo and other major and small search engines know about your site, the higher search engine rankings are going to be. XML Sitemaps provide an easier and more effective ways for search engines to keep the track of your website and any important information about it, from the structure and pages to its content and the last time it was updated, the frequency of the site changes, and more. And whenever search engines have all this information, they will start indexing and ranking your site more intelligently.

This is especially true for the web resources with dozens or hundreds of web pages. Integrating XML sitemap functionality into your website will yield better and higher results for your site and will lead more traffic into the numerous pages at your dominion.

3. How to Create a Sitemap in WordPress?
There are several ways you can follow to create a sitemap in WordPress. The simplest one is of course via relevant sitemap generating WordPress plugins.

1. XML Sitemap and Google News Feeds:

XML Sitemap and Google News Feeds is one of the simplest XML sitemap plugins you can have connected with your WP site. You don’t need to tweak difficult settings and options, change permissions, etc. since everything is well considered by default.

As soon as this plugin is installed and activated on your website, XML sitemap index will be available with all the needed references to posts and pages so that they will be easy to find and index for search engines.

You can also activate Google News Sitemap to guide search engines to find your XML sitemaps. Whenever you have new publication on your website, Google and Ping will be notified about it.

2. Yoast SEO:

Yoast SEO is a complex solution to your site’s SEO needs and not only. This all inclusive and award winning plugin has already been tested by millions of users and managed to strengthen the link between WP websites and modern search engines.

Use this awesome plugin to create a sitemap in WordPress with the most advanced functionality.

Once the plugin is active on your site, you need to navigate to its SEO, XML Sitemaps and enable XML sitemaps functionality therefrom. Further, you can either configure several settings following the sitemap functionality enabling or ignore them and move on.

That’s it! Now sitemaps are enabled on your site and WordPress SEO will display XML Sitemap button you can press to view your sitemap.

3. Google XML Sitemaps:

Another search engine optimization and XML sitemap creation tool you are welcome to check is known as Google XML Sitemaps. Frequently updated and installed by more than 2 million active users, Google XML Sitemaps is definitely worth trying.

It’s another popular and user optimized plugin to add XML sitemap feature to your site and make it a better place for Google and other major search engines to crawl it.

All your custom generated pages as well as URLs are going to be supported by Google XML Sitemaps. Moreover, any time a new content is added to your site, search engines are going to be notified as well.

4. All in One SEO Pack:
all in one seo

All in One SEO Pack is the next power packed and fully fledged SEO plugin without which many modern WordPress profiles would be incomplete.

It comes with out of the box support for XML sitemaps and submits your sitemaps to Google and Bing for better and higher search engine results and positions.

Along with XML support, you will also find other great tools like Google AMP support, Google Analytics Support, META tags generation, and finally, more controls and possibilities for advanced users of the plugin.

Submit Sitemaps to Search Engines:
If you have successfully created sitemaps for your WP site, you can submit them to search engines for accelerating the process of your site indexing. The most useful you can use for such purposes is Google Webmaster Tools. Sign in here with your Google account if you have or create a new account for signing in. Add your site in Webmaster tools, verify the ownership of your site with one of the offered methods. The simplest one is to copy HTML meta tag and paste it in WP SEO plugin you are using. Once you are done with this part, press the verify button on the site verification screen of Google Webmasters tool. Then continue to add your sitemaps to the Sitemaps page.