Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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

    #236181

    Hi 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,
    Peter

    #236188
    This reply has been marked as private.
    #236700

    Hi Ben!

    You forgot the URL of your website.

    Cheers!
    Josue

    #236701
    This reply has been marked as private.
    #237449

    Hey!

    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!
    Peter

    #238433

    Hi,

    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

    #238440

    Hi,

    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

    #238524

    Hi!

    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,
    Peter

    #238589

    Thanks 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?

    #238593

    Hi!

    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,
    Peter

    #240015

    Hi 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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Changes to blog posts not showing to public when use child theme’ is closed to new replies.