nitrospectide
Forum Replies Created
-
The capabilities I am trying to enable look like:
vc_access_rules_post_types/events
vc_ is Visual Composer – now known as WP Bakery Page Builder. This setting enables the use of the builder on the CPT named after the / (events in this case).
I have my live site, plus two development site copies. At first, my one development site let me check these boxes, no problem. My live site did not. I tried it on the other dev site, and it also would not let me check the boxes. I looked at differences between the sites, and noticed that my core WordPress had not been updated in a bit on the dev site where I was able to set the checkbox (6.4.x, I think). The live and other dev sites both had newer (but not current – they were at 6.5.x) versions of WP. I updated WordPress (6.6.x) on the site where the checkboxes worked, and now I can no longer set the checkboxes on that dev site.
On the dev site that I had updated to the current WP core version, I updated my other plugins, including WP Bakery Page Builder. It still does not let me set these checkboxes. Although now, when I click one, it jumps me back up to the top of the page, and if I scroll all the way back down, I see this error message at the bottom of the page:
“Unexpected Issue
An unexpected application issue has arisen. Please feel free to report this issue to us, and we will promptly provide you with a solution. Report issue”
Note also that while I have not tested all of the vc_ capabilities for each CPT, I CAN set/unset checkboxes on other vc_ capabilities, and other things unrelated to WPB/Visual Composer.
The reason this is such a sticking point, is that without the boxes checked, the role I am creating is unable to use WPB to edit content on those posts, which is a necessity.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi breaks a custom WP_QueryMikko: That did it! Thank you.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi breaks a custom WP_QueryI’m being asked if I can get this working. Do you have any insight on what might be happening here?
Forum: Plugins
In reply to: [Custom Post Type UI] Appearance > Widgets goes blank with CPTUI activatedI followed your suggestion, and it was an easy fix. +1 on adding that to the reserved slug list.
Forum: Plugins
In reply to: [Custom Post Type UI] Appearance > Widgets goes blank with CPTUI activatedI tried what you described, and the widgets admin reappeared.
So I reformatted the exported JSON and scanned through it visually. Lots of posts types, but not a lot of settings are set. My initial reaction: could using the name “Sidebar” for a post type be causing some kind of collision? If so, what’s the best way to remedy it? Doesn’t renaming a CPT end up copying everything? That will break some of my hardcoded inclusions of those in my template files.
The JSON dump:
{ "project_profiles": { "name": "project_profiles", "label": "Project Profiles", "singular_label": "Project Profile", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "project-profiles", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-welcome-widgets-menus", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "clients": { "name": "clients", "label": "Clients", "singular_label": "Client", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "true", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "clients", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-businessman", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "services": { "name": "services", "label": "Services", "singular_label": "Service", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "services", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-admin-tools", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "solutions": { "name": "solutions", "label": "Solutions", "singular_label": "Solution", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "solutions", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-admin-generic", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "testimonials": { "name": "testimonials", "label": "Testimonials", "singular_label": "Testimonial", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "true", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "testimonials", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-format-quote", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "presentations": { "name": "presentations", "label": "Presentations", "singular_label": "Presentation", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "presentations", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-analytics", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "partners": { "name": "partners", "label": "Partners", "singular_label": "Partner", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "industry-partners-technology", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-groups", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "events": { "name": "events", "label": "Events", "singular_label": "Event", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "events", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-calendar-alt", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "conversations": { "name": "conversations", "label": "Conversations", "singular_label": "Conversation", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "conversations", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-format-chat", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "du_solutions": { "name": "du_solutions", "label": "DU Solutions", "singular_label": "DU Solution", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "digital-utility", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-dashboard", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "authors": { "name": "authors", "label": "Authors", "singular_label": "Author", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "authors", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-edit", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "ebooks": { "name": "ebooks", "label": "eBooks", "singular_label": "eBook", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "ebooks", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-book-alt", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "leaders": { "name": "leaders", "label": "Leaders", "singular_label": "Leader", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "udc-leadership", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-id-alt", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "news": { "name": "news", "label": "News Items", "singular_label": "News Item", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "news", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-media-document", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "sidebars": { "name": "sidebars", "label": "Sidebars", "singular_label": "Sidebar", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "true", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-index-card", "register_meta_box_cb": null, "supports": [ "title", "editor" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_trashed": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" }, "industries": { "name": "industries", "label": "Industries", "singular_label": "Industry", "description": "", "public": "true", "publicly_queryable": "true", "show_ui": "true", "show_in_nav_menus": "true", "delete_with_user": "false", "show_in_rest": "true", "rest_base": "", "rest_controller_class": "", "rest_namespace": "", "has_archive": "false", "has_archive_string": "", "exclude_from_search": "false", "capability_type": "post", "hierarchical": "false", "can_export": "false", "rewrite": "true", "rewrite_slug": "industries", "rewrite_withfront": "true", "query_var": "true", "query_var_slug": "", "menu_position": "", "show_in_menu": "true", "show_in_menu_string": "", "menu_icon": "dashicons-list-view", "register_meta_box_cb": null, "supports": [ "title", "editor", "thumbnail", "excerpt", "revisions" ], "taxonomies": [], "labels": { "menu_name": "", "all_items": "", "add_new": "", "add_new_item": "", "edit_item": "", "new_item": "", "view_item": "", "view_items": "", "search_items": "", "not_found": "", "not_found_in_trash": "", "parent_item_colon": "", "featured_image": "", "set_featured_image": "", "remove_featured_image": "", "use_featured_image": "", "archives": "", "insert_into_item": "", "uploaded_to_this_item": "", "filter_items_list": "", "items_list_navigation": "", "items_list": "", "attributes": "", "name_admin_bar": "", "item_published": "", "item_published_privately": "", "item_reverted_to_draft": "", "item_trashed": "", "item_scheduled": "", "item_updated": "" }, "custom_supports": "", "enter_title_here": "" } }
Forum: Plugins
In reply to: [Custom Post Type UI] Appearance > Widgets goes blank with CPTUI activatedMichael,
I have gone through the site, working with tech support at our web host to try everything and watch for any sort of clue as I repeatedly reloaded the Widgets admin page that has the missing UI. Thus far:
There are no console errors, so it does not appear to be a front-end UI issue.
There are no Apache, or PHP errors in those logs.
With the site in debug mode, no errors are appearing.
I tried switching to a core theme, and I deactivated every plugin but CPTUI, but the problem still persisted. As soon as I deactivated CPTUI, the widgets reappeared on my admin screen.
What do you advise as a next step in troubleshooting?
Forum: Plugins
In reply to: [Advanced Query Loop] Feature Req: Getting Values from Query?DERP. Title of this should be Feature Req: Getting Values from URL?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi breaks a custom WP_QueryI also have this code from your knowledge base in my functions.php:
function rlv_relationship_content( $content, $post ) { // Fetching the post data by the relationship field. $relationships = get_post_meta( $post->ID, 'author', true ); if ( ! is_array( $relationships ) ) { $relationships = array( $relationships ); } foreach ( $relationships as $related_post ) { $content .= ' ' . get_the_title( $related_post ); } return $content; } add_filter( 'relevanssi_content_to_index', 'rlv_relationship_content', 10, 2 );
It was appearing in the JSON that’s inside the tag at line 32:
<script data-no-defer="1" data-ezscrex="false" data-cfasync="false" data-pagespeed-no-defer data-cookieconsent="ignore">
I just looked, and it’s not there any more. The var name says nonce, so I’m guessing you are using it temporarily and then re-generating it. The problem is, it was generating what I initially pasted in the ticket, which Website Auditor was reading as a bad link.
If it regenerates periodically, then sometimes I may have bad links in there, sometimes not. I don’t know how often it does this, or where it gets those bad URLs. It had looked like an older version of that page’s permalink.
I am using this: https://www.link-assistant.com/website-auditor/
Forum: Plugins
In reply to: [Advanced Query Loop] ACFs with Post Meta queryAh! Nice. I just made use of this. I had a block that pulled up whatever the latest eBook is in our collection, and now I can create blocks that target specific eBooks based on unique values for the PDF filename ACF I have on each. This is very useful.
Forum: Plugins
In reply to: [Permalink Manager Lite] Slug is completely different from permalink?Thank you!
I did not realize that what I was seeing in the permalink editor field was separate from the page slug. The setting for showing the native slug field was exactly what I needed. I updated my slug, matched my template name, and it works perfectly now.
Forum: Fixing WordPress
In reply to: Query Loop block stopped showing columnsIt turned out that I had a line dequeuing a stylesheet that had previously not been in use (for performance reasons), but now was in use. The change in the Query Loop block must have moved the styles from one sheet to the other. I removed the dequeue of that sheet, and now it works again.
- This reply was modified 11 months, 3 weeks ago by nitrospectide.
Forum: Plugins
In reply to: [Advanced Query Loop] ACFs with Post Meta queryThank you for the very helpful answers.
Please keep in mind that the ACF fields will need to be exposed to the REST API for this to display correctly in the block editor.
What do I need to do to do this?
Unfortunately, without using a custom extension for AQL, I don’t think you’ll be able to display the posts linked in the ACF Relationship as it’s more complicated that simple post meta queries.
How hard would this be to add? Can it be a feature request?
Do you have a roadmap for your plans on this nice, and very much needed plugin? Have you ever looked at Drupal’s Views module? It’s an interesting model of a query builder for this sort of application.
- This reply was modified 1 year ago by nitrospectide.
Forum: Developing with WordPress
In reply to: Query Loop Block Variation not workingDone