Hi @ieio, I am sorry our plugin is causing this issue on your site. It’s not immediately clear to me what could be the cause. But in your video, those posts that we are seeing where the number changes after our plugin is installed, are they blog posts or a custom post type?
Also after activating our plugin have you tried updating the permalinks on your site? So go to Settings > Permalinks and then just click the save button, this sometimes solves issues shown on your video as silly as it might sound.
If there’s any other information that you think might be relevant, please let me know. Thanks,
Thread Starter
ieio
(@ieio)
Thanks for the quick reply, I sincerely appreciate it.
To answer your question: they are standard WordPress blog posts, not a custom post type.
I already tried the permalink reset but unfortunately it didn’t solve the issue.
Could it be related to how IdeaPush registers its CPT on activation? My suspicion is that it might be altering a global WordPress query (like pre_get_posts) in a way that affects the post count on the “All” filter. The individual category counts remain correct — only the “All” count drops to zero.
Best regards
Hi @ieio,
Would you be able to try and remove a couple of lines of code from our plugin and see if this impacts things?
Please remove line 1161 from ideapush.php (main parent plugin file) which looks like this:
$query->set( ‘tax_query’, $tax_query );
And lines 1072 and 1073 from the same file which look like:
$query->set( ‘meta_key’, ‘votes’ );
$query->set( ‘orderby’, ‘meta_value_num’ );
Thanks
Thread Starter
ieio
(@ieio)
thank you and sorry for delay.
I commented out those lines, deactivated IdeaPush, cleared all caches, reactivated your plugin but no changes
Hi @ieio,
Mm I am sorry, I am not 100% sure what the issue could be then. I haven’t heard of this before, but it’s obviously some kind of conflict between our plugin and your site environment. My support here is limited, but if you get the pro version, I am happy to do some more enhanced isolation testing and see what’s causing the issue and ensure everything is working well together without interference. This work would be covered under my money-back guarantee, so if I can’t get them playing nice together you would be entitled to a full refund. Thanks,
Thread Starter
ieio
(@ieio)
hi, thank you for replying, my environment is a standard elementor+blocksy so nothing fancy or extravagant, but I understand your point of view.
even though from a potential customer’s point of view a product should already be working without issues before buying it, so I guess your plugin will keep the bug – unless you’d like to investigate further for a fix which would also benefit other users with the same common setup.
regards
Hi @ieio,
The issue is that due to the terms of this forum we are not allowed to exchange sensitive information through this forum – I have gotten in trouble with this in the past trying to help people. Also it just takes a lot of time to dig through 2 sets of code and review other things to find the issue. This is why this level of support is reserved for premium users of the plugin. Thank you 🙂