Forum Replies Created

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

    (@chrisbup)

    Sorry, I should have mentioned in my post that I have re-saved the permalinks page but clicking on a permalink from an Edit Post screen in WP admin is still not loading content: https://accountability-framework.org/core-principles/2-respect-for-human-rights/

    The page is loading though so maybe the permalinks are working but there’s something going wrong with the post type? A plugin conflict sounds like a reasonable culprit too. We are using WPML for translations as well as Advanced Custom Fields among others but deactivating any of those breaks the site so it’s hard to know for sure and we can’t get rid of them anyway.

    Thread Starter Chris

    (@chrisbup)

    Yeah, I’ve been told that for custom themes, it’s good practice to include plugins in the lib directory so that theme is self-contained, with any dependent plugins specified. For example, we also have this line in libraries.php: require_once('lib/acf.php'); and corresponding acf directory and acf.php file there as well.

    I already have Gutenberg installed as described above. This is just the company’s way of doing it and I’m trying to understand this use of libraries.php myself. We’re using the Sage WordPress starter theme.

    • This reply was modified 7 years, 2 months ago by Chris.
Viewing 2 replies - 1 through 2 (of 2 total)