• Resolved SoN9ne

    (@son9ne)


    I am playing with Origin Push and I am trying to get my theme files to be served from the CDN. I am using AWS so I already have S3 and CloudFront setup.

    When I enable Host theme files, I would expect this to be aware of a parent relationship and upload the parent theme too. Unfortunately, this is not the case. It only uploads the current theme (not the parent).

    So I thought a nice work-a-round would be to add the parent theme to the custom files list. I tried including the parent theme by adding:

    {wp_content_dir}/themes/node/*.js
    {wp_content_dir}/themes/node/*.css
    {wp_content_dir}/themes/node/*.css.map
    {wp_content_dir}/themes/node/*.gif
    {wp_content_dir}/themes/node/*.jpg
    {wp_content_dir}/themes/node/*.png

    To the custom list… Well, that won’t work because it seems to ignore any theme locations.

    So it would appear that parent themes are not supported? For now, I had to disable theme files because this breaks the entire site…

    • This topic was modified 6 years, 2 months ago by SoN9ne.
    • This topic was modified 6 years, 2 months ago by SoN9ne.
    • This topic was modified 6 years, 2 months ago by SoN9ne.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @son9ne,

    There is a possibility that some settings are causing a conflict. Can you please share w3tc-config/master.php so we can check the settings?

    Thread Starter SoN9ne

    (@son9ne)

    Thanks for looking into this. I have my w3tc-config/master.php here: https://gist.github.com/jpSimkins/4ec2105875d0ddba36ecabf7db607c8a

    I removed my domain and my CloudFront Key/Secret.

    I do not have much caching enabled right now as I am still testing W3TC. For now, I am just testing the CDN and Origin Push parts of the system. Not sure if that information is helpful.

    Thanks

    Plugin Contributor gidomanders

    (@gidomanders)

    Hello @son9ne,

    I used your settings, changed the Custom file list: to only list the parent theme files and clicked save settings. Then I got the message as you see in this screenshot:
    https://ibb.co/fcjgP9

    I clicked the custom files button and as you can see in this screenshot:
    https://ibb.co/kyMxWp
    It can find files in the parent theme. So the parent theme is not ignored.

    Maybe we can help you better if you go to Performance => Support and choose plugin configuration.

    Thread Starter SoN9ne

    (@son9ne)

    I appreciate you looking into this. I am still not sure if I need to pay for support on this… I may just ignore this issue for now.

    I can confirm that replacing custom files with just the parent theme:

    {wp_content_dir}/themes/node/*.js
    {wp_content_dir}/themes/node/*.css
    {wp_content_dir}/themes/node/*.css.map
    {wp_content_dir}/themes/node/*.gif
    {wp_content_dir}/themes/node/*.jpg
    {wp_content_dir}/themes/node/*.png

    has given me 0 items when I click on upload custom files.

    I guess the real issue I have is why is this not included with the theme files? Why am I having to add this to the custom files?

    I don’t see any reason why this warrants a paid support tier. I consider this a bug and nothing I am paying to fix.

    Thanks again for your time.

    • This reply was modified 6 years, 2 months ago by SoN9ne.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot ORIGIN PUSH Parent theme files?’ is closed to new replies.