12/27/2013 at 8:50 am
#276024
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.php
file.
$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 9 years, 2 months ago by
Steven Zahm.