• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Issues with achievements plugin

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Issues with achievements plugin

This topic is: not resolved

Tagged: acheivements, achievements plugin, formatting

  • This topic has 3 replies, 1 voice, and was last updated 7 years, 11 months ago by Tal.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 7, 2015 at 10:45 am #146927
    Tal
    Member

    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.

    http://castletv.net/achievements

    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

    April 7, 2015 at 10:55 am #146930
    Tal
    Member

    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.

    April 7, 2015 at 11:54 am #146931
    Tal
    Member

    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>
    
    April 7, 2015 at 12:00 pm #146933
    Tal
    Member

    Template PAGES not sites - sheesh I can't type today!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble