wordpress access widgets or plugins outside of admin and with php -
is there way access plugins outside of admin panel? meaning rather putting them in sidebar , "activating" in admin panel can't call script include file? think possible how know how activate it? example:
<?php include('wordpress/wp-content/plugins/blog-post-calendar-widget/wp-calendar.php'); ?> this links calendar should display posts. not. wordpress working declared correctly not getting calendar way.
below file including. question what function call init calendar?
here link file including can see php: click here
my guess widget function looks takes args , instance wordpress, have populate variables right information wordpress (title etc). looks need call wp_cal_active either before or after widgit function.
Comments
Post a Comment