could you paste me the shortcode exactly as you have it in your post editor?
[badgeos_achievements_list type=missions show_filter=false show_search=false limit=4]
I’m not sure why, but for some reason, it appears that you’re not getting a value assigned to a $post_type_plural variable used within one of the ajax function callbacks for post listing.
Specifically this line:
$achievements .= '<p>' . sprintf( __( 'No %s to display at this time.', 'badgeos' ), strtolower( $post_type_plural ) ) . '</p>'; Thus why you’re seeing “No to display at this time”. The question is why.
How comfortable are you with editing php and whatnot? Also is this on a live site or is it all on a dev install that you can temporarily break?
I’m comfortable editing php with the right guidance. And it’s on a dev install. On our staging area in WPEngine.
I’m curious what’s getting returned by this function call, in includes/ajax-functions.php around line 156.
If you could provide the returned output from the following, that’d be awesome. Put that around line 157 in the ajax-functions.php file, and then refresh the page.
var_dump( get_post_type_object( current( $type ) ) );
Hopefully that makes sense.
Hey Producist and Michael
sorry to just drop in and ask on your forum, however im having the exact same issue. When i use the shortcodes i am only able to see all achievements, however as soon as i want to filter by type, im unable to do so and i got no idea why. Any fix for this yet? what i have done was created a custom page template with do shortcode:
<?php echo do_shortcode('[badgeos_achievements_list type="share" limit=20]'); ?>
Only to find the exact same problem producist has. Any idea?
waynmeyer, any js console errors showing up? It could be an ajax issue.
I am experiencing the same thing. I am a beginner and not comfortable with php. Any advice is appreciated. I have used several different themes, I uninstalled and installed badgeos fresh with the new theme.
@purplegiraffe18: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.
This topic references an old version of WordPress.
any changes with this purplegiraffe18?