sjvlnl
Forum Replies Created
-
Thanks! I can confirm that MailPoet released an update of the plugin and that the issue is resolved ??
4.12.2 – 2023-04-21
Fixed: shortcode support in button, image and social icons links.
Forum: Plugins
In reply to: [Custom Query Blocks] Post type not shownThank you for testing the code.
In my website the Custom Post type is in fact created correctly because I’m also testing the Post Grid-plugin and the Display Post-plugin and they display my Custom Post type posts correctly.
When I use Gutenberg Blocks to display a post grid of my custom post type I don’t see it, so there must be something wrong.
What else can I do to make the Gutenberg Blocks work?
Forum: Plugins
In reply to: [Custom Query Blocks] Post type not shownHere’s the code:
function cptui_register_my_cpts() { /** * Post Type: Kennisbank-items. */ $labels = [ "name" => __( "Kennisbank-items", "atomic-blocks" ), "singular_name" => __( "Kennisbank-item", "atomic-blocks" ), "menu_name" => __( "Kennisbank", "atomic-blocks" ), "all_items" => __( "Alle Kennisbank-items", "atomic-blocks" ), "add_new" => __( "Nieuw Kennisbank-item toevoegen", "atomic-blocks" ), "add_new_item" => __( "Nieuw Kennisbank-item toevoegen", "atomic-blocks" ), "edit_item" => __( "Bewerk Kennisbank-item", "atomic-blocks" ), "new_item" => __( "Nieuw Kennisbank-item", "atomic-blocks" ), "view_item" => __( "Bekijk Kennisbank-item", "atomic-blocks" ), "view_items" => __( "Bekijk Kennisbank-items", "atomic-blocks" ), "search_items" => __( "Zoek Kennisbank-items", "atomic-blocks" ), "not_found" => __( "No Kennisbank-items found", "atomic-blocks" ), "not_found_in_trash" => __( "No Kennisbank-items found in trash", "atomic-blocks" ), "parent" => __( "Hoofd Kennisbank-item:", "atomic-blocks" ), "featured_image" => __( "Featured image for this Kennisbank-item", "atomic-blocks" ), "set_featured_image" => __( "Set featured image for this Kennisbank-item", "atomic-blocks" ), "remove_featured_image" => __( "Remove featured image for this Kennisbank-item", "atomic-blocks" ), "use_featured_image" => __( "Use as featured image for this Kennisbank-item", "atomic-blocks" ), "archives" => __( "Kennisbank-item archives", "atomic-blocks" ), "insert_into_item" => __( "Insert into Kennisbank-item", "atomic-blocks" ), "uploaded_to_this_item" => __( "Upload to this Kennisbank-item", "atomic-blocks" ), "filter_items_list" => __( "Filter Kennisbank-items list", "atomic-blocks" ), "items_list_navigation" => __( "Kennisbank-items list navigation", "atomic-blocks" ), "items_list" => __( "Kennisbank-items list", "atomic-blocks" ), "attributes" => __( "Kennisbank-items attributes", "atomic-blocks" ), "name_admin_bar" => __( "Kennisbank-item", "atomic-blocks" ), "item_published" => __( "Kennisbank-item published", "atomic-blocks" ), "item_published_privately" => __( "Kennisbank-item published privately.", "atomic-blocks" ), "item_reverted_to_draft" => __( "Kennisbank-item reverted to draft.", "atomic-blocks" ), "item_scheduled" => __( "Kennisbank-item scheduled", "atomic-blocks" ), "item_updated" => __( "Kennisbank-item updated.", "atomic-blocks" ), "parent_item_colon" => __( "Hoofd Kennisbank-item:", "atomic-blocks" ), ]; $args = [ "label" => __( "Kennisbank-items", "atomic-blocks" ), "labels" => $labels, "description" => "Voor het tonen van de Slimme Verlichting kennisbank op Slimmeverlichting.nu", "public" => true, "publicly_queryable" => true, "show_ui" => true, "show_in_rest" => true, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "has_archive" => "kennisbank-archief", "show_in_menu" => true, "show_in_nav_menus" => true, "delete_with_user" => false, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "rewrite" => [ "slug" => "kennisbank", "with_front" => true ], "query_var" => true, "menu_icon" => "dashicons-welcome-learn-more", "supports" => [ "title", "editor", "thumbnail", "excerpt", "trackbacks", "custom-fields", "revisions", "author", "page-attributes", "post-formats" ], ]; register_post_type( "kennisbank", $args ); } add_action( 'init', 'cptui_register_my_cpts' );
- This reply was modified 5 years, 1 month ago by sjvlnl.
Forum: Plugins
In reply to: [Custom Query Blocks] Post type not shownYes, I noticed in Custom Post Type UI that I have two other fields which are left empty:
REST API base slug
and
REST API controller class
Is that correct?
Thank you @yogaman5020,
As you suggested, I’ve replaced the code on the updated article in my themefunctions file but I’m still not sure on where to put my own popup values (CSS Classes + Cookie Name) in the Javascript.
My popup still shows up again a few seconds after a form submission. I’m using a Mailchimp for WordPress shortcode to display my optin form in the popup.
Do I need to put more pieces of different code in my themefunctions file or just the code on the updated article?
Any further help is appreciated.
Forum: Plugins
In reply to: [Related Posts for WordPress] Thumbnails not visibleIs there a workaround in case you don’t set a featured image in your blog posts but still want to display a thumbnail image in your related posts?
Or would this be an option for a future version of your plug-in?
Forum: Plugins
In reply to: [Related Posts for WordPress] Thumbnails not visibleI’ve tried this but there are still no thumbnails visible. I currently use a Twenty Twelve Child theme for my website.
Is there perhaps a need to use featured images in my blog posts? Because in my website where the tumbnails are not visible I don’t use them. Instead I’ve uploaded a separate image in each of my blog posts.
What I didn’t mention so far is that I have another website running (localy in development) a Twenty Thirteen Child theme where I do use featured images in my blog posts and use your plug-in. After checking the box for displaying images, thumbnails do normally show up in my related posts.
Any further help is appreciated.