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: 0.7.8.1, category, display, Excerpt Plus, getCategoryBlock(), single entry
- This topic has 19 replies, 4 voices, and was last updated 11 years, 10 months ago by
JeffreyPar.
-
AuthorPosts
-
09/10/2013 at 9:18 am #268871
Brandon Hull
ParticipantI’d like the ability to show the selected entry’s category, even if the user has first chosen that category from the drop-down on the main Directory page. I like how the other fields, like Email and Website, can be setup to show the field name in bold and the details right after it, how would I put the Category in that list…or show it at all as part of that single entry?
I’ve attached a screenshot showing where I’d love to see it.
Thanks.
Attachments:
You must be logged in to view attached files.09/10/2013 at 9:41 am #268873Brandon Hull
ParticipantI should mention: I’m using Excerpt Plus for my template…
09/10/2013 at 11:36 am #268875Steven Zahm
Keymaster@
The only way to do this is to edit the core template’s PHP file. Here’s how:
Open this file:
../wp-content/plugins/excerpt-plus/card.phpAdd this code where you would like the categories to be shown:
$entry->getCategoryBlock( array('separator' => ', ', 'before' => '<span>', 'after' => '</span>') );SAve and upload overwriting the original file.
You may also have to add it to the following file depending on your configuration:
../wp-content/plugins/excerpt-plus/card-single.phpHope that helps.
09/10/2013 at 1:16 pm #268878Brandon Hull
ParticipantThanks Stephen! Quick question before doing that: Will this also format that content that’s displayed so it’s similar to the other fields when they’re displayed, where the label is bold with a colon and the variable is plain text?
And a quick follow-up question: the accordion feature doesn’t seem to be working for me, either. I’m guessing there’s a shortcode I’m missing out on there…?
09/10/2013 at 2:53 pm #268886Steven Zahm
Keymaster@ Brandon
You might need to add a bit of CSS to the end of the theme’s style.css file to name the label bold, but I think that should be bold by default. If it isn’t share a link to your directory and I’ll give you the CSS you need to add.
If you have a moment, I would truly appreciate a review as they do make a real difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections09/10/2013 at 3:51 pm #268908Brandon
GuestHopefully you’ll be able to take a quick look, as I’ve got the site behind a Closed Beta plugin for now and am taking it down so you can sneak a look.
Here you go: http://nextrestaurants.com/directory/.
I now have it exactly where I want it. Thanks. Just need to know the css to add that “Categories” and its colon in bold!
09/10/2013 at 3:58 pm #268910Steven Zahm
Keymaster@ Brandon
The firewall at my current location is blocking my access to your site. I will not being able to look at this until this evening (EST), sorry!
09/10/2013 at 4:00 pm #268912Brandon
GuestWeird! Nothing inappropriate going on at my site to trigger that, I promise! Ping me when you can get back in to it tonight. Thanks again.
09/10/2013 at 8:11 pm #268919Steven Zahm
Keymaster@ Brandon
I’m online. If you open up your site for a few minutes, I’ll take a look.
09/10/2013 at 8:12 pm #268920Brandon Hull
ParticipantThis reply has been marked as private. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
