/** * Admin page for visual editor * @return void * @package minima */ function getAdminPage() { ?> <div class="wrap ti-appear-wrap"> <?php minima_admin_leftmenu(); ?> <div class="ti-admin-icon">></div> <h2 class="sp-admin-title">Appearance Editor</h2> <div class="ti-appear-menu"> <?php $i = 0; $j = 0; foreach ($this->app_list['sections'] as $section) { ?> <span><a href="#elem-list-<?php echo $i; ?> " class="ti-appear-section"><span class="ti-icon">V</span><?php echo $section['name']; ?> </a></span> <ul class="ti-appear-list sp-hide" id="elem-list-<?php echo $i; ?> "> <?php foreach ($section['elements'] as $element) { ?> <li><a href="#sp-appear-<?php echo $j; ?> " class="ti-appear-item"><?php echo $element['name']; ?> </a></li> <?php $j++; } ?> </ul> <?php $i++; } ?> </div> <div class="sp-admin-area"> <form class="sp-appear-form"> <?php minima_upgrade_nag('You are running lite version of minima, for more editable elements please upgrade to pro!'); ?> </form> <div id="fm-unavailable" style="display: none;"> <?php minima_upgrade_nag('Font manager is only available in pro version of minima, for font manager and more features please upgrade to pro!'); ?> </div> <div class="sp-hide sp-appear-forms"> <?php $i = 0; foreach ($this->app_list['sections'] as $section) { ?> <?php foreach ($section['elements'] as $element) { ?> <div id="sp-appear-<?php echo $i; ?> " class="sp-appearance"> <form method="post" class="sp-appear-form sp-hide"> <?php switch ($element['editor']) { case 'background': minima_admin_background(array('slug' => 'sp-bg-' . $element['selector'], 'name' => $element['name'])); break; case 'font': minima_admin_font(array('slug' => 'sp-font-' . $element['selector'], 'name' => $element['name'])); break; case 'both': minima_admin_font(array('slug' => 'sp-font-' . $element['selector'], 'class' => 'appearance-common ti-font-2c', 'name' => $element['name'])); minima_admin_background(array('slug' => 'sp-bg-' . $element['selector'], 'class' => 'appearance-common ti-bg-2c', 'name' => $element['name'])); break; case 'fontcolor': minima_admin_fontcolor(array('slug' => 'sp-font-' . $element['selector'], 'name' => $element['name'])); break; } ?> <div class="sp-form-row"><label> </label><button class="button blue button-primary appearance-save"><i>.</i>Save</button></div> </form> </div> <?php $i++; } } ?> </div> </div> <span class="sp-clear"></span> </div> <?php }
function minima_admin_panel($panel) { ?> <div class='wrap'> <?php minima_upgrade_nag('You are running lite version of minima, for tile slider and more features please upgrade to pro!'); ?> <?php minima_admin_leftmenu(); ?> <div class="sp-admin-area"> <div class="ti-admin-icon"><?php echo $panel['icon']; ?> </div> <h2 class="sp-admin-title"><?php echo $panel['title']; ?> </h2> <form method="post"> <?php foreach ($panel['options'] as $option) { minima_admin_formelem($option); } ?> <p class="sp-form-row sp-update"><label> </label> <button class="button button-primary"><i>.</i><?php _e('Save', 'minima'); ?> </button> <input type="hidden" name="min-admin" value="1"/> </p> </form> </div> </div> <?php }
public function getAdminPage() { ?> <div class="wrap"> <?php minima_admin_leftmenu(); ?> <div class="sp-admin-area upgrade-page"> <p class="upgrade-message"> You are using lite version of minima for more features and 24x7 support, consider puchasing minima pro. </p> <div class="feature-area"> <h1>Minima Pro Features</h1> <div class="feature-item"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/1.fonts.png"/> <h3>Font Manager</h3> <span class="subtext">Easy to use font manager! Unlimited Google Fonts and cufon fonts.</span> </div> <div class="feature-item"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/2.more-control.png"/> <h3>Detailed Admin Panel</h3> <span class="subtext">Extended admin panel to manage host of new features such as Tile Slider, jLayer Parallax Slider, etc.</span> </div> <div class="feature-item"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/3.jlayer.png"/> <h3>jQuery Prallax Slider Editor</h3> <span class="subtext">jQuery parallax slider along with drag and drop parallax slider editor makes it easy for everyone to use parallax sliders.</span> </div> <div class="feature-item"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/4.shortcode-editor.png"/> <h3>Shortcode Editor</h3> <span class="subtext">Add shortcodes to post pages using just a few clicks. Shortcodes are avalilable for buttons, tabs, accordions, youtube and vimeo channels and more..</span> </div> <div class="feature-item"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/5.tickets.png"/> <h3>24*7 Support</h3> <span class="subtext">Support system with tickets, theme updates and knowledge-base, find answers to all your queries quickly.</span> </div> <div class="feature-item"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/6.tile-slider.png"/> <h3>Tile Slider Editor</h3> <span class="subtext">Drag and drop slider editor, to manage great slides quickly.</span> </div> </div> <div class="buy-action"> <hr/> <a class="minima-demo" target="_blank" href="http://minima.in/pro/">Live Demo</a> <a class="minima-upgrade" target="_blank" href="http://minima.in/purchase">Buy now for $49 only </a> </div> </div> <?php }
public function getAdminPage() { ?> <div class="wrap"> <?php minima_admin_leftmenu(); ?> <h4 class="documentation-title">Minima Lite<span> documentaion for </span>version 1.0.14</h4> <div class="thank-you"> Thank you for downloading Minima Lite WordPress theme, In case you have more questions regarding this theme please mail us at <a href="mailto:support@minima.in">support@minima.in</a> or use WordPress support forums. </div> <div class="table-of-contents"> <h3 id="table-of-contents">Table of contents</h3> <ol class="index"> <li><a href="#article-1">1. Appearance editor</a> <ol class="index"> <li><a href="#article-1-a">a) Background</a></li> <li><a href="#article-1-b">b) Font</a></li> </ol> </li> <li><a href="#article-2">2. Contact us widget</a> </li> <li><a href="#article-3">3. Minima iconset</a> </li> <li><a href="#article-4">4. Page templates</a> </li> <li><a href="#article-5">5. Post meta options</a> <ol class="index"> <li><a href="#article-5-a">a) Slides</a></li> <li><a href="#article-5-b">b) Hide page title</a></li> <li><a href="#article-5-c">b) Display carousel</a></li> </ol> </li> <li><a href="#article-6">6. Featured boxes</a> </li> <li><a href="#article-7">7. Color options</a> </li> </ol> </div> <div class="help-contents"> <div class="help-article" id="article-1"> <h2>1. Appearance Editor</h2> <p class="help-text">To start using appearance editor click on <b>'Appearance->Minima Appearance'</b> On the left menu click on the page content you wish to edit. eg. header/content/footer Click on the element to edit its appearance. Once the object is selected for appearance editing you will notice that either you can change font or both font and background, this depends on the behaviour of the element selected. Once you make changes and are happy with the result shown in the preview click save to reflect changes in live site. </p> </div> <div class="help-article" id="article-1-a"> <div class="column"> <h4>a) Background Editor</h4> <p class="help-text">Background editor enables you to set various CSS property of the background without any knowledge of css.<br/> <b>Background Image - </b>Sets the background image of selected object.<br/> <b>Background Color - </b>Sets background color of the selected object.<br/> <b>Background Repeat -</b> Choose background repeat.<br/> <b>Background Position X and Y -</b> Sets background position of the selected object.<br/> <b>Background Unit -</b> Choose background position unit.</p><br/> <a href="#table-of-contents">Table of contents</a> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/7.background-editor.png"/> </div> </div> <div class="help-article" id="article-1-b"> <div class="column"> <h4>b) Font Editor</h4> <p class="help-text"><b>Font Family -</b> Select a font family from options displayed.<br/> <b>Font Size -</b> Size of the font for selected object.<br/> <b>Font color -</b> text color of the element.</p><br/> <a href="#table-of-contents">Table of contents</a> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/8.font-editor.png"/> </div> </div> <div class="help-article" id="article-2"> <div class="column"> <h2>2. Minima contact us widget</h2> <p class="help-text"> Minima provides one widget for contact us information and social URLs.<br/> In order to use this widget simply find widget named "Minima Contact us" and drag the widget onto to a sidebar, input information that you want to show, to hide a link/information simply leave it empty. </p> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/9.contact-us-widget.png"/> </div> <a href="#table-of-contents">Table of contents</a> </div> <div class="help-article" id="article-3"> <h2>3. Minima icon set</h2> <div class="help-text"> In order to display crysp icons across all devices minima packs extensive icon set with 66 vector icons. Refer the table below to use them. <?php $this->fontDemoTable(); ?> </div> <a href="#table-of-contents">Table of contents</a> </div> <div class="help-article" id="article-4"> <div class="column"> <h2>4. Page Templates</h2> <p class="help-text">Minima provides one template for full width pages without sidebar.</p> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/10.page-templates.png"/> </div> <a href="#table-of-contents">Table of contents</a> </div> <div class="help-article" id="article-5"> <h2>5. Post Meta Options</h2> <p class="help-text">Minima provides a metabox to manage slides and featured boxes.</p> </div> <div class="help-article" id="article-5-a"> <div class="column"> <h4>a) Slides</h4> <p class="help-text">This option creates slides for carousel on posts and pages. To create and manage a slider follow the steps below.<br/> 1. Click on add slide button<br/> 2. click on upload image option<br/> 3. Once you select an image using the media uploader you can enter additional field such as URL and title.</p><br/> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/11.slides.png"/> </div> <a href="#table-of-contents">Table of contents</a> </div> <div class="help-article" id="article-5-b"> <div class="column"> <h4>b) Hide Page Title</h4> <p class="help-text">This option allows you to display featured boxes on a page.</p><br/> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/12.hide-title.png"/> </div> <a href="#table-of-contents">Table of contents</a> </div> <div class="help-article" id="article-5-c"> <div class="column"> <h4>c) Display Carousel</h4> <p class="help-text">Using this option you can show and hide a page title.</p><br/> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/13.show-carousel.png"/> </div> </div> <div class="help-article" id="article-6"> <div class="column"> <h2>6. Featured Boxes</h2> <p class="help-text">Using these custom posts you can publish featured boxes on home and other pages, a featured box has following property.<br/> <b>1. Post Title -</b> Title of the featured box<br/> <b>2. URL -</b> Link to open when clicked on featured box<br/> <b>3. Description -</b> A small paragraph of text to be shown after the title<br/> <b>4. Image -</b> The image to be shwon in the featured box</p><br/> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/14.featured-area.png"/> </div> <a href="#table-of-contents">Table of contents</a> </div> </div> <div class="help-article" id="article-7"> <div class="column"> <h2>7. Color options</h2> <p class="help-text">To change theme color pattern goto "Appearance" >> "Minima options" Select a color option by clicking on top of colors shown usinde theme color option, once the color pattern is selected, click on save and reload the website. </p> </div> <div class="column"> <img src="<?php echo get_template_directory_uri(); ?> /admin/images/15.color-options.png"/> </div> <a href="#table-of-contents">Table of contents</a> </div> </div> </div> <?php }