[Plugin: Cleaner Gallery] Use Outside Of WordPress Theme
-
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.
<?php // 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: https://u.nu/2xykd
That gallery as it appears in the site: https://u.nu/2czkd (select page “2” from the temporary nav at top-left)Any help is appreciated!
John
- The topic ‘[Plugin: Cleaner Gallery] Use Outside Of WordPress Theme’ is closed to new replies.