Archived

This topic is now archived and is closed to further replies.

  • 0

How to choose what should be shown in post bylines in magazine layout mode?

Question

Posted · Report post

Hi, I display my posts in magazine layout mode and I'd like to show only the category in the "Post Byline Information". The settings only works for the Full-Width Posts. How can I also choose what should be shown in post bylines for posts in magazine mode? Thanks

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

You would do some custom coding, I'd be happy to give you the necessary stuff. First make sure that when doing custom stuff you use the Base child theme at all times. Copy your template.postloop.php file from PlatformPro into your Base theme so that you can edit it freely without worrying about the update process down the road. Do this first and i'll give you the code.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Adam, I've copied the file template.postloop.php in the directory platformbase Can you help me with the code? (I'm not a PHP developer) Thanks

Share this post


Link to post
Share on other sites

Posted · Report post

Line 177. Find this code `<?php _e('by','pagelines');?> <?php echo get_the_author(); ?>` and replace it with the code below... `<?php _e('in','pagelines');?> <?php the_category(', ') ?>`

Share this post


Link to post
Share on other sites