Site Documentation
Adding a New Photo Gallery
Step 1: Add a new media category
- Admin Menu –> Media –> Media Categories
- Name: City, State – Month day, year [ex. Austin, Texas – September 27, 2014]
- Slug: city-state-isodate [ex. austin-texas-20140927]
- Parent: Photo Gallery
Step 2: Upload images
- Admin Menu –> Media –> Library
- Thumbnail view
- Drag and drop photos
- 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”
- Create a “New Post”
- Add Post Title
- Add content
- If available, add an excerpt to the “Excerpt” field. Note: If not available, an excerpt will be automatically created.
- Add feature image
- Select Category: Our Stories
- Publish
- Note: The publish date dictates the listing order
Adding a New “In the News” external news story
- Create a “New Post”
- Add Post Title
- Select Category: In the News
- Featured Image section
- Featured Image –> Click “Set featured image”
- Featured Image –> Drag & Drop image (min: 800px)
- Featured Image –> Once uploaded, assign Media Category of “In the News”
- Featured Image –>Click “Set featured image” to Save
- “Page Links To” section (bottom)
- “Page Links To” –> Select “A custom URL”, paste destination URL, and select “Open this link in a new tab”
- Publish section
- Publish –> Set Publish Date to external article date (note: this sets the date on the feed, and the order) and hit OK
- 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