01/12/2015 at 8:36 am
#314722
Keymaster
@ Tim
Tim, now that I know the template you’re using (from the screenshot)…
Change this block of code in the card.php
and card-single.php
file from this:
<div style="margin-bottom: 5px;">
<h3><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => $atts['link'] ) ); ?></h3>
<?php if ( $atts['show_title'] ) $entry->getTitleBlock(); ?>
<?php if ( $atts['show_org'] ) $entry->getOrgUnitBlock(); ?>
<?php if ( $atts['show_contact_name'] ) $entry->getContactNameBlock( array( 'format' => $atts['contact_name_format'] , 'label' => $atts['str_contact'] ) ); ?>
</div>
to this:
<div style="margin-bottom: 5px;">
<h3><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => $atts['link'] ) ); ?></h3>
<?php if ( $atts['show_title'] ) echo 'Title: ' . $entry->getTitleBlock(); ?>
<?php if ( $atts['show_org'] ) echo 'Organization: ' . $entry->getOrganization(); ?>
<?php if ( $atts['show_org'] ) echo 'Annual Income: ' . $entry->getDepartment(); ?>
<?php if ( $atts['show_contact_name'] ) $entry->getContactNameBlock( array( 'format' => $atts['contact_name_format'] , 'label' => $atts['str_contact'] ) ); ?>
</div>
That should do it.