Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.2.1, Excerpt Plus, shortcode, shortcode options, template
- This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by
Nick S.
-
AuthorPosts
-
03/04/2015 at 8:28 am #321495
Nick S
ParticipantFor the Excerpts Plus template, can you control what information displays on the profile before and after the “Read More” link is clicked? On one of your examples (http://croydonrx.co.uk/members/), it looks like either the bio or notes section is displayed on page load, and then after clicking “Read More” you see a bunch of other information like title, organization, phone, email, social media, etc. I assume this has to do with short codes. Could you provide an example of what a short code might look like that this website may be using?
03/04/2015 at 9:08 am #321498Steven Zahm
Keymaster@ Nick S
All the shortcode and an example for the Excerpt Plus template can be found on this page.
This site is probably using something like this:
[connections show_addresses='TRUE' show_phone_numbers='TRUE' show_email='TRUE' show_links='TRUE' show_social_media='TRUE']I think he template has over 50 shortcode options to tweak it, just add the option to the existing shortcode with the desired value.
Hope that helps.
03/04/2015 at 8:00 pm #321625Nick S
ParticipantGood day Mr. Zahm. Thank you for this information. It has been very helpful. Just three more small questions if that is okay with you.
<h1>1) Can you explain what exactly the “enable_bio” and “enable_bio_head” means? I set both to false, but I still see the bio appear. I’m not sure what it means to set one or both to TRUE versus setting one or both to FALSE?</h1>
<h1>2) Is there any way to not show the bio until after the user clicks “Read More”? Or will the bio always show on page load?</h1>
<h1>3) I see Name, Title, and Bio shows up on page load without needing to click “Read More”. Are there other fields I can have display before clicking “Read More”? for example, could I have the Organization appear above the “Read More” link? Or is there no way to change that?</h1>
Thank you so much.
03/05/2015 at 9:50 am #321682Steven Zahm
Keymaster@ Nick S
re: Can you explain what exactly the
enable_bioandenable_bio_headmeans?
First, I must say; I’m not sure why one would want to use these considering the design focus of the template…First, these only have any effect when the entry is open. It does not disable the excerpt of the bio when the entry is closed.
enable_bio: Default istruewhich will show the full bio text. Setting tofalsewill disable the bio text and the “Biography” header text ifenable_bio_headistrue.enable_bio_head: Default isfalse. It will display the value forstr_bio_headwhich defaults to “Biography”.
re: Is there any way to not show the bio until after the user clicks “Read More”? Or will the bio always show on page load?
No, that’s kind of the whole design focus for the Excerpt Plus template, to show an excerpt of the bio. The excerpt will be roughly the first 55 words. It may be a little longer because the code behind creating the excerpt will try not to split a sentence. The number of words can be adjusted with theexcerpt_lengthoption. Settingexcerpt_lengthto0disables creating the excerpt (I think, its been awhile) and setting it topshould create an excerpt using the first paragraph of the bio field.re: I see Name, Title, and Bio shows up on page load without needing to click “Read More”. Are there other fields I can have display before clicking “Read More”? for example, could I have the Organization appear above the “Read More” link? Or is there no way to change that?
There is no way to change that with shortcodes, for that you would have to edit the template PHP files. This can be done by creating a custom template override file.Hope that helps.
03/05/2015 at 12:27 pm #321765Nick S
ParticipantThis is very helpful. Thank you for taking the time to write this up. I am all set now.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
