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.
- This topic has 2 replies, 2 voices, and was last updated 12 years, 7 months ago by
Colleen Caffrey.
-
AuthorPosts
-
12/27/2013 at 5:15 am #276015
Colleen Caffrey
ParticipantI see there is the possibility of entering multiple website links and that these can be given either type ‘blog’ or ‘website.’ I’d like to move “blog” to a different spot on my template (editing card.php) and leave only “website” in its current spot. Can you advise how to do that?
Alternately, can I limit display to only the website link(s) and suppress links of type:blog?
I’ve read all the forums and found the example in the tiles plus forum of doing this with phone, email, and address types in the shortcode. Can the same be done with links?
e.g. [connections link_types='website'] or [connections links_types='blog']
I’ve played around with both types and various pluralization but haven’t hit a winning combo yet.
Thanks much! This is really a great plugin!12/27/2013 at 8:50 am #276024Steven Zahm
Keymaster@ Colleen
I’ve never built this into the templates, however, I did build the feature into the method that retrieves the raw link data but I never did test it. If you’d like to give it a try here’s the code you need to add to the
card.phpfile.$entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => 'blog' ) );$entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => 'website' ) );You’ll want to remove this:
if ( $atts['show_links'] ) $entry->getLinkBlock( array( 'format' => $atts['link_format'] ) );Hope that helps. Let me know if it works out, thanks!
-
This reply was modified 12 years, 7 months ago by
Steven Zahm.
12/27/2013 at 1:21 pm #276058Colleen Caffrey
ParticipantPerfect. Thanks!
-
This reply was modified 12 years, 7 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
