How to Add Pagination to WordPress

Pagination is a must have feature of a blog, which helps in easy navigation and faster page load time. If your blog has got 50 posts and all of them are loaded at the same time on single page, it would load very slowly and will definitely increase the bounce rate. So, pagination helps distribute the content in multiple pages.

If you are running your blog on wordpress then there are various plugins to implement pagination. Apart from plugins, there are manual ways of doint it through code:

Numeric Pagination

[gist id=”28ef9984299d7714659f05483f90fcec” file=”wp-pagination.php”]

Add above code to functions.php file of your theme. Now, call the above function numeric_pagination() after posts loop in the index.php file. Know more about paginate_links on codex.

Simple Pagination

If you don’t want to use numeric pagination, then simply call the_posts_navigation() function after posts loop. Know more about the_posts_navigation on codex.

Plugins

There are many plugins available in wordpress.org to implement pagination. If you don’t know coding then i would advice you to use a plugin.

 

5 Free Perspective Mockup PSDs to Showcase your Website Design

Presentation is a very important aspect of any design work. A well designed product backed by excellent presentation increases your chances of success toall new level. When it comes to website design, mockups can be presented in an elegant way. I recently created a website mockup and wanted to give it a finishing touch. So, the first thing that came in my mind was to use a perspective mockup. Here is a list of 5 Free perspective mockups.

3D Showcase Mockup Template

Isometric Perspective Mockup

 

Beautiful Free Perspective Website Mockup

Perspective Website PSD Mock-Up

The Screens – Free Perspective PSD Mockup Template

10 Websites to Find Free High Resolution Stock Photos

Images play a vital role in success of a website’s design. But high resolution and quality images are difficult to find and with all the copyright issues which can land you in trouble in the future. So, it is better to have a list of websites where we can access high quality free stock photos. Here is a list of 10 websites which i have compiled and personally use for my website design work.

Freepixels

Free stock photos and images

Freepixels website has a lightweight design and easy navigation where you can access images from various categories like Travel, People, Work, Nature etc. Apart from that you can view the most popular images which is available with thumbnails in sidebar at the top.

Picjumbo

Picjumbo has got a huge repository of high quality free stock photos which reflects on their homepage with mind blowing images from various categories displayed in grid structure. Picjumbo has a unique feature which lets you test drive the image i.e. preview the image in full width mode which gives you a better idea of how the image will like when implemented on a website.

Pixabay

Pixabay features a search bar above the fold which gives you the convenience of searching images, vectors and videos. What makes pixabay different from other stock photo websites is that it has a community around it with forums and users which can be followed and their are delievered in your email. Also it provides videos, illustrations, vectors.

Stocksnap

Stocksnap has a modern design with smooth navigation. It provides a search engine and links to most searched category of images. After that images are displayed which can be sorted based on most recent, trending and number of views.

Unsplash

Unsplash is a very popular among designers for its high quality images. its interface is simple with list of images which can be viewd in grid format too. It makes things easier for you by providing various collections of images like wedding, couples, mother earth, outer space etc.

How to Remove Page Titles from Woocommerce Pages

In this tutorial, you will learn how to remove page titles from woocommerce pages. Woocommerce comes with a lot of hooks and filters, so we are going to use a filter to do this job.

[pastacode lang=”php” manual=”function%20wc_hide_page_title()%0A%7B%0A%09return%20false%3B%0A%7D%0Aadd_filter(%20’woocommerce_show_page_title’%2C%20’wc_hide_page_title’%20)%3B” message=”” highlight=”” provider=”manual”/]

The above code will remove titles from all woocommerce pages. In case, you want to remove it from a specific page then we need to use conditional tags available in woocommerce. Lets remove titles from Shop page only.

[pastacode lang=”php” manual=”function%20wc_hide_page_title()%0A%7B%0A%09if(%20!is_shop()%20)%20%2F%2F%20is_shop%20is%20the%20conditional%20tag%0A%09%09return%20true%3B%0A%7D%0Aadd_filter(%20’woocommerce_show_page_title’%2C%20’wc_hide_page_title’%20)%3B” message=”” highlight=”” provider=”manual”/]

The above code will return true in case the current page is not a shop page. Hence, the title will be displayed on pages other than Shop page.

How to Schedule your WordPress posts

WordPress has got a very useful feature where you can set date and time for when you want to publish that specific post. Follow these steps to schedule your WordPress post:

 

1. After you have finished writing your post,  click on ‘Edit’ link present just abobe ‘Publish’ button.

 

schedule_post_1

 

2. An option to select date will appear upon clicking the ‘Edit’ link. Choose the desired date and click Ok.

 

.schedule_post_2

 

3. In the end you need to click on ‘Schedule’ button and your wordpress post just got scheduled to be posted in future.

10 WordPress Themes For Travel Bloggers

While travelling, we get a chance to explore various cultures around the world and the information which we gather is worth sharing through a blog. So, it is a very good idea to have a travel blog where you can share those precious moments.

When starting a travel blog, it is very important to keep in mind that the design should be clean so that the focus remains on the content and the images . With these things in mind i have compiled a list of wordpress themes. Continue reading 10 WordPress Themes For Travel Bloggers