Leon
Forum Replies Created
-
I’ve not heard back so I’ll mark this as resolved.
Feel free to reopen if you still have questions ??
Hi swissroach,
Sorry for the delay getting back to you!
This issue should be resolved in v1.4.7. Let me know if you still have any problems after upgrading.
Cheers ??
Forum: Plugins
In reply to: [WP Club Manager - WordPress Sports Club Plugin] Match History WidgetHi vilou,
Thanks for the suggestion, I do plan on adding a feature like this one day ??
Cheers
Hi,
Sorry for the delay getting back to you!
I can’t see anything wrong with your code and there isn’t anything with our code that should cause this. Have you found a solution yet? If not, I’m sure we can get to the bottom of it ??
Cheers
Hi Phil,
Thanks for the comments ??
You can add comments support for matches by adding the following to your themes functions.php file
function add_match_comments() { add_post_type_support( 'wpcm_match', 'comments' ); } add_action( 'init', 'add_match_comments' );
You will then need to add the comment template tags to your match template so that they display on the front end.
The easiest way to do that is to hook into the
wpclubmanager_after_single_match
filter.Copy the following to your themes functions.php:
function display_match_comments() { if ( comments_open() || get_comments_number() ) : comments_template(); endif; } add_action( 'wpclubmanager_after_single_match', 'display_match_comments' );
I haven’t tested, but that should work. Let me know if you have any problems.
Cheers
Forum: Plugins
In reply to: [WP Club Manager - WordPress Sports Club Plugin] Assign player to club?No problem buddy,
I’m not sure if it will be in the core or an extension but it will definitely be free!
Please consider taking a couple of minutes to submit a review of WP Club Manager, it would be much appreciated ??
Forum: Plugins
In reply to: [WP Club Manager - WordPress Sports Club Plugin] Assign player to club?Hi chavo,
Sorry for the delay getting back to you.
I’ll be adding a feature to record opponents players soon so keep your eyes peeled ??
Cheers
Forum: Plugins
In reply to: [WP Club Manager - WordPress Sports Club Plugin] Show only Match ResultsHi,
Sorry for the delay getting back to you!
This feature is available as of version 1.4.0
Enjoy ??
Forum: Plugins
In reply to: [Theme My Login] Redirect loop on logout after upgrading to beta versionYes, the logout page exists. As I state above the logout page has the [theme-my-login] shortcode in it.
Everything has worked perfectly for nearly 3 years until WP 4.3 and subsequent releases of the plugin.
Thanks for your time
Forum: Plugins
In reply to: [Theme My Login] Redirect loop on logout after upgrading to beta versionHi Jeff,
Thanks for the reply.
No, the Security module is not enabled.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsIn my case I needed to fix the links in a plugin and a theme I developed which uses future CPT posts as events which get linked to throughout a website so fixing this was vital. This worked for me, hopefully it will for you too.
If I were you, I would try changing just the ones in a single page to see if they work – try page_blog.php – if they do then go through and replace all instances of
the_permalink()
withget_the_permalink( $post->ID, false, true)
.Of course, you should do any changes to your theme in a child theme. You can find more info about them here.
I hope this helps.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsHi @nanrector
Try looking for
the_permalink()
and replacing that. Depends on your theme but you should find it in the content.php and content-xxx.php files.I hope that helps
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsI was having the same problem displaying scheduled posts for a CPT since upgrading to 4.2.
In my case I was able to fix it by converting:
get_permalink()
to
get_post_permalink( $post->ID, false, true)
.You can get more info on this function from the codex.
I hope that helps someone that may be having a similar problem.