using Featured Content Gallery in non WP part of my site
-
Hi,
I have featured content gallery plugin set up on my blog portion of my website, and I am wondering if someone could tell me how I could pull in just the featured content gallery in a PHP page without the rest of the WP header data. I have WP installed on a separate section of my site (/blog), and I want to be able to use the featured content gallery on my homepage. So I am wondering if anyone could tell me what the bare bone php code would be to call up the FCG (I already have set up a javascript to load the PHP file into the homepage area of mywebsite, I just need to figure out how to within the PHP file, call just the featured content gallery without the entire WP site coming with it)
The code to load the FCG from within any wordpress page, is below.
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
Any help would be greatly appreciated!
- The topic ‘using Featured Content Gallery in non WP part of my site’ is closed to new replies.