0

Is it possible to display the author on all pages (not blog-entries) who created it? Every plugin I find is for blog-posts.

2

You need to add the following code to content-page.php in your theme folder.

<?php the_author(); ?>
| improve this answer | |
1

If I have understood correctly you should be able to edit your page template to include the below. I'm not sure on any plugin to do this though.

More info: https://codex.wordpress.org/Function_Reference/get_the_author

 <?php $author = get_the_author(); echo "$author"; ?>

** This is untested

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.