Support » Theme: Annotum Base » WordPressUsers & 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 Articles 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 3 replies - 1 through 3 (of 3 total)
  • Theme Author 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?

    I haven’t changed the default ‘permalinks’ settings . . . but after changing them, everything is much improved. No longer getting the blank author page. I really, really appreciate the quick help. The journal launches soon – I’ll hit you up on Twitter if you want to list it in the active Annotum journal sites.

    Thanks again!!!!


    Theme Author annotum


    Looks like that fixed it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPressUsers & Annotum’ is closed to new replies.