Editing Sagamore PTA Wordpress notes
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Wordpress notes from the {{discussion list|name=Sagamore Online gang|id=sagamore.online|page=Sagamore online}}! |
|||
The [[Sagamore Hills PTA website]] runs on [https://wordpress.org/ Wordpress] |
|||
==Styling== |
==Styling== |
||
Line 5: | Line 5: | ||
Bother [[John Lenz]] to make it 'perty. |
Bother [[John Lenz]] to make it 'perty. |
||
==Migration== |
|||
===Featured Images=== |
|||
Importing content from another Wordpress installation can be done with the '''Tools → Export/Import''' options. Some notes: |
|||
The target dimensions for featured images in the Twentyfourteen theme is: '''1038x576''' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
==Addresses (URLs)== |
|||
===Address beautification=== |
|||
Be sure to: |
|||
# Admin → Settings → Permalinks → Day and name |
|||
# ''Then:'' Custom Structure |
|||
# Remove the trailing slash |
|||
(to get rid of the ugly "?p=#" and default trailing slash) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==Plugins== |
==Plugins== |
||
Line 14: | Line 38: | ||
So folks know when the website has been changed, the [https://wordpress.org/plugins/email-post-changes/ Wordpress plugin: Email Post Changes] comes in handy. |
So folks know when the website has been changed, the [https://wordpress.org/plugins/email-post-changes/ Wordpress plugin: Email Post Changes] comes in handy. |
||
===Redirects=== |
|||
* [https://wordpress.org/plugins/quick-pagepost-redirect-plugin/ WordPress › Quick Page/Post Redirect Plugin « WordPress Plugins] |
|||
** (preliminarily chosen over the popular [https://wordpress.org/plugins/redirection/ WordPress › Redirection « WordPress Plugins] |
|||
===Calendar=== |
===Calendar=== |
||
⚫ | |||
You can just [https://support.google.com/calendar/answer/41207 embed Google Calendars], but they're ugly. Instead, use a plugin to pull and present calendar data. |
|||
⚫ | |||
===Facebook=== |
===Facebook=== |
||
Line 26: | Line 53: | ||
==Setup== |
==Setup== |
||
How a new installation was setup for the PTA website reset 2014-09 |
|||
===Fresh install=== |
|||
# Login to the [[Sagamore Hills PTA Dreamhost account]] and install Wordpress |
# Login to the [[Sagamore Hills PTA Dreamhost account]] and install Wordpress |
||
Line 65: | Line 88: | ||
#::: <code>/%year%/%monthnum%/%day%/%postname%</code> |
#::: <code>/%year%/%monthnum%/%day%/%postname%</code> |
||
#::: ''("Day and name" minus the trailing slash)'' |
#::: ''("Day and name" minus the trailing slash)'' |
||
# Import |
|||
# '''Delete default example content''': comment (comment 1 from Mr. Wordpress on post Hello World), post Hellow World (id=1), page Sample Page (id=2)) |
|||
⚫ | |||
# '''Increase default upload filesize''' (from 7M at Dreamhost in /etc/php54/php.ini in 2014-10) to allow uploading videos; see http://wiki.dreamhost.com/index.php/PHP.ini . |
|||
⚫ | |||
⚫ | |||
===Import old content=== |
|||
⚫ | |||
⚫ | |||
Notes: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
===Plugins=== |
|||
# Delete unused default plugins: |
|||
#* Akismet |
|||
#* Hello Dolly |
|||
# Install |
|||
#* [https://wordpress.org/plugins/email-post-changes/ Email Post Changes] |
|||
#* <del>[https://wordpress.org/plugins/redirection/ Redirection]</del> ''basic redirection provided by Wordpress already'' |
|||
#* [https://wordpress.org/plugins/post-type-switcher/ Post Type Switcher] |
|||
==Old ideas== |
==Old ideas== |
||
'''''Don't'' do these!''' |
|||
⚫ | |||
'''''Not needed''' if content is [[#Import_old_content|imported]]'' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
===Assigning post IDs=== |
===Assigning post IDs=== |
||
'''''Don't use:''' Although the following is possible, it's probably better to just [[# |
'''''Don't use:''' Although the following is possible, it's probably better to just [[#Migration|import old content]] and/or use redirects for old content (ala [[Sagamore .htaccess]]) and make new content use unique post IDs by doing [[#Change starting post ID]].'' |
||
* [https://wordpress.stackexchange.com/questions/7177/how-can-i-assign-post-a-specific-id-on-creation#answer-7230 migration - How can I assign post a specific ID on creation? - WordPress Development Stack Exchange] |
* [https://wordpress.stackexchange.com/questions/7177/how-can-i-assign-post-a-specific-id-on-creation#answer-7230 migration - How can I assign post a specific ID on creation? - WordPress Development Stack Exchange] |
||
Line 119: | Line 109: | ||
* Might want to know how to [http://vocecommunications.com/blog/2011/03/running-wordpress-from-command-line/ execute from the command line] too |
* Might want to know how to [http://vocecommunications.com/blog/2011/03/running-wordpress-from-command-line/ execute from the command line] too |
||
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)). |
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)). ''This happens automatically with Wordpress's Tools → Import if the IDs aren't already taken.'' |
||
===Page Tagging & Categories=== |
===Page Tagging & Categories=== |
||
Line 132: | Line 122: | ||
* [https://wordpress.org/plugins/tag-pages/ Tag Pages] |
* [https://wordpress.org/plugins/tag-pages/ Tag Pages] |
||
* [https://wordpress.org/plugins/page-tagger/ Page Tagger] |
* [https://wordpress.org/plugins/page-tagger/ Page Tagger] |
||
==Further Reading== |
|||
* https://managewp.com/wordpress-content-management-complete-guide |
|||