Alfonso Sánchez Gómez
Forum Replies Created
-
AuthorPosts
-
I found a solution, I added this code in my functions.php
add_action( 'init', 'deleteRevisions' ); function deleteRevisions() { // Get current post revisions $post_revisions = wp_get_post_revisions( $_GET["pid"] , array( 'check_enabled' => false ) ); // Delete them foreach ($post_revisions as $post_revision) wp_delete_post($post_revision->ID); }
Now if I refresh page the message doesn´t show.
Regards.
Perfect, it´s working. Thanks.
In desktop version yes, but I opened the ticket because it doesn’t work in mobile version. It still doesn’t work.
Please read title of post.This reply has been marked as private.Here you have
This reply has been marked as private.This reply has been marked as private.Good morning, I just checked and the listings have downgrade correctly. They also have the limit of 5 images. Everything perfect, finally.
Thanks.
I haven’t overwritten any files, I have that clear.
I just did the tests you told me:
– Bellido: listing with recurring package with 10 images. when it expired it downgrades to Fremium (only 5 images)
– Pizzería Susana: listing with non recurring package with 10 images. when it expired it downgrades to Fremium (only 5 images)Tomorrow both subscriptions will expire. On wednesday I will write you again.
Regards.
I don’t understand, but now it works correctly. Your co-worker has applied a patch on this thread:
https://wpgeodirectory.com/support/topic/package-dont-downgrade-automatically/That must have fixed it. Thank you.
Here you can view: https://alefood.com/restaurantes/cadiz/cadiz/bellido/
That listing has Fremium package (maximum 5 images) but it shows 10.
This reply has been marked as private.A new question about downgrade process.
In my packages:
– Freemium: limit 5 images
– Premium: limit 10 imagesWhen listing downgraded continued showing 10 images. Now, it is in freemium mode and shows 10 images. Shouldn’t it limit itself to 5 images?
The subscription expired yesterday and today the downgrade worked. Right now the listing is Fremium and also has the Feature field correct.
I will do some more test and I will write to you to close the ticket.
Thank you. -
AuthorPosts