• Resolved NicCrockett

    (@niccrockett)


    Is there a way to hide the pages created for achievements / ranks? I know about the “Hidden?” option to hide these from users. However, I don’t want to hide them from users, I just don’t need all the excess pages created. I can create a page for each group where the user can see them all on one page. I also don’t need the excess SEO and robot crawls created from these pages.

    I know I can add these pages to the Robots.txt file, but many crawlers don’t respect these settings. All of these pages create a strain on server resources and unneeded pages in search results.

    To give you an idea of what I might be looking at when it comes to excess. At launch there might be 10-15 actual site pages and 100-125 achievement / rank pages. Post launch the achievement / rank page quantity could easily jump to 800+. While the actual site page quantity probably won’t exceed 30.

    I do understand that the pages allow admins to enter settings for each achievement / rank (i.e. point cost, description, etc.). I’m sure other sites might want these pages to give users more information than I need to. However, it would be nice if I could alleviate this overhead on the site I’m creating.

    I’m currently testing GamiPress integrated with BuddyPress.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @niccrockett

    For this case we have this code snippets that will make our achievements and ranks private to do not get displayed as single pages:

    https://gamipress.com/snippets/customizations/make-achievements-and-ranks-of-any-type-private/

    Also, there are plugins in WordPress that lets you change any custom post type (CPT) visibility

    Hope it helps!

    Thread Starter NicCrockett

    (@niccrockett)

    Thanks for your reply. I believe that’s what I’m looking for, but I’m having issues implementing it. Is the code on the page you sent the only thing I need to add? I know I need to modify it for my achievements/ranks slugs. However, when I do that, it’s not hiding any of the custom pages. Thanks for your help @rubengc !

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @niccrockett

    Yes, you only need to add this code using a plugin like Code Snippets (since the code will not take effect in the theme functions.php)

    Also after add it, if does not gets applied automatically just go to Settings > Permalink s > and click on save changes to force WordPress to refresh their permalinks

    Hope it helps!

    Thread Starter NicCrockett

    (@niccrockett)

    I was able to get it to work using Code Snippets. Apparently my issue was the script plugin I was using. Again, thanks for your help!

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @niccrockett

    Thanks for your feedback.

    Best regards.

    Thread Starter NicCrockett

    (@niccrockett)

    Hi gang,

    I ran into another snag dealing with the links to these pages. I think I got all of them disabled except for one place where they appear. They appear in the BuddyPress activity stream when an achievement or rank is unlocked. I see how to disable these entries in the activity stream, but not how to disable the links in the entries. I’d rather not disable the entries, just the links in the entries. Is this possible?

    FYI, I thought that maybe old entries couldn’t be modified. So, I added a new one after changing settings everywhere. Both old and new entries still had links to these pages.

    Thanks again for your help!

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @niccrockett

    Regarding the old entries in BuddyBoss, these appear because when registering the achievements or ranks as an activity, it has been done on BuddyBoss and they are registered in their tables, I’m sorry but these activities can only be deleted from the BuddyBoss options.

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide Achievements and Ranks’ is closed to new replies.