コード例 #1
0
        /**
         * Register Page 
         */
        public function mb_register_plugin_page()
        {
            ?>
            <div class="mb-options-panel">
                <div class="mb-header">
                    <div class="mb-logo"><img src="<?php 
            echo Wp_Mega_Bundle::plugin_url() . '/core/assets/images/logo.png';
            ?>
" alt="" /></div>
                    <div class="mb-actions">
                        <div class="option-action">
                            <a href="#" target="_blank" id="mb_link" class="button-primary"><?php 
            _e('Live Demo', 'social_mb');
            ?>
</a>
                            <input type="button" id="mb_save" name="submit_btn" class="button-primary" value="Save Settings">
                        </div>
                    </div>
                </div>
                <div class="mb-options-inner">
                    <div class="mb-nav-panel"><?php 
            $this->mb_module_pagination();
            ?>
</div>
                    <form id="mb-save-options" method="post">
                        <div class="mb-panel-contents"  style="display:block">
                            <?php 
            $this->mb_module_contents();
            ?>
                        </div>
                    </form>
                </div>
            </div>

            <?php 
        }
コード例 #2
0
ファイル: init.php プロジェクト: aamirs332/WP-Mega-Bundle
<?php

if (!defined('ABSPATH')) {
    die('Direct access forbidden.');
}
/**
 * @init all templates
 * @return template
 */
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-mailchimp.php';
//mailchimp
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-twitter.php';
//twitter
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-flickr.php';
//flickr
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-facebook-like.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-facebook-page.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-facebook-share.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-facebook-send.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-facebook-video.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/templates/class-template-instagram.php';
//Instagram
コード例 #3
0
ファイル: init.php プロジェクト: aamirs332/WP-Mega-Bundle
<?php

if (!defined('ABSPATH')) {
    die('Direct access forbidden.');
}
/**
 * @init all Shortcodes
 * @return {HTML}
 */
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-mailchimp.php';
//mailchimp
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-twitter.php';
//twitter
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-flickr.php';
//flickr
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-facebook-like.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-facebook-page.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-facebook-share.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-facebook-send.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-facebook-video.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/shortcodes/class-instagram.php';
//Instagram
コード例 #4
0
ファイル: init.php プロジェクト: aamirs332/WP-Mega-Bundle
<?php

if (!defined('ABSPATH')) {
    die('Direct access forbidden.');
}
/**
 * @init all widgets
 * @return widget
 */
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-mailchimp.php';
//Mail Chimp
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-instagram.php';
//Instagram
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-flickr.php';
//Flickr
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-facebook-like.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-facebook-page.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-facebook-share.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-facebook-send.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-facebook-video.php';
//facebook
require_once Wp_Mega_Bundle::plugin_dir() . '/widgets/class-twitter.php';
//Twitter widget