How to Install WordPress After Purchasing Web Hosting

Now that you've purchased web hosting, it's time to build your site! For this, we're going to use "WordPress". It's an application that powers more than 30% of all websites. WordPress allows you to create web pages, navigation menus, and a blog. This tutorial will explain how to install it … [Read more...]

How to Calculate Values in WordPress Posts and Pages

Let's say you store some data in MySQL database that you retrieve via a shortcode. This shortcode returns a dynamic value that's updated in real time. Great! Now what if you need to perform some calculation on that value? Let's say it's as simple as multiplying it by 2. Now you're stuck! Short of … [Read more...]

Tutorial: Exclude Logged in WordPress Users with Google Tag Manager

This tutorial will explain how to configure Google Tag Manager - GTM for short - so that your own visits your site don't trigger Google Analytics tracking code. It makes the following assumptions: You've already set up Google Tag Manager and added the code to your site You've already set up … [Read more...]

How to Display a Single Cell from Google Sheets in WordPress

Sometimes you need to publish dynamic data in WordPress. Whether it's changing prices, the score for a game, or stock prices. Google Sheets is a great way to achieve this. In this tutorial, I'll show you how to display the value of a single cell in Google spreadsheets using a simple shortcode. Here … [Read more...]

How to Add Custom Image Sizes to the Dropdown in WordPress

When you upload an image to WordPress, you can choose the image size from a dropdown from the media section. There are typically a few predefined sizes. Namely: Thumbnail (150x150) Medium (325x225) Large (1024x766) There might be some others as defined by your theme or plugins. Often … [Read more...]

How to Add Adsense to WordPress Posts

Putting Adsense ads on your site is the simplest way to monetize your blog. Luckily for us, Google has made it pretty easy. Here's a quick tutorial with screenshots on how to add Adsense to WordPress. Step 1: Log in to your Adsense Account If you don't have an Adsense account, create one here and … [Read more...]

How to Remove Posts from the Homepage in WordPress

By default, new WordPress posts appear at the front of your blog. However, sometimes you don't want this to happen! Here's how to remove posts from the home page, so they don't appear in your feed. Step 1: Create a New "Dummy" Category The best way to keep some posts away from the front of your … [Read more...]

WordPress – How to Prevent Duplicate Post Titles

If you have a lot of people contributing content to your blog, you might accidentally have two posts with the same title. By default, WordPress doesn't raise any red flags when that happens. It'll generate a unique URL by appending a number (1, 2, etc.) after the original URL and so prevent any … [Read more...]

How to Put an Image Before the Post Title in WordPress

Sometimes you might want to place an icon or an image before the post title. This might be a different image for each post, depending on your requirements. Here's a simple step by step guide with screenshots on how to accomplish this. Step 1: Upload your Image to WordPress The first step is to get … [Read more...]

How to Link to a Draft in WordPress with Pretty Permalinks

The "Insert/Edit" link button in WordPress is a great tool for quickly referencing your own content. You can search by keyword and it automatically fills in the permalink. However, it has one major limitation - you can't link to a draft post. This is important because sites often create interlinking … [Read more...]