Forum Replies Created
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
indy1003
Participantthe shortcode is wrong in your sample. I was able to get it to work…
thanks for help. This is a great plugin!!!
indy1003
ParticipantUnfortuneatly this did not work at all.
indy1003
ParticipantThanks! The line-height helped. Is there anyway to change the heading for the address? The default is “Home” when I would prefer it to say “Address”
indy1003
ParticipantUnfortunately there must be more code. When I add this in, there is a bunch of text that is mixed in. It looks like the address is there… here is the code and location that I used…
<div class=”cn-gridder-contact”>
<?php $number = $entry->getPhoneNumberBlock( array( 'preferred' => TRUE, 'format' => '%number%', 'return' => TRUE ) ); if ( $number ) { echo $number; } else { $entry->getPhoneNumberBlock( array( 'format' => '%number%', 'limit' => 1 ) ); }
$address = $entry->getAddressBlock();
?>$email = $entry->getEmailAddressBlock( array( 'preferred' => TRUE, 'format' => '%address%', 'return' => TRUE ) ); if ( $email ) { echo $email; } else { $entry->getEmailAddressBlock( array( 'format' => '%address%', 'limit' => 1 ) ); } ?> <?php if ( $atts['show_social_media'] ) $entry->getSocialMediaBlock(); ?> </div>
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)