WordPress.org

Forums

Achievements for WordPress
[resolved] Shortcodes within Achievement Posts are inactive for logged out users (9 posts)

  1. pmcvicker
    Member
    Posted 3 years ago #

    For some reason I can't quite work out, my layout shortcodes for achievement pages are displaying as the shortcode itself, rather than its corresponding styles. This is true only for logged out users. Logged in users see the page rendered as intended with the shortcode styles applied.

    Example: http://challengebeta.mypcls.org/achievements/beneath-your-feet/

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

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    Oh - so Achievements is breaking other theme/plugins' shortcodes, but only when the user is logged out? That is super, super weird. Going to have a think.

  3. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    Sent you an email about this.

  4. frozenxis
    Member
    Posted 2 years ago #

    hello.

    i have the same problem but for both user states: logged and not logged.

    shortcodes work on other post types.

    please advise

  5. frozenxis
    Member
    Posted 2 years ago #

    ok, resolved it by adding this:

    function shortcodesInAchievments($content){
        return apply_filters('the_content',$content);
    }
    
    add_filter('dpa_get_achievement_content','shortcodesInAchievments');

    in functions.php, but i prefer i didn't have to.

  6. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    Hi

    If you want help investigating this, please open a new ticket and give me more details about your site -- what other plugins you're running, and what theme, for example.

    9 months is a long time ago but I think pmcvicker's problem was a bug in his theme (or at least, something unusual in his theme). I can't remember if we came up with a solution or if pmcvicker decided to use another theme.

  7. halleg
    Member
    Posted 2 years ago #

    Hi there,

    Stupid questions but where can I found a short code to display one or several achievement?

    I like what you did @pmcvicker and my project is going on the same direction.

    [ Signature moderated. ]

  8. halleg
    Member
    Posted 2 years ago #

    Nevermind, found an old post here! Thanks for great work.

  9. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Achievements for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.