A Post in Two Categories

What will its permalink be?

WordPress says its this: http://wp.elizahost.com/blogging/a-post-in-two-categories/ and that the higher numbered category (slug=wordpress) won’t be used.  Yet the following two links lead to this article as well:

  • http://wp.elizahost.com/posts/a-post-in-two-categories/
  • http://wp.elizahost.com/foobar/a-post-in-two-categories/

Note I have set a custom permalink style: /%category%/%postname%/ .

Shortlink to previous post.

Reminder: A link to all posts in the category “Posts.”

About Categories and Tags

The main purpose of categories and tags is to improve the usability of your site, by letting a visitor browse through your content by topic rather than browsing chronologically (which is how blogs were initially set up).

A secondary purpose is to help your post be found by search engines, when someone wants information but has no idea who you are or that you’ve posted exactly the answer they are looking for.

A tag cloud: several words of different sizes

Categories are meant for broad grouping of your posts, like a table of contents.  Categories can have sub-categories — they are hierarchical.

Tags are meant to describe specific details of your posts.  They are like a post’s keywords (not in the SEO sense of the word) that you can use to loosely relate your posts – like in the tag cloud or site search.  Tags form the index of your website as though it were a book.

Every post must have a category, even “uncategorized,” whereas tagging a post is optional.


  • Authors often rename the uncategorized category to something like Other, Ramblings, Misc. etc.
  • Blogs evolve: there is no way you can come up with all the right categories from the start.  Still, imagine your site after being up and running for several months: what posts does it have?  How will visitors find the content they want?  Choose five generic catgories to start with and add more as your blog evolves.
  • This author suggests starting with top categories that have generic, future-proof meanings, then use tags to identify specific topics that may fall in and out of favor over time.
  • Use the Redirection plugin if your category renaming will affect existing posts’s URL’s.
  • If you find you often want to assign your posts to more than one category, consider restructuring your categories.
  • Categories should distribute your posts well.  If a single category holds 90% of your posts, you probably need new or different categories.
  • Choose categories that highlight the content you want to promote.  In my case, I hope to help others to learn WordPress, so I’ve chosen (sub) categories based on my ideas of the aspects of website development using WordPress.
  • A good rule of thumb is assign no more than 10 tags to each post unless you have a good reason.
  • WordPress will automatically list a post’s category and tags in the post’s byline.  The category name and tag names are linked to browse similarly categorized and tagged posts.
  • The Tag Cloud widget shows your most popular tags sorted alphabetically and sized in proportion to their usage.  I like this use of visual cues.  This post’s image shows this website’s tag cloud just before I added this post.

Remember your purpose in choosing categories and keywords is usability: to organize your website content to help your visitor find the information she seeks.


My WordPress book, WordPress, the Missing Manual, has an excellent description on how to choose good categories on p. 109.

Using categories and tags to organize your content.  This author, Syed Balkhi, has an easy-to-understand writing style, seems to keep his content up to date and I like the level of detail provided.  Each article includes links to his other related articles.  I found his articles when I searched for answers to my questions.

Even going back to what appears to be his parent article, Beginner’s Guide for WordPress, in case that’s where you want to start, the content is not an introduction to WordPress but his latest WordPress articles.  It’s as though he has read my mind, as March 29th’s article is “How to Create a Contact Form in WordPress (Step by Step).”  Of course I want to know how to do that … from my experience creating non-WordPress websites.

He loses credibility in my eyes though, with his footer ad “WPBeginner users Get a Free Domain and 50% off Bluehost Web Hosting.” Don’t get me started.

Twenty Sixteen Theme

I am trying out the Twenty Sixteen Theme at my second WordPress practice site, wp.elizapro.com. I changed the background color and created a child theme.

Website home page with header imageMy child theme differs from the parent theme only in that there’s a custom CSS file.  More about Twenty Sixteen Theme:

  • Introduction
  • Download (this page includes a download button)
  • Features (it took me a while to find this page. Why?)
    • The “Features” are NOT described in the sidebar list entitled “Features.” Each of those links shows you a selection of WordPress themes that let you customize that feature … as far as I can tell
    • I can’t find further details on this theme’s features. I thought there was more than the custom colors and header described somewhere. In the meantime, as with any Theme, to see its theme-specific customizations go to your WP dashboard -> Appearance -> Themes, find your theme and hit Customize.

How Did my WordPress get Automatically Updated?

I got an email the other day saying my site was automatically updated to WordPress 4.3.2. How did that happen? I’m self-hosting this website, and I’d not logged in for a couple of months.

It turns out whenever your site requests a page, that is, someone visits your website, this page load will trigger a check for updates.

The update runs in the background via wp-cron. wp_cron checks whether there are any scheduled events in the database. If yes it calls spawn_cron(), which starts another PHP process to do all the actual work.

Lots of processes in WordPress are handled by the cron system: scheduled post publishing, processing pings, update checks, etc.

The automatic update only happens when wordpress.org releases a new minor or security update. Otherwise (for a “major” release like WP 4.3 to 4.4) you must do the update manually by logging in to the back end.

I got this information from http://wordpress.stackexchange.com/questions/131334/how-exactly-do-automatic-updates-work. Thanks to “DisgruntledGoat” for asking and others for answering and explaning.

The Path to Blogging Success

Tips From my WordPress Book

Book cover: WordPress - the missing manual
WordPress – The Missing Manual, by Matthew MacDonald

A good post title clearly announces what you are going to discuss (p. 95)

Make sure your content is worth reading (p. 105) e.g. interesting or useful

Add new content regularly –“avoid stale content.”  But an observation, what’s wrong with that? — posts are dated.  Maybe it depends on the topic.

Keep your content organized.  “A good blog is ruthlessly arranged using categories and tags,” since browsing through monthly archives or searching for keywords in a post are not that convenient.

Where are my Pages? Page Permalinks & Featured Image

The permalink of my first page is here: wp.elizahost.com/here-is-my-test-page/

Perhaps I need to create a menu bar?

And I appreciate how post and page’s “featured image” feature makes it really easy to provide an image for each page or post, but can I make the “featured image” float right near the top of the post text, rather than sitting above the post or page title?

Akeeba Backup for WordPress

I am far enough along in my WordPress training that I decided it was time to come up with SOME backup solution.  Reading through the section of my WordPress book, Backing Up a WordPress Site, I found that, as with Joomla, backup isn’t built in.  Instead our main choices are:

  • choosing an automated backup service such as VaultPress or BackupBuddy for a monthly fee;
  • backing up with a free plug-in such as Online Backup for WordPress;
  • or manually: backing up your files over FTP and backing up your database via an SQL dump from PhpMyAdmin.

I found popular backup plug-ins listed at the WordPress Plugins Directory and this comparison article.  The list included BackUpWordPress, which also sounded like the “Online Backup for WordPress” mentioned in the book.  However Akeeba Backup was on neither list, but it did receive a favorable comment in another backup plugins review list.

I settled on BackUpWordPress as being very popular and free, installed it, looked it over, and found that you RESTORE your website from backup via FTP and PhpMyAdmin.  It seems the only benefit to this tool is it facilitates MAKING the backup.  Restoration requires about the same steps as restoring a manually made backup, as described above.  Are you kidding me?

I went over to the Akeeba Backup for WordPress website and downloaded and installed the plugin.  It looks like as with Akeeba for Joomla, there’s a Pro paid and Core free version.  I got the free version for now, installed it and was happy to see its familiar user interface at my WordPress dashboard (see this post’s featured image above, and the “manage backups” image below).

A screenshot from Akeeba Backup for WordPress
Akeeba Backup for WordPress – Manage Backups

The video tutorial showed me that websites are restored or moved using the familiar (to Joomla users) kickstart.php process:

  1. Make a new database if necessary
  2. Upload kickstart.php and the Akeeba archive file to the website’s home directory
  3. Run myWebSite.com/kickstart.php and follow the instructions to restore the website.

I don’t know why Akeeba Backup for Joomla is not listed in the WordPress plugins website, but once it’s there I predict it will become one of WordPress’ most popular plugins.

What’s your favorite backup solution for WordPress?

Formatting Shortcuts for Editing WordPress Posts

Styles My Text as a Heading

“###” that is.  The formatting shortcuts are a new feature of WordPress 4.3.

  • Starting a bullet list with “*”
  • Asterisk that is, followed by space then a character
  • To get out of the list, hit two newlines

Here comes a numbered list:

  1. Item one
  2. Start it with digit followed by )
  3. “1)” that is

End of my list.

Note, to get the link to open in a new window, I don’t see the option in the add link menu.  I added “target=’_blank'” in “text” mode.

green plastic dinosaur head
Dino the bike horn dinosaur

Since every post should have an image, I’ll provide a copy of my “sites icon” here.  Sites icon is a feature that came along in WP 4.3.

By the way, how to center the caption?  It looks like I’ll have to modify the theme’s CSS, to style figcaption or class=”wp-caption-text” to have style text-align: center.  Maybe when we get to child themes?  I’ve tagged this post with “learn” to indicate something TO learn.  Maybe I can have an additional tag “learned” to indicate posts demonstrating things I’ve learned.

Paragraph Breaks vs. Newlines

  • Enter/newline starts a new paragraph
  • Shift-Enter gives you line breaks

Pendergast Ave.
Cupertino, CA  95014
(408) 255-3767

Yup, one less reason to go to HTML view.  Does shift-enter work in JCE as well?

Spell Checking

Use Firefox: turn it on here: options > advanced > general > check my spelling as I tyyyype.  (It took looking in options again to start checking.)

What IS a Blog?

(This is a sticky post)

In his 2011 book, Joomla! 1.6: A User’s Guide – Building a Successful Joomla! Powered Website, Barrie North describes “what is a blog?”  Here is my summary of his topic:

What IS a blog?
* communication medium: typically frequent brief posts about a particular subject
* unique communication style: honest first-person voice
frequent posting: daily? weekly?
* usually posts are brief, only introductory text is shown on the main page, along with a “read more link
* make regular posts to build a loyal readership that will have consistent expectations about your blog content

Carol’s comment: who has time to regularly read anyone’s blog? Even as much as I value Jacob Nielsen’s “Alert Box,” I only visit when I have time to read, and first I search through his recent topic lists to choose what to read. Or I read someone’s blog post when it turns up in Google search results.

Which platform? Barrie says pick one that’s extensible to other types of web pages. In 2011, when Barrie North published his book, WordPress was (probably?) not so extensible.  Hence Joomla was the choice.  Now (in 2015) WordPress has evolved into a more general website platform.

How to order posts?

What Features are Needed on a Blog Site?

In his 2011 book, Joomla! 1.6: A User’s Guide – Building a Successful Joomla! Powered Website, Barrie North describes the features needed on a blog site.  I looked at each feature to see how it was implemented on THIS site, my 2015 WordPress practice website.

Flexible layout: defined by your WordPress Theme – make yours stand out a little
— Theme Twenty Fifteen is active, I chose the customize tab to set colors, header image, and choose latest posts for my front page.

Browser-based editing:
— From dashboard -> Posts

Automated publishing: instead of FTP, click a button
— yes, click the Update or Publish button to update or publish my post

Categories: split your post into categories that will make them easier to find
— From the right-hand side of editing a post, add a category for your blog post and assign your post to this category. I created a category “Blogging” and assigned my post to it.

— where do “Tags” fit in? I created a tag “Blogging” and assigned it to my post.

Search Engine Optimized URL’s: have a URL that includes keywords about your post
— I see that my post’s URL automatically ends with my post’s title words dash-separated

Comment systems: the number one way your site becomes “sticky”
— “Leave a Reply” is turned on by default
— why do I care about the commentor’s website?
— How to moderate comments? It looks like comments await moderation by default.

WordPress blog site home page
My WP practice site’s home page. I right-aligned this automatically captioned image by changing “align” from “alignnone” to “alignright”

Syndication Feeds: Push your post onto other RSS readers, have your posts appear automatically on someone else’s website
— by default there’a an “Entries RSS” in my blog’s “META” menu. Clicking on it leads to a page “Subscribe to this feed using ‘Live Bookmarks.’ ” It created a link within my browser bookmarks. Looks nice: gives website title, subtitle, linked titles to each blog post, date of post and the post itself.
— actually, the bookmark turns into a folder of links to posts. I’d rather use the feed URL, which is http://wp.elizahost.com/feed/

Email notification: Notify a mailing list when you’ve added a post, for marketing purposes
— How?

Search: your blog archive will soon be bursting. Provide a search capability to help site visitors find your blog posts; note some people prefer to browse
— I see the search box is built in

TrackBacks are complex, but the bottom line is that you read a post, and you comment about it on your blog. You place the URL to the post in yours, and the blog picks up your post and leaves it as a comment in the other’s post.

I practiced the trackback technique via this post.

— It sounds like a trackback is a way to get someone else to link to your blog. I presume trackback posts can be moderated.


What do you think?  Since 2011, have any of these features become obsolete?  Are there NEW features that you consider essential to a blog?