function vkExUnit_package_include() { global $vkExUnit_packages; if (!count($vkExUnit_packages) || !is_array($vkExUnit_packages)) { return $output; } $options = vkExUnit_get_common_options(); $include_base = vkExUnit_get_directory() . '/plugins/'; foreach ($vkExUnit_packages as $package) { if ($package['include'] and (isset($options['active_' . $package['name']]) and $options['active_' . $package['name']] or !isset($options['active_' . $package['name']]) and $package['default'])) { require_once $include_base . $package['include']; } } }
function vkExUnit_uninstall_function() { include vkExUnit_get_directory('/uninstaller.php'); }
<?php /** * VkExUnit call_to_action.php * Set CTA section to after content of Page. * * @package VkExUnit * @author shoji imamura<*****@*****.**> * @since 3/Aug/2015 */ require_once vkExUnit_get_directory() . '/plugins/call_to_action/class.call_to_action.php'; vExUnit_call_responce::instance();
?> "; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <?php //endif; } $vkExUnit_sns_options = vkExUnit_get_sns_options(); require vkExUnit_get_directory() . '/plugins/sns/function_fbPagePlugin.php'; if ($vkExUnit_sns_options['enableOGTags'] == true) { require vkExUnit_get_directory() . '/plugins/sns/function_og.php'; } if ($vkExUnit_sns_options['enableSnsBtns'] == true) { require vkExUnit_get_directory() . '/plugins/sns/function_snsBtns.php'; } if ($vkExUnit_sns_options['enableTwitterCardTags'] == true) { require vkExUnit_get_directory() . '/plugins/sns/function_twitterCard.php'; } if ($vkExUnit_sns_options['enableFollowMe'] == true) { require vkExUnit_get_directory() . '/plugins/sns/function_follow.php'; } require vkExUnit_get_directory() . '/plugins/sns/function_meta_box.php'; /*-------------------------------------------*/ /* Add setting page /*-------------------------------------------*/ function vkExUnit_add_sns_options_page() { require dirname(__FILE__) . '/sns_admin.php'; ?> <?php }
public function biz_vektor_css_customize_render_page() { $data = $this->biz_vektor_css_customize_valid_form(); include vkExUnit_get_directory() . '/plugins/css_customize/css_customize-edit.php'; }
<?php require vkExUnit_get_directory() . '/plugins/other_widget/widget-new-posts.php'; require vkExUnit_get_directory() . '/plugins/other_widget/widget-profile.php'; require vkExUnit_get_directory() . '/plugins/other_widget/widget-3pr-area.php'; require vkExUnit_get_directory() . '/plugins/other_widget/widget-page.php'; require vkExUnit_get_directory() . '/plugins/other_widget/widget-taxonomies.php'; require vkExUnit_get_directory() . '/plugins/other_widget/widget-archives.php'; require vkExUnit_get_directory() . '/plugins/other_widget/widget-pr-blocks.php'; // require vkExUnit_get_directory() . '/plugins/other_widget/widget-child-page-list.php'; add_filter('getarchives_where', 'vkExUnit_info_getarchives_where', 10, 2); function vkExUnit_info_getarchives_where($where, $r) { global $my_archives_post_type; if (isset($r['post_type'])) { $my_archives_post_type = $r['post_type']; $where = str_replace('\'post\'', '\'' . $r['post_type'] . '\'', $where); } else { $my_archives_post_type = ''; } return $where; } add_filter('get_archives_link', 'vkExUnit_info_get_archives_link'); function vkExUnit_info_get_archives_link($link_html) { global $my_archives_post_type; if ($my_archives_post_type != '') { $add_link = '?post_type=' . $my_archives_post_type; $link_html = preg_replace("/href=\\'(.+)\\'/", "href='\$1" . $add_link . "'", $link_html); } return $link_html;
public function render_configPage() { $options = self::get_option(); $ctas = self::get_ctas(true, ' - '); array_unshift($ctas, array('key' => 0, 'label' => __('Disable display', 'vkExUnit'))); include vkExUnit_get_directory() . '/plugins/call_to_action/view.adminsetting.php'; }