| 1 |
<?php |
| 2 |
/** |
| 3 |
* The main class for Meta-box configurations. |
| 4 |
* |
| 5 |
* @package Smart_Post_Show |
| 6 |
* @subpackage Smart_Post_Show/admin/assets/views |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
die; |
| 11 |
} // Cannot access pages directly. |
| 12 |
|
| 13 |
/** |
| 14 |
* Smart Post Show Help Page. |
| 15 |
*/ |
| 16 |
class SPS_Help { |
| 17 |
|
| 18 |
/** |
| 19 |
* Smart Post Show single instance of the class |
| 20 |
* |
| 21 |
* @var null The instance of the class. |
| 22 |
* @since 2.0 |
| 23 |
* |
| 24 |
* @return void |
| 25 |
*/ |
| 26 |
protected static $instance = null; |
| 27 |
|
| 28 |
/** |
| 29 |
* Main Smart_Post_Show_Help Instance |
| 30 |
* |
| 31 |
* @since 2.0 |
| 32 |
* @static |
| 33 |
* |
| 34 |
* @return self help instance |
| 35 |
*/ |
| 36 |
public static function instance() { |
| 37 |
if ( is_null( self::$instance ) ) { |
| 38 |
self::$instance = new self(); |
| 39 |
} |
| 40 |
|
| 41 |
return self::$instance; |
| 42 |
} |
| 43 |
|
| 44 |
/** |
| 45 |
* Add admin sub-menu. |
| 46 |
* |
| 47 |
* @return void |
| 48 |
*/ |
| 49 |
public function help_page_menu() { |
| 50 |
add_submenu_page( |
| 51 |
'edit.php?post_type=sp_post_carousel', |
| 52 |
__( 'Smart Post Show Help', 'smart-post-show' ), |
| 53 |
__( 'Help', 'smart-post-show' ), |
| 54 |
apply_filters( 'pcp_user_role_permission', 'manage_options' ), |
| 55 |
'pcp_help', |
| 56 |
array( |
| 57 |
$this, |
| 58 |
'help_page_callback', |
| 59 |
) |
| 60 |
); |
| 61 |
} |
| 62 |
|
| 63 |
/** |
| 64 |
* Help Page Callback |
| 65 |
*/ |
| 66 |
public function help_page_callback() { |
| 67 |
wp_enqueue_style( 'sp-sps__admin-help', esc_url( SP_PC_URL . 'admin/assets/css/help-page.min.css' ), array(), SP_PC_VERSION ); |
| 68 |
$add_new_carousel_link = admin_url( 'post-new.php?post_type=sp_post_carousel' ); |
| 69 |
?> |
| 70 |
|
| 71 |
<div class="sp-smart-post__help-page"> |
| 72 |
<!-- Header section start --> |
| 73 |
<section class="sp-sps__help header"> |
| 74 |
<div class="header-area"> |
| 75 |
<div class="container"> |
| 76 |
<div class="header-logo"> |
| 77 |
<img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/smart-post-show-logo.svg' ); ?>" alt=""> |
| 78 |
<span><?php echo esc_html( SP_PC_VERSION ); ?></span> |
| 79 |
</div> |
| 80 |
<div class="header-content"> |
| 81 |
<p>Thank you for installing Smart Post Show plugin! This video will help you get started with the plugin.</p> |
| 82 |
</div> |
| 83 |
</div> |
| 84 |
</div> |
| 85 |
<div class="video-area"> |
| 86 |
<iframe width="560" height="315" src="https://www.youtube.com/embed/875igMBtpMg" frameborder="0" allowfullscreen=""></iframe> |
| 87 |
</div> |
| 88 |
<div class="content-area"> |
| 89 |
<div class="container"> |
| 90 |
<div class="content-button"> |
| 91 |
<a href="<?php echo esc_url( $add_new_carousel_link ); ?>">Start Adding Shows</a> |
| 92 |
<a href="https://docs.shapedplugin.com/docs/post-carousel/overview/?ref=1" target="_blank">Read Documentation</a> |
| 93 |
</div> |
| 94 |
</div> |
| 95 |
</div> |
| 96 |
</section> |
| 97 |
<!-- Header section end --> |
| 98 |
|
| 99 |
<!-- Upgrade section start --> |
| 100 |
<section class="sp-sps__help upgrade"> |
| 101 |
<div class="upgrade-area"> |
| 102 |
<div class="upgrade-img"> |
| 103 |
<img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/sps-icon-copy.svg' ); ?>" alt=""> |
| 104 |
</div> |
| 105 |
<h2>Upgrade To Unleash the Power of Smart Post Show Pro</h2> |
| 106 |
<p>Get the most out of Smart Post Show by upgrading to unlock all of its powerful features. With Smart Post Show Pro, you can unlock amazing features like:</p> |
| 107 |
</div> |
| 108 |
<div class="upgrade-info"> |
| 109 |
<div class="container"> |
| 110 |
<div class="row"> |
| 111 |
<div class="col-lg-6"> |
| 112 |
<ul class="upgrade-list"> |
| 113 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">8+ Smart Layout Presets.</li> |
| 114 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Filter and display custom post type, custom taxonomy, custom fields.</li> |
| 115 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Live front-end filtering, search, and sort (by category, tag, custom taxonomy, custom field, keyword search) for any post type.</li> |
| 116 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Display multiple post types in one show/shortcode (e.g: display posts, pages, products, portfolio in a layout).</li> |
| 117 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Turn any layout into an isotope(shuffle) filter.</li> |
| 118 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Even and masonry for the grid.</li> |
| 119 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt=""> Ajax number, Load more, Infinite scrolling pagination.</li> |
| 120 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Filter and display Woocommerce products (recent, on sale, best-selling, featured, top-rated, out of stock, many more, etc.).</li> |
| 121 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Supports ACF, WooCommerce, EDD, CPT UI, The Events Calendar, Events Manager, Pods, Toolset, WPML, Polylang, Membership, and many more.</li> |
| 122 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Isotope(shuffle) filter posts by taxonomy terms.</li> |
| 123 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">The search field on the isotope or any layout.</li> |
| 124 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Content excerpt, limit, and full content display option.</li> |
| 125 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">12 Social sharing media, alignment, margin. icon shape, custom color, and many more.</li> |
| 126 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">30+ Carousel controls for carousel layout with numerous options.</li> |
| 127 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Sticky posts (normal position, top of the list, hide sticky posts).</li> |
| 128 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Include (select specific posts), exclude post or page by ID, title (enter post IDs, or type to search by title).</li> |
| 129 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Offset options (number of items to skip).</li> |
| 130 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Filter by a category, tags, author, status, keyword, etc.</li> |
| 131 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Filter by custom taxonomy, custom fields.</li> |
| 132 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Filter by date (today, future, custom date, custom year, specific: date, month, year; specific period(from & to), many more, etc).</li> |
| 133 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Sort by ID, Title, Date, Modified date, post in (drag & drop), post slug, post type, random, custom field, comment count, page order (menu order), author, most liked, most viewed.</li> |
| 134 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">6 Content orientations with 8 positions.</li> |
| 135 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">The margin for every content field (thumbnail, title, meta fields, content, social share, custom fields).</li> |
| 136 |
</ul> |
| 137 |
</div> |
| 138 |
<div class="col-lg-6"> |
| 139 |
<ul class="upgrade-list"> |
| 140 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">30+ Animation types for the overlay content on hover.</li> |
| 141 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Overlay content visibility: always & on hover and overlay color type (solid & gradient).</li> |
| 142 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Thumbnail show/hide, available sizes, custom size with soft & hard cropping, margin, image source, border, border-radius, zoom effect, image mode (grayscale).</li> |
| 143 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Title show/hide, title HTML tag select, title character limit, margin, etc.</li> |
| 144 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Meta icons (all font-awesome icons available) and meta separator options (normal space, full stop, straight line, slash, backslash).</li> |
| 145 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Select which taxonomy to show in meta fields and set position: beside other meta, above title, below the title.</li> |
| 146 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Content show/hide, content excerpt, an excerpt with limit, full content, HTML tags (allow all, strip all, allow some).</li> |
| 147 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Exclude content of specific HTML tags in the excerpt.</li> |
| 148 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Live filter options (filter type: dropdown, radion, button; label, hide empty terms, show post count, alignment, etc.).</li> |
| 149 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Set custom size (custom width, custom height) for thumbnail.</li> |
| 150 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Image mode (grayscale), zoom effects.</li> |
| 151 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Popup Preview (Single popup and multi popup).</li> |
| 152 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Carousel mode (standard, center, ticker).</li> |
| 153 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Navigation show/hide, 8 positions, arrow icon size, color, and hover color.</li> |
| 154 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Detail page link type (popup, single page, none).</li> |
| 155 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Popup type (single and multi popup preview with navigation).</li> |
| 156 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Popup width & height and change popup content, overlay, background color.</li> |
| 157 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Show/Hide all content fields in the popup.</li> |
| 158 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Typography Settings (font family, weight, margin, text-align, text-transform, letter spacing, colors, etc.).</li> |
| 159 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Automatic update through activated license key.</li> |
| 160 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt="">Top-notch One to One support from the expert engineers.</li> |
| 161 |
<li><img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/checkmark.svg' ); ?>" alt=""><span>Not Happy? 100% No Questions Asked <a href="https://shapedplugin.com/refund-policy/" target="_blank">Refund Policy!</a></span></li> |
| 162 |
</ul> |
| 163 |
</div> |
| 164 |
</div> |
| 165 |
</div> |
| 166 |
</div> |
| 167 |
<div class="container"> |
| 168 |
<div class="upgrade-pro"> |
| 169 |
<div class="pro-content"> |
| 170 |
<div class="pro-icon"> |
| 171 |
<img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/sps-icon.svg' ); ?>" alt=""> |
| 172 |
</div> |
| 173 |
<div class="pro-text"> |
| 174 |
<h2>Upgrade To Smart Post Show Pro</h2> |
| 175 |
<p>Start displaying your any WordPress Content in Minutes!</p> |
| 176 |
</div> |
| 177 |
</div> |
| 178 |
<div class="pro-btn"> |
| 179 |
<a href="https://smartpostshow.com/?ref=1" target="_blank">Upgrade To Pro Now</a> |
| 180 |
</div> |
| 181 |
</div> |
| 182 |
</div> |
| 183 |
</section> |
| 184 |
<!-- Upgrade section end --> |
| 185 |
|
| 186 |
<!-- Testimonial section start --> |
| 187 |
<section class="sp-sps__help testimonial"> |
| 188 |
<div class="row"> |
| 189 |
<div class="col-lg-6"> |
| 190 |
<div class="testimonial-area"> |
| 191 |
<div class="testimonial-content"> |
| 192 |
<p>A fantastic plugin with lots of options to style. The best thing, however, is the outstanding customer service form ShapedPlugin support team. Any question I had so far has been answered very promptly – mostly on the same day.</p> |
| 193 |
</div> |
| 194 |
<div class="testimonial-info"> |
| 195 |
<div class="img"> |
| 196 |
<img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/rainer-ott-min.jpeg' ); ?>" alt=""> |
| 197 |
</div> |
| 198 |
<div class="info"> |
| 199 |
<h3>Rainer Ott</h3> |
| 200 |
<div class="star"> |
| 201 |
<i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i> |
| 202 |
</div> |
| 203 |
</div> |
| 204 |
</div> |
| 205 |
</div> |
| 206 |
</div> |
| 207 |
<div class="col-lg-6"> |
| 208 |
<div class="testimonial-area"> |
| 209 |
<div class="testimonial-content"> |
| 210 |
<p>I experienced a few issues with my Smart Post Show plugin and was connected to Hares from ShapedPlugin Support. He did a PHENOMENAL job of explaining the different features and benefits of Smart Post Show and answered all of my questions in a timely fashion...</p> |
| 211 |
</div> |
| 212 |
<div class="testimonial-info"> |
| 213 |
<div class="img"> |
| 214 |
<img src="<?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/kato-von-essen-min.jpeg' ); ?>" alt=""> |
| 215 |
</div> |
| 216 |
<div class="info"> |
| 217 |
<h3>Kato von Essen</h3> |
| 218 |
<div class="star"> |
| 219 |
<i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i> |
| 220 |
</div> |
| 221 |
</div> |
| 222 |
</div> |
| 223 |
</div> |
| 224 |
</div> |
| 225 |
</div> |
| 226 |
</section> |
| 227 |
<!-- Testimonial section end --> |
| 228 |
|
| 229 |
</div> |
| 230 |
<?php |
| 231 |
} |
| 232 |
} |
| 233 |
|
| 234 |
|