WordPress:- Managing Categories

Background

I use categories quote a bit in WordPress.

Wanted to determine whether there are workarounds for adding categories that have commas in their names.

Outline

  1. Using the Classic Editor, In the Post
    • Enclose category in double quotes
    • Enclose category in single quotes
  2. Category
    • Category Screen

Exercise

Post

Use Double Quotes

Within the post, add a new category and enclose the new category in double quotes.

That is, when adding Paris, France enter “Paris, France”.

Unfortunately, WordPress did not keep our city, “Paris, France“, as one.

Two entries were created.

Our added entries are:-

  1. Paris
  2. France

Images

Editor – Add “Paris, France”

Editor – Added “Paris, France” – “Paris

 

Editor – Added “Paris, France” – France

 

Use Single Quotes

Within the post, add the new category and enclose the category in single quotes.

This time when adding Paris, France enter ‘Paris, France’.

The same experience.

WordPress did not keep our city, ‘Paris, France’, as one.

Again, two entries were created.

The two entries being:-

  1. Paris
  2. France

Images

Editor – Add ‘Paris, France’

Editor – Adding ‘Paris, France’ – “Paris

 

Editor – Adding ‘Paris, France’ – France

 

 

Category

Plain Text

Please access the categories screen via the Admin Menu.

Using the categories screen is really your best option for managing categories.

 

Summary

This only affects the classic editor.

The block editor does not exhibit this issue.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s