[Plugin: Cimy User Extra Fields] adding custom field to single.php
-
Hi Guys,
I’ve created a new field with value ‘ROLE’, which is the author’s title within the website, e.g. Fashion Editor.
I have some author info at the start of each post. I want the role to go straight after the author’s name and link.
This is the author and ‘by’ PHP:
<?php the_author_posts_link(); ?> | <?php _e(‘Posted’,’WpAdvNewspaper’); ?>
Obviously I need to add something right after <?php the_author_posts_link(); ?> and before the rest to show up the ROLE.
I just don’t know what code to put in!!!
- The topic ‘[Plugin: Cimy User Extra Fields] adding custom field to single.php’ is closed to new replies.