Paulund

Wordpress Category

Creating WordPress Custom Page Templates

wp-custom-page-template

In WordPress you start off with 2 default types of posts you have the standard posts and you also have pages.

For these types of posts WordPress will use different PHP files to display the content, the standard posts will use the single.php file and the pages will use the page.php file.

But the problem with this is that you can only use one file for your pages so you can’t have different page layouts or styles. This is why WordPress created the ability to create custom page templates, which allows developers to create as many different page templates as they want.
Read More →

Creating WordPress Shortcodes For Envato Marketplace API

If your a regular reader here then you will know every month I display a list of Free items that you can get from the Envato marketplace.

The Envato marketplace is a set of different websites which are all dedicated to sell premium standard files on all types of files you will need for design and development.

You can get WordPress themes, code scripts, graphics, photos and much more.

In this tutorial we are going to look at how to use the API to get public information and how to turn this into a WordPress plugin to display item information on your Website. We are going to team up the API with your account name to easily earn money from the affiliate account by referring new users to the marketplace.
Read More →

How To Create A Pinterest Scroll To Top Button WordPress Plugin

In a previous tutorial you would of learnt how you can use jQuery to create a scroll to top button on your website so when you click the button it will scroll you back to the top of the page.

This is a really useful feature for websites which have a large scrolling page or infinite scrolling. The types of websites that will need this feature are content heavy website for example blogs. There are loads of blogs with massive pages because of all the great content on there. It would be so useful to have a scroll to top button on them…as most blogs are on WordPress I’ve decided to take the previous scroll to top tutorial and turn this into a WordPress plugin.

Why Pinterest?

Pinterest-Logo
Read More →

How To Register Menus In WordPress

In a previous snippet we learnt How To Register A Sidebar In WordPress in this snippet we are going to learn how we can easily create custom menus and add them anywhere on your WordPress blog.

Create A New WordPress Menu

WordPress allows you to create your own custom menus from pages or category items. Using your theme settings you can define where certain menus can appear. For example you can create a menu for all your categories and display this at the top of your page.
Read More →

How To Display Author Bio With WordPress

WordPress is a CMS that allows your website to work with multiple authors. When your website has multiple authors it’s good to have the author bio at the end of the posts so that the reader can get to know the author.

In this tutorial we are going to learn how easy this is to do in WordPress and how we can customise the default WordPress Author info to provide even more information about WordPress Authors.

Author info
Read More →

11 Steps To Speed Up Your WordPress Site

In this tutorial we are going to cover what changes help change your website from being a slow low ranking site to a race horse.

Lately Google has been making many changes to make the web better, one of the main updates is the Google Panda updates which stops against duplicate content. But the update we are looking at today is speed, Google takes speed into account when ranking you in the search results and visitors tend to leave you site if they have to wait more than a couple of seconds. For both these reasons you can see how important page loading speed is to the success of your website.

This website uses WordPress as the CMS so we are going to use this as an example to see how you can speed your site.

Before Making Changes

Before we started making any changes it’s good to find out what your starting speed is, below is a screenshot from pingdom which says Paulund took 5.80 seconds to load and needs to download 219kb of data.

Without CDN
Read More →

Create WordPress Database Error Page

In today’s tutorial we are going to learn how you can display a page on your WordPress install if your website has a database error.

WordPress Files

In WordPress it has a couple of default file names which it can grab and use if they are in the folder structure. Such as the footer.php, header.php and sidebar.php can all be accessed and displayed by different methods in your WordPress install.

There are other file names which WordPress will use to display default pages to the user on certain events.
Read More →

How To Separate Post Excerpts In Boxes

Wordpress
In my current WordPress theme I display the most recent posts on the index page. I don’t display all of the post as I think it will be a bit too much on the first page of the site, so I decided to just display the excerpts of the post.

WordPress Excerpts

A WordPress excerpt is a summary of the description of the article. The WordPress default will display the first 55 words of the post, after that you can put a link to read more of the post.
Read More →