Usecase:
I email an article to my wordpress site , but discovers that it has multiple spelling errors in it. Id like to be able to send an email with exact same email subjext and a :delete command
:delete [category] My fawltee headline
And it will trash my post.
Is this possible?
]]>I’m trying to figure out what is the corresponding URL for deleting a Listing.
Each account would eventully have many shops / Listing and I want to provide a Manage Shop page so that the users can see their own shops and be able to View, Edit and Delete their Listing. Here is what it looks like so far:
https://paste.pics/87c2a7cb5d3e52d18a4182adf0f88525
I manage to make the View and Edit buttons working. Each button will direct to the corresponding page, but I don’t know how the delete button works.
Code used for View and Edit Listing:
$view_BS_loction_URL = get_the_permalink();
$edit_BS_location_URL = "my-domain/add-listing/?listing_type=gd_place&pid=" . $BS_location_id;
I found out that there is a GD > Author Actions Block and I added it in profile: This will show edit and delete button. In front end the delete button looks like this:
<a href="javascript:void(0);" class="gd_user_action delete_link btn mt-1 mb-1 btn-sm btn-danger text-white" onclick="gd_delete_post(773);"><i class="fas fa-trash"></i> Delete</a>
How does that work? Does it append the url to be :
my-domain/add-listing/?listing_type=gd_place&pid=773 ?
my-domain/?listing_type=gd_place&pid=
get_delete_post_link( get_the_ID() );
to do this. However, this only works for Admin roles. New users on the site get the Contributor role by default.
I have the “Members” plugin and have checked for the Contributor role:
– Edit posts
– Delete posts
– Publish posts
– Delete private posts
– Delete published posts
– Edit private posts
– Edit published posts
I have also tried to give these rights through code and then specified the custom post type, but it’s the same result.
What am I doing wrong? My understanding is that I should be able to give Contributors the right to remove their own posts.
Thank you!
]]>I use Admin Menu Editor Pro in order to grant or refuse access to posts with custom types.
Some user roles are defined to have every right on some post types, but still they can’t delete posts (they do not have the link to delete anywhere). I checked with Admin Menu Editor Pro support who said that access are well granted, but it sometimes comes from restrictions in the way CPT are created by plugins.
So here I am. Are there any restrictions to delete posts when CPT UI creates the custom post types?
Regards
]]>I’ve turned off various plugins but not anything with that.
When I try to delete, I get “error in moving to trash” only.
Advice? ideas? Thanks!
]]>It is a bit irritating for advanced WordPress users to have to suffer warnings when deleting a post/page, and now resaving permalinks as matter of course after doing plugin updates to help clear extra transients and for custom endpoints.
Really don’t need to keep seeing warning notices — it’s gotten a bit intrusive (but we still love you!).
Thanks for reading another annoying user post
]]>I need some plugin or other solution to rewrite/replace existing post (duplicate post) with new post.
I have a deal site if i posting new deal with new price and coupon there can be allready existing older post for thit product and i want it to replace or overwrite or delete the older one so it will be no duplicate content and the url of the post still the same.
How can i do this?
Thanks a lot!
Fatal error: Uncaught exception ‘Exception’ with message ‘unknown engine ‘ in /home/getco814/public_html/wp-content/plugins/w3-total-cache/Cdnfsd_Core.php:48 Stack trace: #0 /home/getco814/public_html/wp-content/plugins/w3-total-cache/Cdnfsd_CacheFlush.php(222): W3TC\Cdnfsd_Core->get_engine() #1 [internal function]: W3TC\Cdnfsd_CacheFlush::w3tc_flush_execute_delayed_operations(Array) #2 /home/getco814/public_html/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array) #3 /home/getco814/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #4 /home/getco814/public_html/wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(253): apply_filters(‘w3tc_flush_exec…’, Array) #5 /home/getco814/public_html/wp-content/plugins/w3-total-cache/CacheFlush.php(188): W3TC\CacheFlush_Locally->execute_delayed_operations() #6 /home/getco814/public_html/wp-content/plugins/w3-total-cache/CacheFlush.php(194): W3TC\CacheFlush->execute_delayed_operations() #7 [internal function]: W3TC\CacheFlush->execut in /home/getco814/public_html/wp-content/plugins/w3-total-cache/Cdnfsd_Core.php on line 48
Fatal error: Uncaught exception ‘Exception’ with message ‘unknown engine ‘ in /home/getco814/public_html/wp-content/plugins/w3-total-cache/Cdnfsd_Core.php:48 Stack trace: #0 /home/getco814/public_html/wp-content/plugins/w3-total-cache/Cdnfsd_CacheFlush.php(222): W3TC\Cdnfsd_Core->get_engine() #1 [internal function]: W3TC\Cdnfsd_CacheFlush::w3tc_flush_execute_delayed_operations(Array) #2 /home/getco814/public_html/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array) #3 /home/getco814/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #4 /home/getco814/public_html/wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(253): apply_filters(‘w3tc_flush_exec…’, Array) #5 /home/getco814/public_html/wp-content/plugins/w3-total-cache/CacheFlush.php(188): W3TC\CacheFlush_Locally->execute_delayed_operations() #6 [internal function]: W3TC\CacheFlush->execute_delayed_operations() #7 /home/getco814/public_html/wp-includes/class-wp-hook.php(284): call_user_func_array(Array, Array) #8 /hom in /home/getco814/public_html/wp-content/plugins/w3-total-cache/Cdnfsd_Core.php on line 48
]]>