Hello.
Is it possible to display the costum fields the user has filled in on the my-account page, on the author page?
In the author page there is this code and i know it has something to do with that
<?php
// DISPLAY USER DESCRIPTION $dee = get_the_author_meta( ‘description’, $authorID); if(strlen($dee) > 1){ ?> <hr /> <div class=”well”> <?php echo wpautop($dee); ?> </div> <?php } ?>
</div>
Is it possible to change;
$dee = get_the_author_meta( ‘description’, $authorID); if(strlen($dee) > 1){
To something else for example;
$cos = get_the_author_meta( ‘costumfields’, $authorID); if(strlen($cos) > 1){
Thanks in advance
This reply is for PremiumPress customers only.
433
Views
8
Replies
Copyright © 2010-2024 PremiumPress Limited.
Hello.
Is it possible to display the costum fields the user has filled in on the my-account page, on the author page?
In the author page there is this code and i know it has something to do with that
<?php
// DISPLAY USER DESCRIPTION
$dee = get_the_author_meta( ‘description’, $authorID); if(strlen($dee) > 1){ ?>
<hr />
<div class=”well”>
<?php echo wpautop($dee); ?>
</div>
<?php } ?>
</div>
</div>
Is it possible to change;
$dee = get_the_author_meta( ‘description’, $authorID); if(strlen($dee) > 1){
To something else for example;
$cos = get_the_author_meta( ‘costumfields’, $authorID); if(strlen($cos) > 1){
Thanks in advance
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now