02/11/2014 at 8:22 pm
#279849
Keymaster
@ Vala
That site’s webmaster tweaked the template to output the location. Adding the title would require a bit of coding. If you’re comfortable doing some minor PHP changes to the template, here’s what you need to do…
Open the card.php file found here:
../wp-content/plugins/connections-slim-plus/
Change this line:
echo '<h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite' . $open . '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'] ) ) , '</h3>';
To this:
echo '<h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite' . $open . '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'] ) ) , ' ' , $entry->getTitleBlock() , '</h3>';
Hope that helps!
