The Excerpt template shows just the excerpt of the bio until the entry name or the read more is clicked which it will then smoothly fade away the excerpt and slide down the entire bio.
John Doe
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc varius placerat hendrerit. Pellentesque porttitor pharetra felis et feugiat. Aliquam tempor luctus sodales. Quisque porttitor nunc eu nunc tempor non suscipit urna interdum. Nulla enim metus, vestibulum et sagittis a, egestas et mauris. Integer sit amet dolor ante, quis gravida est. Integer quis leo lectus. Vivamus diam tortor, suscipit et viverra nec, ultrices vel nulla. Vestibulum feugiat nulla ut ipsum sollicitudin vitae luctus metus euismod. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi et metus libero, quis mollis le o.
See Excerpt 1.0 in action at these fine websites:
- The Confessing Movement
NOTE: The tab feature is not part of Connections or the Excerpt template. The tabs are created with WordPress Post Tabs - ArizonaCRS
- Calvin Theological Seminary
- Photo
- If no photo is available a block will be shown with the text ‘No Photo Available’
- Customizable Labels
- Connections >= 0.7.1.3
- Entry Image MUST be set to:
- Width: 100px [or smaller]
- Height: 120px [max]
- NOTE: If images have already been uploaded in a different size they will need to be uploaded again after the image settings are applied to be compliant with this template.
- Entry Image Settings
- Quality: 75%
- Width: 100px
- Height: 120px [or smaller]
- Crop
The strings in this template can be customized by opening the functions.php file and editing lines 6 thru 67. Once you make your changes, save the file and zip the folder with the other files that create the template.
/* Enable/Disable template features. */ // Turn on or off the Bio. Valid values are TRUE or FALSE. public $enableBio = TRUE; // Turn on or off the Note. Valid values are TRUE or FALSE. public $enableNote = FALSE; // Turn on or off the header text for the Bio tray. Valid values are TRUE or FALSE. public $enableBioHead = FALSE; // Turn on or off the header text for the Note tray. Valid values are TRUE or FALSE. public $enableNoteHead = FALSE; // Turn on or off the title block. Valid values are TRUE or FALSE. public $showTitle = FALSE; // Turn on or off the organization unit block. Valid values are TRUE or FALSE. public $showOrgUnit = FALSE; // Turn on or off the addresses. Valid values are TRUE or FALSE. public $showAddresses = FALSE; // Turn on or off the phone numbers. Valid values are TRUE or FALSE. public $showPhoneNumbers = FALSE; // Turn on or off the email addresses. Valid values are TRUE or FALSE. public $showEmail = FALSE; // Turn on or off the IM IDs. Valid values are TRUE or FALSE. public $showIM = FALSE; // Turn on or off the social media IDs. Valid values are TRUE or FALSE. public $showSocialMedia = FALSE; // Turn on or off the birthday. Valid values are TRUE or FALSE. public $showBirthday = FALSE; // Turn on or off the anniversary. Valid values are TRUE or FALSE. public $showAnniversary = FALSE; // Adjust the word count of the excerpt public $excerptLength = 55; /* Customize the template strings */ public $strBioHead = 'Biography:'; public $strNoteHead = 'Notes'; public $strHomePhone = 'Home Phone'; public $strHomeFax = 'Home Fax'; public $strCellPhone = 'Cell Phone'; public $strWorkPhone = 'Phone'; public $strWorkFax = 'Work Fax'; public $strPersonalEmail = 'Personal Email'; public $strWorkEmail = 'Email'; public $strVisitWebsite = 'Visit Website'; // The readmore string public $excerptMore = 'Read More';
- When you receive the purchase confirmation email which contains the download link and code, download the template zip file. Please do not unzip this file.
- In the WordPress admin under the Connections menu, select Templates.
- Browse to where you downloaded the template zip file and select it.
- Click Install Now.
- After the template has been successfully installed, click Activate.
- When activated the template will now be used by default.
FAQs
Can I change the label names?
Yes, here’s how to do it.
Open the functions.php file that was supplied with your template. It can be found in this folder: ../wp-content/connections_templates/template_name Change template_name to the actual name of the template that you are going to edit.
Look for this section near the top of the file:
/* Customize the template strings */ public $strSelect = 'Select Category'; public $strSelectAll = 'All'; public $strMapShow = 'Show Map'; public $strMapHide = 'Close Map'; public $strBioHead = 'Biography'; public $strBioShow = 'Show Bio'; public $strBioHide = 'Close Bio'; public $strNoteHead = 'Notes'; public $strNoteShow = 'Show Notes'; public $strNoteHide = 'Close Notes'; public $strHomePhone = 'Home Phone'; public $strHomeFax = 'Home Fax'; public $strCellPhone = 'Cell Phone'; public $strWorkPhone = 'Work Phone'; public $strWorkFax = 'Work Fax'; public $strPersonalEmail = 'Personal Email'; public $strWorkEmail = 'Work Email'; public $strVisitWebsite = 'Visit Website';
Please keep in mind that different templates will have different strings available for customization.
I’ve installed the template but it doesn’t show up as available to activate.
Unfortunately a very small percentage of users experience this issue, which is odd, because the same method to upload and verify the template is the same one that is used by WordPress to install themes.
The solution is to unzip the template that was downloaded. Once unzipped, you will have a folder with the template name which contains the template files. Copy this folder and it contents to this folder on the server ../wp-content/connections_templates/
The result should be this path:
../wp-content/connections_templates/template_name
template_name should be the actual name of the template you are installing. Once this is done, the template will be available for activation.
Why does the template layout look wrong?
When copy and pasting the shortcode into a page or post while using the rich text editor (the Visual tab) HTML tags will also be pasted when copying from a webpage. The solution is to paste the shortcode into the HTML editor (the HTML tab). To fix this error, go to the page or post where you pasted the shortcode and switch to the HTML editor and remove any tags that surround the shortcode, for example <pre></pre> and <code></code>.
Also, many commercial themes support a shortcode named [raw]. If yours does, wrap the Connections shortcode in it like so: [raw][connections][/raw]. Why? The theme is removing and then re-applying the wpautop filter which is interfering with the code for Connections and will interfere with other shortcode based plugins as well, but may not be as noticable. If the [raw] does not work, you’ll have to send me a copy of the theme so I can see how they implemented that ‘feature’. Sometimes theme authors simply rename the [raw] shortcode.
Where is the CSS file?
The CSS file is named styles.css and can be found in the wp-content/connections_templates/template-name folder. The template-name would be the actual name of the template, for example, cmap or market.
