ManagedCloud Servers

High performance handled and monitored by us 24/7/365. A complete solution to provide you with our in house expertise 24/7 tailored to your specific needs. We'll setup a bespoke server for your site using the latest tehnologies so you can get the most out of your hardware and get your website loading quickly and reliably. Find out more..

cPanelCloud Servers

Recommended - High performance cloud servers with no technical knowledge required. If you're hosting multiple websites already and you're looking to consolidate, or if you're looking to isolate yourself from the shared hosting environment but you don't have the time or knoweldge to manage a server, then the Managed cPanel Servers are for you. Find out more..

UnmanagedCloud Servers

Our unmanaged range gives you complete control at rock bottom prices and our cloud platform boasts super fast multipath 40Gb/s network, the latest Intel Xeon V3 CPUs and enterprise grade redundant SSDs. If you're a sysadmin look no further, we offer some of the best specification to price ratio servers available. Find out more..

Using Wordpress? Get our lightening fast Wordpress Optimised Hosting from £1.60 / month

View Plans

WordPress – Grid Design and Pagination

Steve Jobs once said that design is not just about how something looks, but also how it works. While that’s true, the reality is that people think more of appearance when we talk about design than the inner workings of an object. “Woops that site has a really amazing design”, well, meaning it has an amazing appearance, not just that it works so well. “I need to hire a web designer not a web developer”, well, he means he is looking for someone to customize the visual aspects of the website, not tinker with how things run in the metal.

But design is not just something that only Steve Jobs or the recent generations have taken seriously. Complex designs have been present since antiquity. We majorly talk about Grid design today, and it’s tempting to think of it first being used in the web. However, we couldn’t be far from the truth. Grid design has been applied for a very long time.

Most information is often presented as a list of posts. This is very effective and quite common. However, there are alternatives which to some people like myself prefer. One such alternative is Grid design or it’s variations like Masonry.

I love using Grids in my blogs to display posts. I intuitively prefer it to lists, especially if you have lots of posts.

One very good example of where it’s implemented quite well is the WordPress plugins’ portal.

Grid Design

It’s much easier to browse through thousands of plugins via a grid than a list. In a single viewport, you can present more plugins than with lists. Lists would require a lot of scrolling. Grids always look more compact compared to lists. Say you want to search a plugin, you don’t have to scroll to the top to find search form, yet it displays more plugins per viewport than the lists. Grid design makes efficient use of space.

The majority of folk tend to use grids only with media files like images and videos. Sites like YouTube and Pinterest use a lot of grids to display galleries of videos or images. However, grids can be very good with posts as well.

Objectives

The objectives of this tutorial is to show how to: - Employ Grids in showing of posts. - Show posts in Collapsible list. - Show posts in Scrollable list. - Paginate posts, and navigate among pages via Ajax.

Installation

We are using the ‘Post Grid & List for WordPress – Content Views’ plugin. Let’s install it:

  1. Head over to WordPress plugins portal. Search ‘grid’. Install Content Views
  2. Click ‘Install Now’ button to install our plugin.
  3. Click ‘Activate’ button to activate it.

Creating a Grid

You can create unlimited Grids with this plugin. Once the plugin is activated:

  • Click the ‘Add New’ menu item under the content views as shown below.
Add New Page
  • Type the Grid name then choose the content type. Leave the ‘Limit’ section blank as I have done below if you prefer to have all the posts available for display in the grid. Note that this is not pagination, we shall be able to page these posts later.
Grid Name and Type
  • Select Filter and Sort methods.
Filter and Sort Methods
  • Next let’s move over to the ‘Display Settings’ tab.
Display Settings
  • From the above you can see we have three types of layouts: Grid, Collapsible list and Scrollable list. Let’s choose grid, we’ll see a demo of the other two later.

  • Our grid is responsive, it will adjust appropriately to a device’s resolution. Choose the number of columns you would love to be shown per device. It’s only wise you show a single column in a mobile device.

  • Choose how you would like the image and text to be displayed.

Title and Thumbnail Settings

  • Choose the fields you would like shown per grid, e.g. title, content, categories etc. Content and Meta Fields

  • Choose whether you would like the posts to be paginated. You can then navigate to the next page either via Ajax or by full page loading.

Pagination Settings

RESULTS

Grid

Here’s our grid with images, text and categories.

Grid result

Collapsible List

You can also choose to display collapsible list instead of grid. Just choose it in the radiobutton as below:

Choose Collapsible

Here’s the result: Collapsible with pagination

Scrollable List

You can choose to display a scrollable list as below:

Choose Scrollable

Then you get this as the result:

Scrollable Result

Conclusion

In this post we have seen how to use it to create grid posts, Ccollapsible lists as well as scrollable lists. Our plugin enables us implement numbered pagination. We could then navigate pages either via Ajax or full page loading.

A single grid could contain fields like title and content as well as an image. Moreover, we can easily set the number of columns to display per device. We have agreed that a mobile should in most cases have a single column. Let’s therefore go ahead and implement the grid design in our blogs.

Using Wordpress? Get our lightening fast Wordpress Optimised Hosting from £1.60 / month

View Plans