WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Disable singular item page

[Resolved] Disable singular item page

  • aleciri83

    @aleciri83

    Hi,
    I would like to know if is it possible to disable the access to the single pages of the achievements created.
    I need to “hide” this pages, but to still use the events.
    Any suggestion?
    Can this compromise any other behaviour?

    Thank you in advance

    http://wordpress.org/plugins/achievements/

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

    @djpaul

    BuddyPress Lead Developer

    Hmm. Totally disable the single pages, or just not show them in lists, etc?

    aleciri83

    @aleciri83

    Totally disable, showing a 404.

    Plugin Author Paul Gibbs

    @djpaul

    BuddyPress Lead Developer

    I’ll give it some thought. There’s a bunch of places that link to the individual achievement pages, but that’s a secondary problem.

    Plugin Author Paul Gibbs

    @djpaul

    BuddyPress Lead Developer

    Here’s a code snippet which you can put into your theme’s functions.php, or in a file in mu-plugins.

    https://gist.github.com/paulgibbs/6654255

    Hope it helps — beyond this, you’ll need to play around with it yourself if it’s not quite right.

    aleciri83

    @aleciri83

    thank you!

    Plugin Author Paul Gibbs

    @djpaul

    BuddyPress Lead Developer

    No problem 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Disable singular item page’ is closed to new replies.