I'm trying to add just a wordpress plug-in widget to a page. No blog, no template or anything, just the widget. I can get the widget to load properly, but it's pulling in a bunch of styles that are over-riding my current CSS. Is there an easy way do this without having to create a custom page?
<?
require( '../blog/wp-load.php' );
get_header();
?>
..//..
<?
do_shortcode('[my shortcode]');
?>
I tried removing the get_header()
, but the widget won't pull any data. Is there a way to just get the Wordpress functionality running right?
Glad it worked for you. Find the js and css requirements of the widget and add it to the page manually. This will remove the requirement for the get_header() function.