Support » Plugins » [Plugin: Cleaner Gallery] Use Outside Of WordPress Theme

  • Resolved johnnyrokkit


    Hello! Thanks in advance for your help.

    I have a site that I am building using WordPress as a CMS. Due to an unconventional approach to page loading, I was unable to get the site to behave as a WordPress theme.

    However, by including “wp-load.php” in my file I’ve been able to query and build pages using WordPress content while keeping the custom functionality.

    // Include WordPress
    define('WP_USE_THEMES', false);
    require('path to/wp-load.php');

    The challenge remaining is that galleries don’t load properly, and I’m assuming any other content included in WP posts by use of a plugin will have the same problem. Is there a way to enable the use of WP plugins outside of a WP theme and outside of the WP directory?

    I am currently using Cleaner Gallery, and I imagine I’ll be using Shadowbox and some other plugin for videos.

    A working test gallery in WordPress is here:
    That gallery as it appears in the site: (select page “2” from the temporary nav at top-left)

    Any help is appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Cleaner Gallery] Use Outside Of WordPress Theme’ is closed to new replies.