/views Template Files Very Different to Core Plugin
-
I’ve found that the templates in the /views folder display significantly differently to the core plugin.
I wanted to make some changes to the template, so followed the instructions and copied single-wpfc_sermon.php into the root folder of my theme. However the whole layout of the page changed. The container was no longer centered on the screen, and the sidebar ended up below the content.
While investigating I noticed the option to turn on “Enable template files found in the /views folder”. I removed the template file from my theme and turned this option on to test it and the same broken layout occurred.
I like the theory of being able to copy the /views template file into our own theme to customise the look of the page … but I was expecting it to look just the same except for the changes I wanted to make. But instead I spent a couple of hours working out what was going wrong and making adjustments to get the template from the /views folder displaying the same as the core plugin.
Is this expected behaviour?
Because the option is there, it sounds like the /views templates are used to backwards integration with older versions. But could additional templates be provided that match the core of the plugin? That would make modifying layouts a lot easier.
Or did I miss something?
thanks.
- The topic ‘/views Template Files Very Different to Core Plugin’ is closed to new replies.