• Resolved Joe Greenwood

    (@jgreenwood)


    Hi, thanks Donncha for the plugin. (again!:)

    My situation here is, after enabling WP Super Cache, my custom templates for my custom posts no longer show the page — instead it is a blank white screen. When I ‘Preview’, I see the page okay … but when trying to view the actual published page, it is blank white screen.

    I have a hunch it has something to do with PHP not being executed … and perhaps I need to employ the dynamic-cached-content or mfunc techniques you mention in the plugin FAQ … but honestly I am confused by those at first glance … perhaps I’ll have to meditate on that a while to figure it out. At the very least, perhaps you can indicate if that is indeed what I will need to try?

    Here is a page that has this issue: https://tinyurl.com/6losk98 … it is a WordPress Page that uses a Custom Template .. in the template is PHP code to call up some Custom Post Types in a list. (If posting some code from the template helps, I can do that of course)

    I have other custom templates that do similar things but they render okay … maybe because those don’t use custom post types, or some other factor .. maybe I will find more clues as I continue to dig.

    Many thanks for any light you can shed here!
    Joe

    https://www.ads-software.com/extend/plugins/wp-super-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Joe Greenwood

    (@jgreenwood)

    You know what, all I have to do is make use of the ‘reject URI’ feature … my custom posts have the string ‘/classifieds/’ …. uffda, I tried to make it complicated! ??

    Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it’s enough to specify the year, i.e. ’/2004/’. WP-Cache will search if that string is part of the URI and if so, it will not cache that page.

    Okay Donncha it took me a while to figure your plugin out but I’ve finally got it working and have used it extensively enough to now be able to give it 5 STARS! Very good, and thank you very much –Joe

    Glad you got it working Joe, sorry I didn’t reply. I’ve hardly used custom templates!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Super Cache and Custom Templates’ is closed to new replies.