Site Documentation

Adding a New Photo Gallery

Step 1: Add a new media category

  1. Admin Menu –> Media –> Media Categories
  2. Name: City, State – Month day, year [ex. Austin, Texas – September 27, 2014]
  3. Slug: city-state-isodate [ex. austin-texas-20140927]
  4. Parent: Photo Gallery

Step 2: Upload images

  1. Admin Menu –> Media –> Library
  2. Thumbnail view
  3. Drag and drop photos
  4. Once uploaded, assign category one by one

Step 3. Add new Post

  • Add Title: City, State – Month day, year
  • Select Category: Photo Gallery
  • Change publish date to event date
  • Turn off feature image option in “Jupiter Posts Options”
  • Add feature image
  • Turn on “Backend Editor” (Visual Composer)
  • Click “Add element”
  • Select “Masonry Media Grid”
  • Choose Template: Photo Gallery Default
  • Add Images
  • Filter by category
  • Select all, add
  • Save

 

Adding a New “Our Stories”

  1. Create a “New Post”
  2. Add Post Title
  3. Add content
  4. If available, add an excerpt to the “Excerpt” field. Note: If not available, an excerpt will be automatically created.
  5. Add feature image
  6. Select Category: Our Stories
  7. Publish
  8. Note: The publish date dictates the listing order

 

Adding a New “In the News” external news story

  1. Create a “New Post”
  2. Add Post Title
  3. Select Category: In the News
  4. Featured Image section
  5. Featured Image –> Click “Set featured image”
  6. Featured Image –> Drag & Drop image (min: 800px)
  7. Featured Image –> Once uploaded, assign Media Category of “In the News”
  8. Featured Image –>Click “Set featured image” to Save
  9. “Page Links To” section (bottom)
  10. “Page Links To” –> Select “A custom URL”, paste destination URL, and select “Open this link in a new tab”
  11. Publish section
  12. Publish –> Set Publish Date to external article date (note: this sets the date on the feed, and the order) and hit OK
  13. Hit Publish

Homepage Slider

  • Media Category: Homepage Slider
  • Size: 1920px

 

 

Additional Page Treatments

  • Intro Quote – ex. Board
  • Intro large text – ex. Our Stories

 

Image Specs

Largest: 1920×1600 (sliders, etc)

 

Plugins (Production)

  • Easy Social Share Buttons for WordPress: Used for Social Media sharing icons
  • Enhanced Media Library: For assigning custom media categories
  • Jetpack: General WordPress enhancements – Connects to WordPress.com account (capdigitalstrategy@gmail.com)
    • Brute force attack protection
    • Image optimization
    • Markdown syntax
    • Spelling, grammar
  • Page Links to: Used for “In the News” page – Allows for redirecting to an outside URL
  • Redirection: For 301 redirects. Used during initial site rebuild. Can most likely be removed.
  • TablePress: Used for various content pages. Should be removed once those pages are updated. Ex. STT upcoming dates.
  • UpdraftPlus: Backup
  • W3 Total Cache: Caching plugin to improve site speed
  • Wordfence Security: Prevents malicious attacks
  • Visual Composer: Enhanced WYSIWYG
  • Force Regenerate Thumbnails: Used to purge unneeded thumbnails that are automatically created by the theme. Can be disabled.
  • Google Tag Manager
  • Root Relative URLs: Can with LiquidWeb. Was used during initial setup for relative paths. Leave disabled, but installed.
  • WordPress Importer: Used during initial setup. Can be removed.

Plugins (BETA)

  • Yoast SEO: Still testing
  • TinyMCE Advanced: Testing for enhanced WYSIWYG features

 

Updating the Global Footer

  • The footer uses custom shortcodes placed into a footer widget
  • Edit the “z_footer nav” page
  • Make any required changes
  • Switch to Classic Mode to view the custom shortcode
  • Copy the entire shortcode
  • Go to the “Widgets” page from the Appearance Menu
  • Expand the “First Footer Widget Area” and expand the “Text” widget
  • Replace the existing shortcode

 

Developer Notes

Edits to Core Theme Code

Image Resize

  • Theme generating unneeded image dimensions automatically. Commented out what was not used.
  • Location: /wp-content/themes/jupiter/framework/helpers/image-resize.php
  • Instructions: Comment out “add_image_size” lines not needed

WordPress Edits

wp-config.php

  • File: wp-config.php
  • Add: define( ‘WP_MEMORY_LIMIT’, ’96M’ );

.htaccess

  • File: .htaccess
  • Add:

php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 60
php_value max_input_vars 4000
php_value suhosin.get.max_vars 4000
php_value suhosin.post.max_vars 4000
php_value suhosin.request.max_vars 4000

Backup Schedule: Beta

  • Database: Daily. Retain last 7 backups
  • Files: Weekly. Retain last 2 backups

Backup Schedule: Production

  • Database: Daily. Retain last 2 backups
  • Files: Daily. Retain last 2 backups