Child files not over-writing theme files.
-
I am using the ‘neve’ theme and there is a file in the following path structure that I need to change.
/wp-content/themes/neve/inc/views/pluggable/pagination.php
I tried to set up the exact same structure in the child theme but that didnt work, so I thought I would add the exact function to the child theme functions.php with the same function name but with my changes inside, and that didnt work either, so Im not sure how I can do this.
This is the function –
function render_post_navigation() {
// my changes to overwrite that same function in /pagination.php
}I have other similar files that I need to work with, and would need to be able to do the same thing.
One being – /wp-content/themes/neve/inc/views/partials/post-meta.phpIs there anyway I can make this work with those files that are not wordpress template files.
The page I need help with: [log in to see the link]
- The topic ‘Child files not over-writing theme files.’ is closed to new replies.