ispreview
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] Does not work with WordPress 6.4I have also found that Popular Post is not counting after the release of 6.4. Currently on PHP 8.2.
Maybe they fixed it, but some of the delayed posts didn’t appear in our social media feeds until this morning. Speaking of this morning, we’re seeing the same problem yet again – two posts written over the past few hours and none getting to social media (yet).
- This reply was modified 1 year, 5 months ago by ispreview.
I’m seeing the same issue again today, around midday (UK time).
Seems to be normal again.
Good to know it’s not just me :).
After checking through the options, I found that “Repost” had been checked at the last update, which is odd as I’ve never enabled that in the past.
Forum: Plugins
In reply to: [WordPress Popular Posts] PHP8.2 Bug with WP Popular PostsFound a few more PHP 8.2 deprecations and warnings in the very latest Popular Posts release over the weekend. This time they show on the main WP admin dashboard screen, but under the ‘Trending Now’ window:
Warning: Undefined property: stdClass::$comment_count in /../wp-content/plugins/wordpress-popular-posts/src/Admin/Admin.php on line 1155
Warning: Undefined property: stdClass::$comment_count in /../wp-content/plugins/wordpress-popular-posts/src/Admin/Admin.php on line 1155
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /../wp-includes/functions.php on line 423
Forum: Everything else WordPress
In reply to: How to add a notice below comment form?I eventually found the easiest way was to just put it inside an if statement at the bottom of the comments.php file.
<?php if ( comments_open() ) : ?>
However, I now have one problem left to solve. I want to put a simple “Comments are closed” message on POSTs where there are NO (0) comments and the comments are closed. The comments template I’m using can actually do something like this for situations where comments exist, but the comments are now closed:
<?php // If comments are closed and there are comments, let's leave a little note, shall we? if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="no-comments" align="center"><?php _e( '<strong>Comments are closed</strong>', 'twentysixteen' ); ?></p> <?php endif; ?>
But I’m not sure how to adapt this code so I can do the same thing on posts where there are NO comments and the comments are closed? Any ideas?
Yes, the downgrade and then re-update to 6.9.7 seems to have solved it, thanks.
I haven’t downgraded yet, so am still on 6.9.7.
Seems to be fixed in 6.9.6. Thanks all.
Forum: Plugins
In reply to: [Yoast SEO] Can I clean wp_yoast_seo_links?I’ve already used PhpMyAdmin to empty the table, but the plugin is still adding new links with every new post I make.
As I’ve said, this is with both the extra functions.php code and the text link counter set to ‘off’ (red highlight over the top of button).
But I do wonder if the ‘Link suggestions’ feature may be the problem here. I don’t have the premium version of this plugin, but under ‘Features’, Link suggestions is shown as ‘Enabled’ via a sort of grey preview – but obviously I have no way to control that.
Forum: Plugins
In reply to: [Yoast SEO] Can I clean wp_yoast_seo_links?I tried that already Suwash, as well as this slightly different code (below), but it didn’t stop links being added to the table. Again, this is with Text Link Counter set to Off.
add_filter( 'wpseo_should_index_links', function() { return false; } );
But so far nobody has said whether it’s safe to empty the table of its existing data, since I don’t use the associated features.
Forum: Plugins
In reply to: [WordPress Popular Posts] Unusual Issue with wpp_get_mostpopularI just left it on limit=6 instead, and haven’t had time to go back to try resolving the output for limit=4.
Forum: Plugins
In reply to: [WordPress Popular Posts] Unusual Issue with wpp_get_mostpopularIt’s not quite identical, the code on the front page has limit=4, while the one on single.php has limit=6. And yes I do use ‘Data Caching’, with a 1 hour clearance.