• Currently setting up a training website. Different Authors are contributing to content that is placed on a Page not on Posts

    I’m using Weaver II theme

    I like the way the Author gets displayed on the bottom of Posts. I would like the same functionality for Pages.

    Secondly after the above, I would like to setup a page that gets generated on the fly similar to the page type of Site-Map is generated, but listing Author names so a student can just click on the name of an author and see all of his/her content.

    Third, if the above 2 can be accomplished, possibly add the author listing to the bottom of the Site-map page.

    Thank you in advance, I know I’m kind of asking for 3 items, but they are all related and in order of priority.

    John

Viewing 4 replies - 1 through 4 (of 4 total)
  • I don’t know of any mechanism in WordPress that tracks which author is adding content to the same page.

    If different Authors log into the site and go in the content editor of a page to add their content, I suggest they add their signature at the bottom of it at that time. You can use a plugin like post Snippets to make it easier (click a button at the top to insert their signature).

    Your second point will either require a plugin, or require to create a Child theme and create a new page template for that page in there. You may be able to use PHP in a regular page content to do it too. To insert PHP in content, you need a php execution plugin. If you have Pro, you can activate weaver PHP shortcode in the weaver II pro admin page and then use the Shortcode.

    Third would require A child theme, and then editing the Site map page PHP template to add the code to list authors.

    Thread Starter John Case

    (@jcase9986)

    Scrambler,
    Thanks for the reply. Only 1 author per page, not multiple authors on a page.

    John

    OK,
    The Author of a page is the one creating the page, not the one putting content in it, which means the person needs to be at least an editor.

    To insert the name of the author in the page content, you can use the author PHP function which is
    <?php the_author(); ?>
    as explained here:
    http://codex.wordpress.org/Function_Reference/the_author

    As explained previously, you need a PHP exec plugin to do that.
    If you have pro and you activated the PHP shortcode the syntax would be
    This page was made by [weaver_php] the_author(); [/weaver_php]

    If you want to add an author to a page with content from multiple authors, you can simply type their name in and link it to their profile page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to show Author on pages’ is closed to new replies.