Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ dominic
Rather than edit a file … here’s an update safe way to do it.
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_filter( 'cn_output_content_block_atts', 'cn_output_content_block_atts' ); function cn_output_content_block_atts( $atts ) { $atts['header_tag'] = 'h4'; return $atts; }Save and activate the new snippet.
Steven Zahm
Keymaster@ Jason
Great to hear!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ Jason
To change the image size you need to edit the
card.phpfound here:
../wp-content/plugins/connections-slim-plus/You can change the width/height in this section of code in the file:
$entry->getImage( array( 'image' => $atts['image'], 'height' => 120, 'width' => 100, 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'] ) ) );You’ll also need to change the
cn-rightandcn-leftstyle statements in theslim-plus.cssfile found in the same folder.No, instead of editing those actual files, I highly suggest, copying them and follow the advice in these QuickTips:
- http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/
- http://connections-pro.com/2014/06/04/quicktip-custom-template-override-files/
Doing as explains will make your tweaks update safe.
Hope that helps!
Steven Zahm
Keymaster@ David
The select can be hard coded in the
tile-plus.phpfile found here:
../wp-content/plugins/connections-tile-plus/The section of code you need to change is in the
categorySelect()function. You can echo out a custom ordered drop down. Probably the easiest thing to do is copy the drop down from the page source and past it in there, echo’d and change the options order to suit.I can’t add a admin UI for drop and drag ordering yet because there is not a why for templates to a=have their own settings yet. I was thinking more along the lines of a shortcode option.
Steven Zahm
Keymaster@ Liz
Add the follow to the theme’s custom CSS area:
form#cn-cat-select { overflow: initial; }That should fix it up. Let me know!
Steven Zahm
Keymaster@ Mike
Honestly, no clue because it is a core WordPress error. A few minutes of searching suggests this is being caused by hosts upgrading their servers to patch the shellshock security vulnerability. Two solutions seem to exist … waiting a few hours and restarting apache.
Hope that helps!
Steven Zahm
Keymaster@ David
I can think of a way to do this and incorporate it into a template, but … by explicitly setting a category order would mean explicitly including only the specified categories … meaning any category not set in the order would not be displayed. Does that make sense?
If you’d like to discuss funding this further, please use the contact link at the bottom of the page. Please make sure to paste a link to this forum thread so I can relate the two, thanks!
Steven Zahm
Keymaster@ jaime
Sorry to hear you ended up reloading them! I’m certain getting them to the correct path would have pulled them in with no issue … actually, I’m not quite certain why it didn’t work for you.
Steven Zahm
Keymaster@ stefano
Looking at the one line which contains references to
uamfiletypeanduamgetfile, it appears to be from a plugin named User Access Manager. Looking at the rules, I can not figure out why it would block the Connections images. Maybe you can ask its dev?Any way, good to hear it’s working for you again. I’ll log this as a plugin conflict so I remember to see if I can figure out why it would block the images and if there is any way I can prevent it.
Steven Zahm
Keymaster@ David
Maybe… what type of ordering do you need? The current beta code supports:
term_id | name | slug | term_group | parent | count
Honestly, even though the ode supports these fields, I don’t see how sorting by any other field that name would be useful.
-
AuthorPosts
