Académique Documents
Professionnel Documents
Culture Documents
Installation 2.1 2.2 Installing Excerpts+ for the first time Installing on a site with Excerpts+ already installed 8 9
Excerpts+ Options 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 Help Structure Layout Filters Titles Content Excerpts Meta Images 13 14 16 18 19 20 21 22 24 25 27 28 29 31
4.10 Image Sizing 4.11 Sliders 4.12 Developer 4.13 Hooks 4.14 Advanced Styling 5 Excerpst+ Styling 5.1 Styling Excerpts+ using the Headway 3 Design Editor
34
Introduction
About Excerpts+
The Excerpts+ block provides added design and layout functionality to the Headway WordPress theme framework. It can be used to setup magazine layouts, fancy recent posts lists, featured post sliders, image rotators and much more.
Other Features
Excerpts+ version 2.0 is chock full of awesomeness: Pagination Uses first image if no featured image set User configurable layout Full content display option Option for image borders Uses category when on category archive page Uses author when on author archive page
Option to exclude specific posts or pages Option to show child pages of a page NextGen Gallery support Vertical crop alignment All new image processing system Crop alignment of images
System Requirements
WordPress 3.1 or greater Headway 3.0 or greater PHP with GD image processing library (99% of hosts provide this by default).
Contact
User support forums: support.headwaythemes.com (login required) Advanced technical support orto report errors in this guide: support@341design.com.au WordPress user support: wordpress.org/support
Disclaimer
This document Copyright 2012, Chris Howard Author: Chris Howard Revision: 1, 20 January, 2012 Headway is a product of Headway Themes headwaythemes.com WordPress is an Open Source, content management system (CMS) and a project of wordpress.org.
Installation
Step-by-step
In your WordPress, under the Plugins section, select the Add New plugin option and upload the Excerpts+ ZIP file.
Activate when prompted Thats it! You can now move on to chapter 3, on Using Excerpts+.
Step-by-step
In your WordPress, under the Plugins section, find and deactivate your existing Excerpts+ block plugin. If you do not deactivate the old one first, you will get a fatal error message.
Still in the Plugins section, select the Add New plugin option and upload the Excerpts+ ZIP file.
Activate it when prompted. Thats it! You can now move on to chapter 3, on Using Excerpts+.
Using Excerpts+
This will create an empty Excerpts+ block that you can then start configuring to your hearts desire. (Remember to hit the Visual Editor's save button)
Excerpts+ Options
Help
The help options prove some useful links (including to the page this guide is stored on) and information
Structure
The Structure enable you to control the structure of each Excerpts+ cell. There are five rows and you can choose what appears in each. This enables you to easily control the order the title, image, meta data and excerpt appear in. Note: If you set any cells to display Image, the image width will automatically default to the full width of the cell. However, using cells for image location will be totally ignored unless the Image Location is set to "Use Structure Position".
Cell row 1
Choose the content type you want to display from Title, Meta1, Image, Content/Excerpt, Meta2.
Cell row 2
Choose the content type you want to display from Title, Meta1, Image, Content/Excerpt, Meta2.
Cell row 3
Choose the content type you want to display from Title, Meta1, Image, Content/Excerpt, Meta2.
Cell row 4
Choose the content type you want to display from Title, Meta1, Image, Content/Excerpt, Meta2.
Cell row 5
Choose the content type you want to display from Title, Meta1, Image, Content/Excerpt, Meta2.
Cells aligned with bottom of image Excerpts+ for Headway 3 - 14 Excerpts+ v2.0 User Guide
Layout
Number to show
Choose how many excerpts to show. Note: If pagination is enabled, this becomes the number shown per page.
Number across
Choose how many excerpts you'd like to display in each row.
Cell Padding
Choose how much padding, that space, you want to put between the edge of the cells and their content
Order
Set the order of the list posts to either descending or ascending.
Order by
Choose what order you'd like the excerpts to appear. Options are Date created; Date last modified; Author; Title; Comment count; Random; and Page order.
Link to text
You can display an additional link at the foot of your excerpts, for example to take you to all posts in the category of excerpts you've shown. This option lets you set the text for that link. Leave blank for none.
Link to URL
URL of additional link in the footer of your excerpts. Leave blank for none. Excerpts+ for Headway 3 - 16 Excerpts+ v2.0 User Guide
Row border
Choose whether to display a border under each row of excerpts.
Pagination
If enabled, it will display next/previous posts indicators, allowing readers to page through your posts. Note: NEVER put more than one block on a page that allows pagination. It could really mess up post navigation on that page and confuse the heck out of your readers.
Filters
Include Categories
Select categories to display.
Exclude Categories
Select posts in categories to exclude.
Author
Choose posts to display for an author or all.
Titles
Block Tittle
Here you can set an overall title for the block
Content
Content type
Choose the content type you want to display: Posts, pages or custom post types (if available).
Skip n posts
Skips the chosen number of posts.
Excerpts
Note: If you wish to have true Page excerpts, the Page Excerpt plugin (wordpress.org/extend/plugins/page-excerpt/) is fully Excerpts+ compatible.
Excerpt Length
Number of characters or words of the excerpt to show. If the number is greater than the excerpt length, it will only show the full excerpt.
Characters or Words
Choose to trim excerpt length by characters or words
Truncation character
If the excerpt is truncated, choose the character to indicate this. Options are Ellipses, Arrows or none
No Excerpt/Content message
Text to display when no content.
Meta
Meta is nerdy sounding name for all the bits of extra information associated with a post. Things like date of publication, author, categories, comment count.
Meta information 1
Define content for the first meta info area. This can include text and HTML. For more on the available variables, please in your sites Headway configuration page for Posts. Default: %author% - %date%, %time%<br/>%categories%
Meta information 2
Define content for the second meta info area. This can include text and HTML. For more on the available variables, please in your sites Headway configuration page for Posts. Default: %comments_link%
Date format
Date format to use in meta info. Use %date% in meta content to show the time. See codex.wordpress.org/Formatting_Date_and_Time. for more information on formats available. Default: F j, Y
Time format
Time format to use in meta info. Use %time% in meta content to show the time. See codex.wordpress.org/Formatting_Date_and_Time. for more information on formats available. Default: g:i a
Images
Note: The default image used is the Featured Image of the post. This can be set under the Publish/Preview button. If it is not set, then Excerpts+ will attempt to use the first image it finds in the post.
Image location
Choose where to display the image: Next to the title ; In the content; Behind the excerpt content; or Use structure position to use the position set in the Structure settings
Image alignment
Option to position image to the left or right when location is in the content or the title, or centre if image location is in the content.
Image borders
Show border around images.
Image Sizing
Image width
Set the width (in pixels) for the displayed image. Note: The image width is only used when the Image Location is either Title or Content. In all other uses, the image will take the full width of the cell.
Image height
Set the height (in pixels) for the displayed image.
This is one you will really have to experiment with to find what suits the particular block and its images the best.
Sliders
Display as slider
Display excerpts in a slider instead of a multi-row grid. Each row will become a slide
Slide time
Input (in seconds) how long each slide should be displayed.
Slide transition
Select the type of transition you'd like between slides. Options are: Fade Slide
Transition time
Input (in seconds) how long the transition should take. Enter 0 to use mouse click to change slides.
Pager type
Select the type of display for the slide pager (i.e. navigation). Options are: Bullets Numbers None
Developer
These options are targetted at web developers who are familar with coding
Permalink rel
This option allows you to enter a custom Rel attribute as some plugins use the permalink Rel attribute wth their own code.
Permalink class
This option lets you set a custom class name for the permalin as some plugins use a specific class name
Hooks
Another one for the deloper types. Hooks allow the insertion of code in certain points on the page. The code must be valid PHP (without the <?php ?>). Therefore, HTML must be echoed. The names are self-explanatory.
Before title
Code entered here will target the hook named ep_before_title
After title
Code entered here will target the hook named ep_after_title
Before meta 1
Code entered here will target the hook named ep_before_meta1
After meta 1
Code entered here will target the hook named ep_after_meta1
Before meta 2
Code entered here will target the hook named ep_before_meta2
After meta 2
Code entered here will target the hook named ep_after_meta2
Before image
Code entered here will target the hook named ep_before_image
After image
Code entered here will target the hook named ep_after_image
Before content
Code entered here will target the hook named ep_before_content
After content
Code entered here will target the hook named ep_after_content
Advanced Styling
These options let desingers easily apply custom styling to some elements. It's most useful for elements you want to apply a gradient to.
Block Title
Input custom CSS to style the block title (if used). Is applied to CSS selector: .ep-block-title
Block
Input custom CSS to style the block. Is applied to CSS selector: .excerpts-plus
Excerpt+ Cell
Input custom CSS to style each excerpt+ cell. Is applied to CSS selector: .ep-cell
Cell Row 1
Input custom CSS to style cell row 5. Is applied to CSS selector: .ep-cellrow1
Cell Row 2
Input custom CSS to style cell row 5. Is applied to CSS selector: .ep-cellrow2
Cell Row 3
Input custom CSS to style cell row 5. Is applied to CSS selector: .ep-cellrow3
Cell Row 4
Input custom CSS to style cell row 5. Is applied to CSS selector: .ep-cellrow4
Cell Row 5
Input custom CSS to style cell row 5. Is applied to CSS selector: .ep-cellrow5
Read More
Input custom CSS to style the Read More link. Is applied to CSS selector: .excerpt-read-more
Page Navigation
Input custom CSS to style page navigation buttons. Is applied to CSS selector: .ep-nav
Excerpst+ Styling
When you select the Excerpts+ Block in the Design Editor, the first panel of options shown is the general settings for the Excerpts+. If an Instance is not selected, then any change syou make, either here or in each specific element's options panel, will apply to every Excerpts+ block. So make sure to first select an Instance if you only want to apply it to a specific block. This panel provides formating for: Background Borders Rounded Corners Box Shadow and is applied to the css selector .block-type-excerpts-plus
Cell Wrapper
This panel provides formating for: Background Borders Rounded Corners Box Shadow and is applied to the css selector .excerpts-plus
Cell
This panel provides formating for: Background Borders Rounded Corners Box Shadow and is applied to the css selector .ep-cell
Block Title
This panel provides formating for: Fonts Text Shadow Background Borders Rounded Corners Box Shadow
Title
This panel provides formating for: Fonts Text Shadow Background
Meta
This panel provides formating for: Fonts Text Shadow Background
Meta Hyperlinks
This panel provides formating for: Fonts Text Shadow Background
Body Text
This panel provides formating for: Fonts Text Shadow Background
Read More
This panel provides formating for: Fonts Text Shadow Background
Page Navigation
This panel provides formating for: Fonts Text Shadow Background Borders Rounded Corners Box Shadow
Examples
The following examples provide some info on how different lexcerpts layouts on the Excerpts+ demo pages were formed
Using Pagination
Pagination is when WordPress allows you to page through your posts. Youll see the Previous and Next buttons at the foot of posts when pagination is enabled. Key settings: Layout- Pagination: Enabled; Layout - Number to show full width: 1; Images - Image Location: Title; Images - Image Position: Left; Images - Title aligned with content : Enabled
An image rotator takes its image from a gallery or specified URLs. With Excerpts+, they are taken from the posts or pages. Consequently, it would be a little clunkier to use Excerpts+ as an image rotator than a specific plugin or block, but sometimes, it might be the right tool for the job. Excerpts+ for Headway 3 - 38 Excerpts+ v2.0 User Guide
Key settings: Structure - Cell Row 1 : Image (others: None) Layout - Number Across: 1 Filters - Include Categories: Choose a category were all the posts have images Image Sizing - Image Height: Of your choosing Sliders - Display as a slider: Show Sliders - Pager type: NoneNote: The Image Width is not used, because locating the image in a cell makes the image the full width of the cell.
Key settings: Structure - Cell Row 1: Title Structure - Cell Row 2: Content Structure - Vertical Alignment : Bottom Layout - Number Across: 1 Filters - Include Categories: Choose a category were all the posts have images Image Sizing - Image Height: Of your choosing Sliders - Display as a slider: ShowNote: The Image Width is not used, because locating the image in a cell makes the image the full width of the cell.
A popular design feature is showing an image, then aligning all the content with its right edge, so that the space underneath the image is empty. This is as simple as enabling it in Excerpts+. Plus, if a post doesnt contain a Featured Image, the layout in that cell will adjust accordingly, keeping everything very neat. Key settings: Excerpts+ for Headway 3 - 39 Excerpts+ v2.0 User Guide
Images - Align excerpt with title when image in title: Enabled Images - Image Location: Title Images - Image Position: Left(right works too, but its not as obvious) Note: Dont overdo the image width, because if the image takes up too much width of the cell, the content will get all squished.
This is a layout commonly used on magazine and news sites where they want to show an excerpt of the first story in a category, and then title links for for then next five or so. Key Settings: Layout - Number across: 1 Excerpts - Excerpt first then list: Enabled Note: This feature only works when Number across is set to one - otherwise it would all look too messy.
In the above example, the image is display within the content/excerpt. Excerpts+ for Headway 3 - 40 Excerpts+ v2.0 User Guide
This example shows when the Image Location is set to Behind. The cells are aligned to the bottom of the image. Note how unused cells are ignored.
Thirdly, an example that shows the image location being set by the structure.
CSS Selectors
Okay, this chapter is for the design freaks who really want to get their hands dirty. Excerpts+ has many CSS classes you can use to uniquely style your or your clients site using Headways Live CSS Editor, or custom.css file.