Portfolio Post Type Plugin

Add A Portfolio To Your WP Website With Portfolio Post Type Plugin

This is the first of a video series on WordPress portfolio plugins.

I inaugurate the series with the free Portfolio Post Type plugin by Devin Price and Gary Jones.

Continue reading

WordPress Media Library

Five Steps You Need To Take When Adding Images To Your WordPress Theme

The first task when customizing a WordPress theme is adding your own images, especially the logo, background image, slider images, post and page featured images.

But, be aware: the images on your WordPress blog are the most obvious telling sign of its level of professionalism or amateurishness.

Taking the five steps I outline below, will greatly improve the look of your website as well as your website’s visitors’ experience and your site’s search engines ranking.

Continue reading

WordPress Query

How To Get WordPress To Display What You Want

Depending on the URL of the page you’re visiting, WordPress creates a Query.

This is how WordPress talks to the database to get the information that gets displayed on the page.

For instance, if you’re on the blog page, WordPress creates a query that asks the database for the ten latest posts. Again, if you click a link to a single post page, WordPress queries the database for the requested post.

This query is also known as the main query, that is, the default query that WordPress creates to retrieve data according to the requested page.

Let’s say, however, that we’d like to customize what WordPress retrieves as it accesses the Blog page, or the Archives page. This is the case if, for example, we want three post excerpts only from the Sticky category but not from other categories on the home page.

This calls for changing the default WordPress query. Here are the three recommended ways on how to do this.

Continue reading

Mock banner ad on top of a post page

How To Display a Banner Only On Posts From a Category In WordPress

I regularly participate in WordPress.org forums to help out fellow WordPress users with all sorts of issues that crop up as they develop their WordPress websites. It’s a great place to hang out and it’s my way of giving back to the awesome WordPress community.

It’s doing so that gave me the idea of setting up this blog, therefore nothing seems more natural than tackling here any odd question that I happen to answer in the forum, or anything that might be related to my answer to a forum post, only going into a bit more detail.

One forum user asked for help on how to display a banner ad only on posts from a given category in WordPress. Here’s the solution.

Continue reading

Parents and child symbolizing WordPress parent and child theme relation

How to Create a WordPress Child Theme

WordPress themes nowadays are awesome when it comes to offering the user options to make modifications straight from the admin panel, without even having to see a line of HTML, CSS, or PHP code.

You’d love a full-width layout instead of the usual sidebar? You like the sidebar, but you want to move it from the right to the left-hand side? No problem: your theme will most certainly have a page template perfectly suited for this very purpose.

And what about changing text color, links color, background color? Here’s WordPress Theme Customizer to the rescue. This amazing relatively new tool opens the doors to all sorts of customizations. The developer implements options in a straightforward way using WordPress native code, and the WordPress website user applies customizations very easily and previews them live right away.

However, there’s one important feature that’s highly recommended when carrying out customizations, especially extensive ones: the child theme. Here’s what it is, what it’s for, and how easy it is to create one.

Continue reading