Your argument for is_singular()
is wrong
It should be an array
is_singular(array('post','movie'))
You can read more about the argument passed from this link here
Related Posts:
- Load custom posts with same tag as page
- Categories and Tags not working!
- Search doesn’t find tags or categories in custom post types
- Custom Taxonomy – Tags Metabox is showing instead of Categories
- Group posts by custom post type
- Custom post type getting wrong categories and tags
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- Cross reference custom post types
- How can I show 1 featured post in a styled element, and the next few below differently styled
- List Taxonomies: Don’t list taxonomy if it has no post – depending on custom post-meta?
- Tag page only display 10 posts
- Archieve.php not loading for custom post type
- Why does my taxonomy have a category style div id?
- Need help deciding on a taxonomy
- Get Posts by Category, Tag , and CPT Taxonomy
- The Difference Between Categories and Tags and Taxonomies and Terms
- Custom post type, taxonomy and admin bar
- Advanced archive url structure (category, tag and date)
- Save data is post using php front end
- get taxonomies from terms
- How to set “section categories”?
- Get meta values from parent post and save in child post
- Do not output category and tag URLs
- Organizing The Custom Post Type with Taxonomies / Parent Posts
- Custom Post Type – Admin Columns
- Can WordPress show posts based on a button that the user clicked 2 pages back?
- Get posts between custom dates
- Categories sorting
- How can I make my custom posts appear in their assigned category url?
- How to call in Custom Post-Type Categories?
- Allow user to set custom order to a list of custom taxonomies?
- get_category_parents for custom post type taxonomy
- How to implement a Google map store locator
- Separate custom categories from default category
- search also in taxonomy, tags and custom fields
- forming WP_Query for posts of all post types but from specific categories
- wp_list_categories() – current-cat class also inside posts?
- Showing posts from different categories and from custom post type
- Deleting Custom Posts & Meta Data on Uninstall
- Widget: Custom Post Type Post Listing Dropdown on Admin Side
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Listing tags from a custom post type
- Show a Category X’s custom post type on Category X archive page?
- Post image in WordPress not appearing on home page
- How do I create an archive page as a including metadata?
- wp_update_term_count_now doesn’t work with a custom post type?
- Add tag to a custom post type doesn’t change the total of custom post type in backend
- Custom Tag Description unable to display just below and outside of the Loop
- PHP variable not regenerating when publishing multiple posts at the same time
- changing meta value and meta key of price field
- Posting to a Custom Post Type from front end – user generated content
- Multiple level category drop-down from the WordPress dashboard
- Update Post Meta for a logged in user
- Getting meta in editor plugin, and event triggering issue
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- How to duplicate entire custom post type
- Add custom post type settings to wordress default posts
- A better way to add a meta box to custom post types
- Restrict Access to Posts based on Custom User and Post Meta Data
- Hide parent categories when clicked, and show it’s childs
- Two Custom Post Types Many to Many Relationship
- Limit amount of posts made within a custom taxonomy
- Problem with displaying posts in the CPT category
- get_post_meta not working on publishing
- Filter CPT posts by one or more categories
- Getting categories of posts under a custom taxonomy
- Should wp_postmeta meta_key always be unique for a given post_id?
- Custom Post Types with a common category for a blog listing
- how can I register a post_meta field in an existing CPT and then call it again with get_post_custom()?
- get_post_meta returning no value in custom post type alert email
- Can’t remove front from permalinks for custom taxonomy category page
- How to get categories linked in posts for a specific post type
- Custom post type, organized by categories
- post meta parameter in post custom-post-type endpoint with restapi
- How do I set all of a particular post meta to a value within the custom post type I’m in?
- Remove CPT name from permalink but add %category% instead
- Set a checkmark in a category based on a URL-parameter
- Update postmeta Parent when post_status child change
- WP Query with categories only shows one post and ignores the category
- Metabox not show in categories custom post type cmb2
- WordPress request fiter order by related post’s post_title
- Adding custom post type to count in category
- How to edit this code to get the categories in achieve page?
- Category with post type pagination returns 404
- Custom Post Type and Category Base Rewrite Issue
- Get the category from custom post type
- Post injections into Site Origins Page builder [closed]
- Custom Post Type + Categories
- How to create a gallery page with categories?
- Custom Post Slug same as Parents Category Slug
- WordPress posts page for customer filtering and sorting along with category filter
- I am having Trouble to get list of Categories of Custom post Type
- Hierarchy and access control for Custom Post Types (CPT)
- Multiple (two) category postings on the same page.
- Update database from Quick Edit according to Checkbox state of Custom Post Type
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Loop filtering Custom Post Types and/or Categories
- School & class blogs: Categorize with categories or custom posts?
- Custom post type and category link together