Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Kind of, but it’s not too obvious:

    https://example.com/author/%5Busername%5D/achievements/

    Widgets are coming in future versions, and I’ll think about having a dedicated HoF page. Thanks for the ideas ??

    Norm

    (@casualmagic)

    What would the function be to get url? I’ve been looking at the code and it appears to be on line 407.

    public function register_endpoints() {
    		add_rewrite_endpoint( dpa_get_authors_endpoint(), EP_AUTHORS );  // /authors/paul/[achievements]
    	}

    so would the url in my template be?
    <? php dpa_get_authors_endpoint(), EP_AUTHORS ) ?>

    Sorry if this should be obvious but I’ve been struggling with this one.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Which thing are you trying to do? ??

    I’m looking for the same answer as @norm. In my case I’m trying to add an icon to the profile header (member-header.php in my theme’s case) that will link to the displayed user’s achievements page. Any guidance would be appreciated. Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to show the achievements to other users?’ is closed to new replies.