- This topic has 3 replies, 1 voice, and was last updated 8 years, 5 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm using the WordPress achievements plugin - unfortunately the developer seems to have quit support and there are no tutorials but I'm hoping the plugin will encourage more activity from my members so I want to make it work. I've narrowed down what I believe is an issue with my template preventing certain pages relating to the plugin from working.
Eg, this page should give a nice formatted table - and not what looks like an excerpt on a page... I changed my site theme to a the wordpress 2012 theme and the page displayed correctly but when my studiopress theme is active it does not.
This is the plugin page on WP https://wordpress.org/plugins/achievements
I should also note that they supply a bunch of custom template pages that you need to copy into a folder within your own theme.
OK... here's the code of one of the template sites, I'm guessing I need to make it genesis compatible, but I haven't a clue how so would appreciate feedback.
<?php /** * Author Achievement content part * * @package Achievements * @subpackage ThemeCompatibility * */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; ?> <div id="dpa-achievements"> <?php do_action( 'dpa_template_before_author_achievements' ); ?> <?php if ( dpa_has_progress() && ! empty( achievements()->achievement_query->posts ) ) : ?> <?php dpa_get_template_part( 'pagination-author-achievements' ); ?> <?php dpa_get_template_part( 'loop-achievements' ); ?> <?php dpa_get_template_part( 'pagination-author-achievements' ); ?> <?php else : ?> <?php dpa_get_template_part( 'feedback-no-achievements' ); ?> <?php endif; ?> <?php do_action( 'dpa_template_after_author_achievements' ); ?> </div>
Template PAGES not sites - sheesh I can't type today!
© 2023 WPEngine, Inc.