WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[resolved] Achievement Directory (10 posts)

  1. joejozwowski
    Member
    Posted 10 months ago #

    I'm currently using Achievements 3.3
    I've seen some posts dealing with a complete listing of all available achievements, but I couldn't figure out if it is actually possible.

    I first created a page called Achievements, assigned all my achievements to a specific category, and then attempted to query that category to display on the page, yet nothing.

    Is there a solution to this problem I'm having?

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

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 10 months ago #

    I don't know how your code looks, so I can't comment on that, but the plugin comes with a top-level Directory page. It's at .com/achievements/ -- if your Page shares the same slug, WordPress will probably load the Page, so you'll need to permanently delete that Page if you want to see the default directory.

  3. joejozwowski
    Member
    Posted 10 months ago #

    Paul,
    I swear, you have to be the most responsive WordPress Developer I have ever come into contact with.

    I do have one more question. I noticed that when I create a new achievement, the featured image function is disabled. Is there anyway to re-able that.

    We're going to be using the plugin as a merit badge system, and it will heavily rely on graphics. I know I will have to make a child-copy of the achievements page so that I do not overwrite the core code and display them the way I want, but I would still like to set featured images for all the badges, awards and events we will be creating.

  4. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 10 months ago #

    :D

    The Featured Image box isn't showing because your theme doesn't register support for post thumbnails. I was only recently able to find a solution for this, literally in the last few days.

    Until I test the solution a bit more, I suggest you add this line into your theme's functions.php:

    add_theme_support( 'post-thumbnails' );

  5. joejozwowski
    Member
    Posted 10 months ago #

    Interesting...

    The Achievements Plugin is the only part of my site that is not allowing me to select a featured image. I added the code to the functions.php and I am still not getting anything.

    I have run into some issues with using the theme I am using, from Themify.me, not the greatest, but it serves its purpose.

    Any other suggestions?

  6. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 10 months ago #

    Does "add_theme_support" appear anywhere in your theme? Do you know how to search in all files for that phrase?

  7. joejozwowski
    Member
    Posted 10 months ago #

    add_theme_support() appears in the page theme-functions.php

  8. joejozwowski
    Member
    Posted 10 months ago #

    there is an instance of
    remove_post_type_support( 'page', 'thumbnail' );
    on the following line.

    Once I remove it, featured images work just hunky-dory!

    How can I overwrite this with my child theme so that it does not take effect?

  9. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 10 months ago #

    You need to make sure the add_theme_support() call I gave you is executed by WordPress AFTER the parent theme calls remove_post_type_support. Might be a bit tricky to figure that out unless you are a developer?

    I suggest just removing that line from the parent theme, and when Achievements 3.4 is out, I'll "fix" this inside Achievements, and you can put your theme back to how it was.

  10. joejozwowski
    Member
    Posted 10 months ago #

    I'm enough of a developer to be able to add functionality to some things, but I have no clue on how to check WHEN lines of code are being called.

    I'll just comment it out and wait for you to work your magic.

    Thanks again, sir. You have made an entire community of dorks very happy!

Reply

You must log in to post.

About this Plugin

About this Topic