-
AuthorPosts
-
March 11, 2014 at 2:20 am #235096
Hi,
I’m having a problem where if I create a new blog post (call it post1) I can see it on my blog if I’m logged in, but if I log out I can’t see it. For future flexibility we set it up running a child theme. If I switch the theme back to the parent Enfold theme the post appears for the public (but I loose all my site customisations). If I switch back to the child theme it remains viewable for both the public and me when logged in.
If I create another post (call it post2) and delete post1, if I’m logged in I can correctly see post2 and post1 is gone. If I log out and view my blog I see post1 and not post2, its like nothing has changed. If I switch my theme back to the parent Enfold theme I can now see post2 and post1 is gone.
So basically at the moment if I want to make a post viewable to the public I have to switch my themes back and forward between child & parent to get any of the updates visible. Any ideas? I’ve checked things like clear the browser cache and tried deactivating WP Super Cache but this does nothing. My child theme only consists of a basically customised style.css.
Thanks,
bw
March 12, 2014 at 9:30 am #236181Hi isa_sss!
Please create us an admin account and post the login credentials as private reply. I’ll check the settings and hopefully we’ll find the cause.
Regards,
PeterMarch 12, 2014 at 9:37 am #236188This reply has been marked as private.March 13, 2014 at 5:58 am #236700Hi Ben!
You forgot the URL of your website.
Cheers!
JosueMarch 13, 2014 at 5:59 am #236701This reply has been marked as private.March 14, 2014 at 8:44 am #237449Hey!
I’m not sure about it but maybe the old WordPress version cause the issue. Please try to update to WordPress 3.8.1. If you deactivate the WP SuperCache (to test if it’s a cache issue) don’t forget to set the WP_CACHE constant in wp-config.php from TRUE to FALSE. Otherwise the cache is still active.
Cheers!
PeterMarch 17, 2014 at 1:08 am #238433Hi,
I tried the cache setting in wp-config.php…thanks for that tip….but nothing changed. It’s been doing this for multiple versions of WordPress but I’ll try 3.8.1.
Thanks,
Ben
March 17, 2014 at 1:30 am #238440Hi,
I updated to 3.8.1 but no change.
I switched off the caching but no change.
Now I’ve turned off the child theme and I’m now just using the standard Enfold theme. Now when I add a new post they also don’t show for the public. I’ve added two new posts but only I can see them when I’m logged in.
Thanks,
Ben
March 17, 2014 at 8:36 am #238524Hi!
I did some tests and it must be related to some sort of cache. I’m not sure if it’s WP-Super Cache or a server side cache script but it seems like the post queries are cached for users who are not logged in and as soon as you switch the theme (i.e. to TwentyThirteen) or deactivate plugins the server clears the cache and rebuilds the blog. I can reproduce this issue with all themes though – i.e. the post will also not appear if you create it with TwentyThirteen. You first need to switch to Enfold and then it will suddenly pop up.
Regards,
PeterMarch 17, 2014 at 10:17 am #238589Thanks for checking it out. This site is hosted with hostgator (not by my choice, clients choice) have you heard of them doing something funky like this?
March 17, 2014 at 10:26 am #238593Hi!
I never hosted a website with Hostgator but afaik it’s a popular low budget host and many Kriesi theme users use their service without issues. However I’m not sure which settings and server configurations are possible and maybe you’re the first one with a particular server configuration which causes the issue. I recommend to contact the hostgator support staff – maybe they can provide some useful information.
Best regards,
PeterMarch 19, 2014 at 12:00 pm #240015Hi All,
Just for the lists benefit I finally figured it out after talking with ISP support.
It was WP Super Cache! Despite clicking the Delete Cache button numerous times, deactivating the WP Super Cache plugin and setting the WP_CACHE constant in wp-config.php from TRUE to FALSE (as Peter suggested) it seems WordPress will still use cache files that were created via the plugin. The ISP manually deleted the cache files and it started to work, tested it over and over and can’t fault it!
Regards,
Benjamin
-
AuthorPosts
- The topic ‘Changes to blog posts not showing to public when use child theme’ is closed to new replies.