Sagamore PTA Wordpress notes: Difference between revisions

From Parents
Jump to navigation Jump to search
(→‎Assigning post IDs: How to execute from the command line)
(→‎Address beautification: Remove trailing slash in address)
Line 21: Line 21:
===Address beautification===
===Address beautification===


Be sure to:
Be sure to: Admin → Settings → Permalinks → Day and name
# Admin → Settings → Permalinks → Day and name
# ''Then:'' Custom Structure
# Remove the trailing slash


(to get rid of the ugly "?p=#")
(to get rid of the ugly "?p=#" and default trailing slash)


===Assigning post IDs===
===Assigning post IDs===

Revision as of 02:07, 16 May 2014

Wordpress notes from the Sagamore Online gang (email • archivessubscribe & more)!

Page Tagging & Categories

Of the two default content types in Wordpress, Pages (unlike the other, Posts), cannot have Tags or Categories associated with them by default. It is relatively simple to change that with some code or a simple plugin:

Only add Tags (not Categories) to Pages:

Styling

Bother John Lenz to make it 'perty.

Addresses (URLs)

Address beautification

Be sure to:

  1. Admin → Settings → Permalinks → Day and name
  2. Then: Custom Structure
  3. Remove the trailing slash

(to get rid of the ugly "?p=#" and default trailing slash)

Assigning post IDs

When importing content, it may be easier for sake of redirecting to assign posts/pages the same ID they had on the export site (especially if the export site exposed IDs in its URL (like the PTA site from 2012-2014)).

Further Reading