What you’re looking for is get_stylesheet_directory().
get_template_part( get_stylesheet_directory() . '/modules/content/bevestiging.php');
This gives you the file path for the current theme.
Related Posts:
- Is there any way to use get_template_part() with folders?
- Passing variables to template parts
- Is it possible to override the result of get_template_part()?
- Get template part vs locate template function
- passing argument to get_template_part() or a better way to code
- Templates & CSS – Proper Programming Practice?
- TwentyTen: Overloading template.php files vs. get_template_part
- How to include template according to meta post value
- Using Includes in Templates in Document Head
- How to move style from template file to section?
- Unable to include a template
- Where is the template for the ‘standard’ format of a post in the theme twentythirteen?
- Valid HTML in Template Part
- Remove portion of header code from home page only
- Use a separate template for the home page only
- How to create new template page and template-parts in wordpress theme [closed]
- Including template pages within another template?
- Organize template parts and page templates in folders in regards of template hierarchy
- How to get all template files used for rendering a single post/page?
- Display a custom 404 page without a redirect
- How to add variables to a template
- How can I show contents of a template part inside of another page?
- Using require_once for parent-directory not working but is working in sub-directories
- When to use content-pagename.php?
- Is it possible to call a template file inside wysiwyg editor? And how?
- WordPress “Blog” template hierarchy
- Passing variables through locate_template
- How can i change email template for new user
- Any advantage to using get_header() over include(‘header.php’)?
- Enable page templates. How?
- Should we use get_template_part() in functions files instead of include_once?
- Prevent comments_template() to load comments.php
- Page editor missing Templates drop down
- How to check if a shortcode exists?
- Custom templates folder
- How to Rename a Template File?
- get page templates
- Get the php template file from other theme folder
- How to assign a class to a page with a custom template?
- Proper Javascript Implementation
- Guest author’s post not display in author template
- How to apply a custom template for posts by default?
- Get templated page/post content via the WordPress API
- Force all images to full size in page template
- Login WordPress website using wp-rest api
- Global variable set in the template’s header.php is unable to echo in footer.php
- Is there a way to check which template file is being loaded, if it is not a page template file?
- When a link doesn’t exist, how to tell WordPress what to do? (404 Error Page)
- How to remove wp_link_pages() from template
- How can I get WP to use templates in lower-level subfolder?
- how to make a home page for wordpress custom theme
- Generate Catalog Of Posts Based On Template
- Extending body classes in front- and backend
- How do I find the directory of a page template?
- Is there a way to set different post templates for parent posts and child posts in the same post type?
- Why write markup for index.php?
- Rewrite Rules to custom template
- Having trouble with Template hierarchy. I Need to create a set of pages that drill down from states to specific locations
- How can I hardcode template selection?
- Use of Templates in a Plugin
- Changing layout programmatically
- How to identify which template WordPress’s default search-form retrieves in my theme
- How to use same page template if post status other than ‘publish’?
- Override Dokan Includes File in Child Theme
- How to get link to homepage
- How is WooCommerce cart.php template supposed to be used?
- Two exact templates, sidebar showing in one but not the other
- Taxonomy term page going to 404
- How can I use default CPT templates from sub-folder?
- How to set page title tag in custom template for non-Custom Post Type?
- Page header on specific page is different from the rest [closed]
- Can a link in WordPress contain a query string that is picked up as $_POST
- Is it possible to access plugin data from a custom feed template?
- How can I get all archive-URLs to use the same template?
- How to use a template file to show all post having same metakey
- Automate configuration after new/hosted installation
- Modify just ONE page based on a template
- which template does wp_ tag_ cloud point to?
- Pagination problem (plugin wp-pagenavi) with a custom post type?
- On click some element i want to use some template
- Add an anchor link to a ‘plain’ HTML file, without over-writing the entire site?
- Load templates, pass arguments, and render output from functions.php
- Template part including not working
- Parent/Child themes – both CSS files loaded
- Child theme enqueueing style.min.css not style.css
- Exclude certain template from wp_list_pages
- Why wordpress custom template comments shows Undefined index?
- Update body class based on theme as well as a html attribute
- Is it possible to set a custom post type template with code?
- Fix for Chart.js removing Admin Bar
- Why is this array not working?
- Single Post Templates Doubt
- strange behaviour of template_redirect in IE8
- How do i load a different template for different users screen width
- MailPress plugin: table inline style tag removed when sending the newsletter
- Custom Archive with Content for Custom Post Type
- Implement HEAD and TITLE tags with DB DATA
- Custom Post Type Trouble
- Unload templates; disable parent Template Parts using only “theme.json”
- get_template_parts() usage