rossh4ck
Member
Posted 11 months ago #
W3 cache is on and working for posts with CDN path correctly being replaced. (using memcached and S3)
However, I have a theme that creates custom pages.
It's not recognizing these custom pages.
Here's a path example of a custom template page used...
public_html/wp-content/themes/(theme)/subfolder/templates/template_folder/template_folder.php
which would then be accessed from http://www.domain/sp/wp-title
I don't get anything at all in the source indicating it's even recognized.
Ideas?
If you're not using the native WordPress conventions W3TC will support those templates.
rossh4ck
Member
Posted 11 months ago #
It's using a custom field selected from a metabox to pull the template, not the regular folder, but the templates are using all the other functionality of WordPress correctly. So I'm a bit puzzled.
Any ideas how w3 recognizes pages as part of WP ? Maybe I can add it somewhere into our templates.
rossh4ck
Member
Posted 11 months ago #
Ok, found it. It was a quick fix.
My template file had a functions include where the head (doctype and meta->content-type ) was located. I moved just that part as the first output of the template page and it works.