Hi. I haven’t used Loops&Logic for a while but I simply wanted to create a new template based on an existing one (then use the shortcode to create a Latest custom post type list). I copied the existing Template to a new draft, edited the necessary field, but then couldn’t find a save or publish button. The only visible (and available) screen element is Template categories. I checked on another site and I have the same issue. Am I missing something? Many thanks for any help you can provide, best wishes Mariette
I have now discovered that this is caused by the plugin LH Archived Post Status so I have raised a support ticket with them: Conflict with Tangible: Loops & Logic plugin | WordPress.org
Unfortunately the response from LH Archived Post Status wasn’t helpful (“I do not support plugins I do not use”) so, unless you can help, this is unresolvable. To use your plugin I will first need to deactivate LH…
Hi, thanks for reporting this issue and figuring out that it’s a plugin conflict with LH Archived Post Status.
I looked into it, and the plugin removes the Publish metabox from all post types’ edit screens. That’s really the fault of the plugin for interfering with the normal functioning of other plugins. For good community etiquette, it should provide a settings page to select specific post types to apply its changes (opt in, instead of opt out).
Fortunately, there is a filter to work around it. You can try the following snippet in a theme’s functions.php
.
add_filter('wp_statuses_get_supported_post_types', function($post_types) {
foreach ($post_types as $key => $value) {
if (str_starts_with( $value, 'tangible_' )) {
unset($post_types[ $key ]);
}
}
return $post_types;
}, 10, 1);
That removes the template post types from their list.