• Resolved Callum

    (@aic_technologies)


    [ Moved to the Fixing WordPress sub-forum. ]

    Hi,

    Wondering if anyone could provide any tips/help for the following problem.

    I have a site where already published and new pages are displayed as intended. But old and new posts are not shown all beyond the site’s header and footer.

    The latest posts page displays as intended. While the site’s current theme has a tours feature, where the same display issue is occurring beyond the latest tours page. This makes me think it must be a WordPress related issue?

    I get no visible errors on the posts themselves nor do I get any errors when I inspect via google dev tools.

    Any help would be really appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello Callum,

    Have you tried temporarily tried switching to one of the default WordPress themes to see if you’re still getting the issue. If you are then something is wrong with the core files. If not then the theme you’re using is to blame.

    Let us know your results and we’ll see if we can help further.

    ~ Steven

    Thread Starter Callum

    (@aic_technologies)

    Hi Steve,

    Tried switching the theme, not sure why I didn’t think of that. That fixed the issue.

    Any idea what the issue might be then? Heres a link to a post that displayed as intended when the theme was switched – https://goo.gl/rpjLUt

    Developer of the theme cut support for the theme. I’m thinking at this point that it must be a compatibility issue with a version update of WordPress?

    Appreciate you replying to my message btw.

    – Callum.

    You’re right, there’s nothing output from the single post php file at all, not even basic HTML. When was the last time you updated and from what version to what?

    Looking at your source you’re using something called ‘Base Theme’ which isn’t a real theme name. Is the theme still available somewhere on the internet? It’s difficult to debug something when I can’t see the actual code. However, yes, they might have something in the file that’s been depreciated, although I would have thought it’d show an error or two.

    ~ Steven

    Thread Starter Callum

    (@aic_technologies)

    Hi Steve,

    The theme being used is called Trek by PixelGrapes, I originally had it on the original version from when the site was build a year or so ago – 1.9.9. But I updated it today to 2.1. It didn’t resolve the issue.

    The dev who cut support at some point the last couple of months was kind enough to share the last updated version below with me – the 2.1 I updated to.

    https://cloud.pixelgrapes.com/1i3A0K1h2G0V

    There doesn’t appear to be a changelog anywhere.

    Interestingly the blog posts display as intended when viewed from within WordPress’s live customize feature. Just not on the live site.

    Callum.

    Thank you for providing the theme files. I think I’ve found something..

    I loaded up the theme in a local version to test and came up with the same results as you where no posts were showing. At the top of both single.php and single-tour.php they have this snippet:

    <?php $sidebar_value = 'sidebar-right'; $sidebar_value  = get_theme_mod('sidebar_selection'); ?>
    <?php	if ($sidebar_value == 'sidebar-right') {

    In the admin, under ‘Appearance’ -> ‘Customise’ -> ‘Sidebar’ select ‘Sidebar on Right’ then save. After I refreshed the page outside of the customiser the content loaded!

    Give that a try and see if it has any effect.

    ~ Steven

    Thread Starter Callum

    (@aic_technologies)

    Hi Steve,

    That worked for me also.

    Thank you genuinely for you help, really appreciate it.

    – Callum.

    You’re most welcome Callum, glad I could help!

    ~ Steven

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Posts not showing – pages do’ is closed to new replies.