Customizing WordPress Posts

Customizing WordPress Posts

This is a semi-advanced WordPress tutorial in which I will demonstrate how to make WordPress work with Post Templates in a similar fashion as it does with page templates by default. The concepts covered in this tutorial will include: Page templates Custom post templates The get_header function The body_class function Customizing the top main navigation menu Adding Post Templates in WordPress Understanding Custom Page Templates If you are not familiar with creating custom page templates, you should......

Continue reading

Tips on Using JavaScript in WordPress

Tips on Using JavaScript in WordPress

The use of JavaScript in WordPress is a bit of a grey area for some. More advanced users of course know that JavaScript can and is normally used in themes, child themes and template files. We will touch on that in this tutorial and also cover the more uncertain techniques of using JavaScript in posts and pages. Some say it can't be done. Some people say to use a......

Continue reading

Using WordPress as an API Documentation Blog

default

Well written, easy to understand documentation for programming languages, software, APIs and other computer applications is a must. After all, what good is an application, programming language or API if people cannot figure out how to use it? As a web developer, I recently had a project where I was commissioned to build a sports and weather statistics API where users can connect to the API and retrieve stats......

Continue reading

Organize WordPress Posts With Custom Fields

default

Have you ever wanted more control over how posts are categorized in WordPress? We did a project recently where the client wanted a WordPress story authoring site. He wanted to use normal categories for genres such as horror, sci-fi, etc. But he also needed to sort them by storylines because the premise for the site was to have several possible storylines all stemming from the same first chapter but......

Continue reading

WordPress Custom Fonts

WordPress Custom Fonts

One of the biggest problems with fonts is that if the person visiting your site doesn’t have them installed on their local machine, they won’t see them. This can cause issues because you never know what font it might get replaced with and what it could look like for each visitor. In this tutorial we will show you a great solution to using custom fonts on a WordPress site.......

Continue reading

Customizing WordPress Posts by Editing the WordPress Loop

Customizing WordPress Posts by Editing the WordPress Loop

The WordPress Loop The Loop refers to the section of PHP code used to display posts. Below we took the loop statement from the WordPress Index.php file that we use to start custom WordPress themes with. Here is what a basic loop looks like: Posted in | If you are familiar with PHP, then you can see how the loop is basically a while loop that says while there are......

Continue reading

Formatting Tricks That Make Your WordPress Site Unique

Formatting Tricks That Make Your WordPress Site Unique

This tutorial will help you learn more formatting options that will help make your blog your own. Make your blog interesting and unique instead of being forced to deal with the same standard WordPress default settings everyone else uses. Formatting Date and Time by Altering the_time Function WordPress normally shows the date at the bottom of each post in the meta data and it looks like this: February 14th, 2012.......

Continue reading