Support » Plugins » [Plugin: WordPress Users] WordPressUsers Plugin & Annotum

  • Resolved jlewis004


    Hello all,

    I’m using the WordPressUsers plugin to generate a list of contributors to my academic journal website. At present, the plugin does a great job of listing the “posts” and “comments” created by each user; however, because this is an academic journal, I need it to also list the “articles” created by each contributor. I’m using the Annotum theme and articles are created (I think) as a custom post type. I’ve identified the portion of the code I need to change (I think) to make the loop spit out the data I need; however, I can’t seem to find the correct “name” to include. Here’s the code that needs changed:

    if ($recent_posts) {
    			$html .= "<h3>Recent Posts by $curauth->display_name</h3>\n";
    			$html .= "<ul>\n";
    			foreach( $recent_posts as $post )
    				$html .= "<li><a href=" . get_permalink($post->ID) . ">" . $post->post_title . "</a></li>";
    			$html .= "</ul>\n";

    For each of those sections that has $post, I think I need something else that points this bit of code to the custom post type of article that Annotum uses. Can anyone help? I’m still (obviously) in the process of learning .php and this is driving me crazy. 🙂 Any help would be much appreciated.

    Plugin: WordPress Users –
    Theme: Annotum –
    Version: 3.5.1

    Thanks again!


Viewing 1 replies (of 1 total)
  • Here’s the answer from the theme developer. The need for the WordPress Users plugin is non-existent when using Annotum IF you change the default permalink settings. Thanks for the great support from Annotum:

    I can’t speak to the plugin, but Annotum definitely generates a list of articles by author via /author/authorname — for example, see:

    The example shows both posts and articles (albeit with somewhat inconsistent styling) for the selected author.

    What happens when you click on an author’s name within an article?

    Have you changed the default ‘permalinks’ settings?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Users] WordPressUsers Plugin & Annotum’ is closed to new replies.