Atoro
Forum Replies Created
-
Forum: Plugins
In reply to: [Agy - Age verification for WooCommerce] Content Warning Keeps AppearingSame issue. Cookie expire date seems to be ignored and the cookie is just rewritten, although for me it’s regardless of what settings I have on the plugin. It will either constantly pop up on every page, or only pop up on my posts page, but still doesn’t follow the expire.
I do like the new look a whole lot better though. A piece of advice: allow an admin-area way to change the colors on the popup, I have to edit the CSS to get it to match my site’s theme. Other than that, damn good job
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Checkbox for Terms & ConditionsSure thing, just as a heads up, it’s an adult-oriented website
Forum: Plugins
In reply to: [Achievements for WordPress] Featured images in Achievement pageThis seems to work for me, thanks for the help! Should help me with other plugins as well =)
Forum: Plugins
In reply to: [Achievements for WordPress] Featured images in Achievement pageFor those who have the same problem and want to show badges under the name of the achievement, I figured it out:
Put this line of code into the loop-single-achievement.php file located under wp-content/plugins/achievements/templates/achievements/achievements. You should see this on line 21:
<a href="<?php dpa_achievement_permalink(); ?>"><?php dpa_achievement_title(); ?></a>
Underneath that, put this:<br /> <?php if ( has_post_thumbnail( $notification->ID ) ) echo '<a href="' . esc_url( $url ) . '">' . get_the_post_thumbnail( $notification->ID, 'medium', array( 'class' => 'attachment-medium dpa-achievement-unlocked-thumbnail' ) ) . '</a>'; ?>That puts the featured image from that achievement underneath. Hope this helps somebody!
Forum: Plugins
In reply to: [Achievements for WordPress] Featured images in Achievement pageWhat exactly did you do to get it working? I wanted to implement this into my own site, but my PHP skills are… novice at best
Wow it worked perfectly, didn’t think it would be THAT easy =)
Thanks a bunch, 5 stars for you!