The problem was that I didn’t have a single.php file. When I added this and then added the single-medewerkers.php file it works perfectly. Thanks anyway!
Related Posts:
- Post/Page Preview Template
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- Display page content AFTER a loop of posts
- Using custom post template
- custom post template file not shown, instead all the time 404.php
- Tell WP to use a specific template file in posts
- Create a custom posts page
- add_rewrite_rule and template redirect not working
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Adding The Post Template Dropdown to WP-Admin
- custom post type single page template not working
- How to display by default only published posts/pages in the admin area?
- Find out who deleted a page or post?
- using wp_update_post on save_post
- Replace image attributes for lazyload plugin (data-src)
- WordPress plugin to publish to multiple remote WordPress blogs
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- My ‘post attributes’ is missing from my WordPress install
- How to display comments and comment form on custom post type?
- posts page – different lengths of excerpt
- Forcing oembeds to top of post
- How to wrap every image in a post with a div?
- Show One Category on Post
- WordPress Delete hook with wp_delete_post function?
- Custom post type single (permalink) throws a 404 error
- Order post by year DESC and month ASC
- custom single.php not working
- Do I use custom post type or something else?
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- Delete Post From Front-End and attachment permanently
- Custom post type permalinks breaking due to 3.1 bug fix
- ‘Invalid post type’ error when importing from one site to another
- Blogroll – Different layout for first post
- How to delete old posts’ edits to save space?
- Get post id in wordpress action?
- Category Template: Need to display different content on first page of archives
- How to include a post type in the admin/backend?
- How to make number of blog posts a custom field?
- WordPress blog or WordPress website
- Hiding Draft Post In Admin
- Adding custom fields to bbpress reply form
- Making a custom Pagination for multi page blog post
- Switch to page template when using post permalink
- Genesis + Ajax + Jquery | Failling to call action
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- Thumbnail & Category link aside post
- How to create a template for Pages?
- Is it possible to customize the post according to post format in single.php?
- Is there a way to create a meta box that can be added multiple times to a post dynamically?
- WordPress custom post type with folder structure in slug
- wordpress posts template remove default template from menu
- How to add automatically bootstrap 4 order-lg-1 and order-lg-2 classes for columns in foreach loop based on the count?
- Show custom post with custom categories with specific slug
- Display the 2nd category name of a custom post type without error if its null?
- How to call posts under a specific category on static front page?
- Querying another post category to match current post and display in loop
- Give posts a particular template based on the assigned category
- How to set a certain Custom Template to a Single Blog Post
- Optimize CPT-function with a loop
- Sidebar on single.php not showing up
- Add post tags to previously created custom post type
- How to Featured content with images in home page?
- Simple Custom Metabox Not Saving
- How to display only one category in a custom post type?
- Custom Post Type Single Loop Outputting Wrong Post
- WordPress Post Deletion Issue
- How Can I Always Display A Particular Post First Using WP_Query?
- MySQL: Possible to replace all of wp_posts.post_content(id#) via UPDATE + REPLACE + SELECT?
- Turn off display for custom sidebar post widget when on the post it’s displaying
- How to allow WordPress to recognize a custom URL segment after a product URL and use a custom template?
- How to bulk Update URLs to new values?
- How to put the author of the post in the comments?
- How to add a custom class attribute into code wrapper? [duplicate]
- Redirecting wordpress search query to archive page
- Include Recent Post in Category
- Pagination Not Working With Custom Post Type Category
- Hide or remove custom post status
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Show custom post category for single post
- How can change header text in post careate/edit form
- How to get meta data from custom category name
- Use special template for the first post in the loop
- Show Posts By Custom Field
- Custom Post Type doesn’t use single.php or single-{custom_post_type}.php
- How to retrieve custom field values and save again as array
- How to change post template via url?
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Customize search results to include custom posts and display in a specific template page
- Custom permalink based on custom post type fields
- Checking if some condition is matched before inserting post into database
- How to only allow post to be deleted if custom field doesn’t exist
- how to style an individual page in a category [duplicate]
- adding custom meta as well as looping through posts
- Redirecting posts in WordPress to a specific page
- How remove “recent comments” title without modifying code? [closed]
- Tag page that displays specific posts
- How edit footer copyright info? [closed]
- How do I get content of custom post type through post ID
- WordPress Custom Post type csv exporter
- Edit Page button is gone