Tagged: creator, Display Name, gallery
I’m editing the child Shortcodes > gallery-list.php
I want to display the gallery creator’s name but I don’t want a hyperlink around it. How can I accomplish this? Is there an alternative to MPP_GALLERY_CREATOR_LINK to show their display name and not a link?
<?php if ( $show_creator ) : ?>
<div class=”mpp-gallery-creator-link mpp-shortcode-gallery-creator-link”>
<?php echo $before_creator; ?><?php mpp_gallery_creator_link(); ?><?php echo $after_creator; ?>
</div>Hi Shannon,
You may use<?php echo mpp_get_user_display_name( mpp_get_gallery_creator_id() );?>
Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘ [Resolved] Remove Link (not text) from Creator Name’ is closed to new replies.
This topic is: resolved