Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Peter
Could be a type in the shortcode breaking the WordPress shortcode parser.
First suggestion. You do not need to use the template override shortcode option. I suggest removing it. Then navigate to the Connections : Templates admin page and activate the Slim Plus template.
Your shortcode should look like this:
[connections image_fallback='none' category='1,2,3']Do not copy/paste the shortcode, unless you paste it into the WordPress Text tab when editing the page content. Pasting it while in the Visual tab will also paste the source page’s underlying HTML code, breaking the shortcode.
Hope this helps, let me know.
07/03/2017 at 11:09 am in reply to: Possible to make categories a checkbox list rather than a drop down #427764Steven Zahm
Keymaster@ Shaun
Sorry, yes, this would have to be custom developed for your specific needs.
Steven Zahm
Keymaster@ dominic
It’s better to hook into the
cn_output_phone_numberfilter. That way you can change the HTML markup to suit. Here’s a skeleton filter to get to you started:add_filter( 'cn_output_phone_number', 'cn_output_phone_number', 10, 4 ); function cn_output_phone_number( $html, $phone, $entry, $shortcode_atts ) { // $phone->name is the phone name/type // $phone->number is the phone number. $html = '<span>' . $phone->name '</span> <span>' . $phone->number . '</span>'; return $html; }YOu can add this filter using the Code Snippets plugin. Of course tweak as needed to use the Font Awesome markup.
Hope this helps!
Steven Zahm
KeymasterSteven Zahm
Keymaster@ Melissa
RE: The images on the card are not sizing correctly. How can I fix this?
I took a look at the page. The images are being cropped correctly, scaled down and center cropped. For portraits this is more or less ideal. I see you are using logos. This crop mode would not be ideal in your use case. WE can change the default crop mode to better suit.
Install the Code Snippets plugin and add a new snippet with this code:
function cn_output_default_atts_image_filter( $atts ) { $atts['zc'] = 2; return $atts; } add_filter( 'cn_output_default_atts_image', 'cn_output_default_atts_image_filter' );Save and Activate the snippet to run on the site’s frontend only.
This will scale the image down and instead of center cropping, it’ll add white space to fit the image dimension.
Hope this helps!
Steven Zahm
Keymaster@ Melissa
Great to hear!
Steven Zahm
Keymaster@ Melissa
Is just took a look at http://www.womenveteransalliance.org/allies/ and the
California Women Veterans Leadership Councilentry does display its email address. Looks like it is working fine or am I misunderstanding the issue?Steven Zahm
Keymaster@ plzit
RE: I tried this but it still kept displaying the Slim Plus theme for an individual entry.
Did you use the
templateshortcode option to set the template to display? If you did, that will override the active templates set in the admin.Steven Zahm
Keymaster@ Ryan
Yeah, it’s possible but would require it be custom coded. Nothing available “out of the box” sorry.
06/28/2017 at 10:33 am in reply to: Organising Categories to display on their respective pages #427358Steven Zahm
Keymaster@ Soo Smart
RE: is it possible to display a different category on different pages
Take a look at the category shortcode option docs
RE: We’d like to be able to show all the categories nicely on the homepage in columns rather than rows, and show these in a more concise manner. So not showing all details, just a small list of Entries within the Animals category, for instance.
Sorry, not sure I completely understand the desired display.
RE: If so, how much does it cost to get the additional plugin extensions and which do we need?
At this point I would say you would not need anything based on what you’ve asked. The category/entry list display question is still an unknown though.
Hope this helps!
-
AuthorPosts
