How to Have Different Sidebar Content On Different Pages of Your WordPress Site

How to have different WordPress sidebar content on different pages

Updated: April 2018

Not all WordPress themes provide a way to have totally different sidebar content on different pages of your site. Some may provide a little flexibility with, for example a sidebar for the blog and a different sidebar for static pages, but sometimes you need more comprehensive control. You may need an additional set of navigation on a certain set of sub-pages, or you may want to hide some widgets on mobile devices, or for other specific conditions.

There are several different plugins that help you gain this type of flexibility with your site.

Read More

Simple Banner Ad Management For Your WordPress Site

Ad Management Plugins for WordPress

Running advertising on your WordPress site can get pretty complicated and so can the plugins available. This particular post is aimed at those whose needs are on the lower end so I’m only looking at free plugins here. If you’re really serious about advertising and need robust features, chances are you’ll need a fully featured paid plugin such as OIO Publisher or Adsanity.

For my situation, the criteria is:

  • The chosen plugin must be easy enough for my client to manage themselves
  • It must have a widget for easily displaying ads, or at least have an easy short code that will work in a widget
  • It must be able to handle either uploading a banner image, or pasting in ad code from a 3rd party such as Google AdSense, BlogHer, etc.

I tried out a bunch of plugins and below are the only ones worth mentioning.  

Read More

WordPress 101 Video – Understanding Core WordPress Concepts

WordPress 101 - Orange County WordCamp 2013

I recently had the honor of presenting at WordCamp Orange County 2013. I was asked to give a “WordPress 101” talk which may sound simple, but is deceptively so! It’s actually quite a challenge. I teach WordPress every day so the material is second nature, but in a presentation you only have about 30 minutes, so it’s impossible to convey all the information that WordPress 101 could potentially encompass.

My approach was not to go the mechanical nuts n’ bolts route of “this is how you install WordPress, here’s how you make a post” etc. Instead I focused on the understanding of basic concepts in WordPress which are absolutely necessary – differences between posts and pages, understanding what menus are and how they work, how themes work, the difference between a plugin and a widget etc. These are all areas that I see beginners grapple with understanding at first. If you don’t get these core concepts down, you’ll have problems with WordPress. 

Read More

How To Use Shortcodes In WordPress

How To Use WordPress Shortcodes

WordPress shortcodes are a powerful feature that theme and plugin developers use to give users advanced tools at their disposal, but they continually confuse people. They are infinitely easier than writing actual HTML and CSS but can still freak out the typical user.

Why are shortcodes useful?

Using only the WordPress editor, one’s options for laying out a page or post would be limited to one block of text, perhaps interspersed with an image, video or maybe a photo gallery. What if you want to create a more visually interesting layout? Such as splitting your content area into columns, for example? Or including buttons, highlights and other fancy visual styles?

To write that kind of HTML and CSS would be quite tedious and beyond the abilities of most users. It would also create a lot of messy code in your WordPress editor, muddying the lines between content (which is primarily what you should be editing in WordPress) and code.

Read More

How To Remove The WordPress Admin User Account

WordPress Secuirty - Delete Admin Account

If you’ve been on the internet in the past week or so, you’ve probably heard about the spate of “brute force” attacks that have been made on WordPress sites, specifically targeting accounts with the username “admin.” It has always been a security best practice to not use this username, or any other similarly generic one but the recent attacks have highlighted the issue to the masses, which is really the silver lining here.

The reason “admin” is the target is because it is the default username that is assigned upon installation of WordPress. If you install WordPress through your hosting control panel, you are usually, but not always, given a chance to change that before installation, but many unsuspecting folks, especially new users, may not see a reason to change it. So now a hacker has 50% of the information that he needs to get into your site. Since most people use extremely weak i.e. simple, passwords, hackers can automate the submission of zillions of attempts at guessing your password. If your password isn’t strong, they have a good chance of gaining access.

Read More

XML and HTML Sitemaps For Your WordPress Site – The Basics

How To Create XML and HTML Sitemaps in WordPress
Most people have heard they need a sitemap so Google will like their site but what are they and how do you go about creating one?

Sitemaps are recommended for search engine optimization to help Google (and other search engines) discover all of the content on your site. Search engines typically discover the content on your site by following all the links that exist to your site, and within your site (your navigation etc). When you have a large site or one that has a complex  structure which might make it harder for Google to find all the pages on your site, a sitemap is especially helpful because it simply lists all of the available content.

Sitemaps come in two flavours: XML and HTML

XML sitemaps are designed for search engine bots, not humans.
HTML sitemaps are more geared toward humans, but search engine bots can crawl them too.

GET TARGETED TRAFFIC: The Beginner's Guide to SEO for Business ebook shows you how

How To Create An XML Sitemap

The easiest way to create an XML sitemap is by using an SEO plugin such as Yoast SEO or All-in-One SEO. Both have the capability to create an XML sitemap. 

Read More