• Resolved rossh4ck

    (@rossh4ck)


    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 https://www.domain/sp/wp-title

    I don’t get anything at all in the source indicating it’s even recognized.

    Ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you’re not using the native WordPress conventions W3TC will support those templates.

    Thread Starter rossh4ck

    (@rossh4ck)

    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.

    Thread Starter rossh4ck

    (@rossh4ck)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[w3 total cache] custom theme pages not recognized’ is closed to new replies.