Hi @spult
It seems a bug on our side. We have created a task on our GitHub issues so it can be fixed in the future release: https://github.com/publishpress/PublishPress-Future/issues/381
Thanks,
Thread Starter
Fred
(@spult)
Hello,
Thank you very much. This is very useful and nice plugin. I hope in the next future we will not meet it again. Because as you know that this is very important for Site owners.
Thanks again dear.
@spult After further investigation and discussions, this is more appropriate to be addressed on the WCFM side because the vendor editor is something custom created by WCFM. The widget works fine on default WordPress admin editor.
Thread Starter
Fred
(@spult)
Hello,
Thank you very much for quick answer.
I hope this code will help to other users to HIDE it from the Store Manager Add New Product:
add_filter( 'wcfm_is_allow_post_expirator', '__return_false' );
I just find this code, but I did not test it if it is working on Admin or not. I will let you know if any news.
Thanks!
Thread Starter
Fred
(@spult)
Sorry, it seems that code is blocking all functions of Post Expirator. It is immediately checking as Draft.
It will be better if Post Expirator added in Block or Table that easy to hide with CSS code like as: display: none;
But with another method it must be hidden one by one.
Thanks @spult
The Future plugin isn’t designed to work on the frontend of WordPress, only in the admin area. We may look at the changing that, but it’s not supported now.
Thread Starter
Fred
(@spult)
Thank you very much for quick reply.
Waiting for positive answer from you a.s.a.p.
Regards
@spult There won’t be an answer soon, but we’ve added this to our list for future versions. You can vote on this idea and add feedback here: https://github.com/publishpress/PublishPress-Future/discussions/382
Thread Starter
Fred
(@spult)
Hello,
add_filter('wcfm_is_allow_post_expirator', function($is_allowed) {if($is_allowed && wcfm_is_vendor()) {return false;}return $is_allowed;});
This code helps to make unseen this frontend Vendor, show only for admin. But, when Vendor publish product, admin must enter to the product and change the date again. It means backend +1 month or +1 hour is not working for Vendor with this code.
Can you please provide and help me to have the code which will hide Post Expirator from Vendor but not touch it’s backend configuration?
Thank you.
Hi @spult. Sorry, we can’t help with custom code in this situation. We’re not familiar enough with this other plugin.