it was completely my bad. I am using this plugin and I updated my functions.php file but the plugin wasn’t activated although I thought it had been.
Extension is here & it works in 5.4.2 with Gutenberg blocks if anybody is intereested:
Related Posts:
- Correctly delete posts with meta and attachments [duplicate]
- Detect meta value changes when post is updated (post_updated)
- Search everything (posts, pages, tags, cpt, meta)
- get_post_meta not working on publishing
- Let users upload image(s) to the post from front end
- Custom Function to redirect singular post if specific meta field is empty
- Stored meta from attachment, video length?
- Delete custom post type metadata without deleting the post in admin area
- Rich Custom Field for Custom Post type not saving
- Post AND page parameter for WP function
- Advanced search form with filters for custom taxonomies and custom fields
- Meta query with boolean true/false value
- Custom field values deleted when trashing custom post type
- get attachments for all posts of particular post type
- How do I remove all the metaboxes for a custom post type?
- Custom Queries: Joining On Meta Values From Two Custom Post Types
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- WordPress Admin Panel search posts with custom post meta values along with title
- Rest Api v2 orderby meta_key in custom post type
- bulk Update post_meta with default values
- Is it possible to insert text into an html tag using functions.php?
- Custom post type loops with different page templates
- Do attachments added to custom post types have a post parent?
- Multiple Content Block
- Allow Users Access to Custom Post Type Only
- How to get Custom Post ID by adding filter to child theme’s function
- Add Post Url to Manage Edit Screen
- When ‘is_post_type_archive()’ return true?
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- How can I get_post_meta() in the most efficient way?
- How To Enable Block Editor (Gutenberg) for Existing Post Type via functions.php
- Create a post in custom post type using field in registration form after users submit form
- right_now_content_table_end function not working?
- List all images from a single post meta value
- Can’t check if a post has thumbnail adding filter to get_post_metadata()
- how to delete all users and posts based on ‘user_meta’?
- Meta Key Value in current-user-only loop
- How to implement a Google map store locator
- Update Post Meta for a logged in user
- How to target a specific custom post type post and its all children and grandchildren?
- ACF field key/value to show on taxonomy list
- Re-registering a custom post type not working (not showing up)
- get_post_meta returning no value in custom post type alert email
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Add term to custom post type on draft
- Getting thumbnails of a custom posts featured images in a page-templates metabox
- Template not working for the custom Post type
- If Post Meta Equals Current Title Conditional Advanced Custom Fields
- Loop increase number
- ACF in wordpress
- Change Slug of a Custom Post Type
- List of all entries of custom-post-type: Add year-parameter?
- delete_post_meta() for whole CPT / multiple posts?
- How to inherit field value from parent post into in child / sub post
- how to show records that don’t have custom meta value
- What are the meta fields for an attachment?
- Custom post type’s posts are not showing anywere but in xml sitemap
- Show current user posts in custom post type query
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- Custom post type in Custom widget – $listItem
- Get all metadata for a given custom post type
- Advanced custom field – posted fields from custom post type
- Add a class to post_class if more than one post shares same meta_value_num
- Function to return values from metabox
- Add a meta field to the list of results for a custom post type
- Conflict in function to allow single post template based on category
- Custom fields for post or terms which don’t update on post update
- set object terms after some some time of published post – functions.php
- Add a form in every post and save data in post meta
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- How to use multiple Meta Field from CPT as Post permalink
- How to add a default predefined thumbnail when creating a brand new post?
- Pagination not working in custom post type. Help
- Attaching more than 1 parent (Post) to a media file
- How to get current post type?
- How to convert Post Object Custom Field into Tags
- Custom meta fields not showing up in WP_Response Object via custom endpoint
- How to get post by meta value
- Get meta values from parent post and save in child post
- How do I get all authors posts of a custom post type outside loop
- Create dynamic logo carousel without using any plugin
- fusion builder missing from custom post editor
- Custom post type meta fields missing on save_post_type
- Order posts by meta value hiding posts instead of re-ordering
- Duplicate posts in my custom loop
- custom search results – order results differently by post type
- How to get post meta for custom post type and taxonomy
- get_post_meta for Custom Post Type ( CPT )
- Featured image in custom post is being disabled
- call_user_func_array() error after moving to another server
- Complex strcuture as CPT or taxonomy for use in woocommerce product variations [closed]
- Return only custom post types for the page, not all
- I want to split this into two functions
- Generate daily archive whenever any post type is added
- Random meta field from specific custom post type
- Custom post type functions.php if statement on action
- Add HTML before a specific div?
- Custom Form Data save after Login User
- How to use wp_set_object_terms depending on page ID?