notices
10 years ago
ad-display-metabox.php
10 years ago
ad-group-edit.php
10 years ago
ad-group-list-form-row.php
10 years ago
ad-group-list-header.php
10 years ago
ad-group-list-row.php
10 years ago
ad-group.php
10 years ago
ad-info-bottom.php
10 years ago
ad-info-top.php
10 years ago
ad-info.php
10 years ago
ad-list-details-column.php
10 years ago
ad-list-filters.php
10 years ago
ad-list-timing-column.php
10 years ago
ad-main-metabox.php
10 years ago
ad-output-metabox.php
10 years ago
ad-parameters-metabox.php
10 years ago
ad-parameters-size.php
10 years ago
ad-submitbox-meta.php
10 years ago
ad-visitor-metabox.php
10 years ago
debug.php
10 years ago
feedback_disable.php
10 years ago
index.php
12 years ago
intro.php
10 years ago
overview.php
10 years ago
placements.php
10 years ago
post-ad-settings-metabox.php
10 years ago
setting-license.php
10 years ago
settings-disable-ads.php
10 years ago
settings.php
10 years ago
support.php
10 years ago
intro.php
90 lines
| 1 | <?php |
| 2 | /* wp_enqueue_style( 'wp-mediaelement' ); |
| 3 | wp_enqueue_script( 'wp-mediaelement' ); |
| 4 | wp_localize_script( 'mediaelement', '_wpmejsSettings', array( |
| 5 | 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), |
| 6 | 'pauseOtherPlayers' => '' |
| 7 | ) ); |
| 8 | |
| 9 | $video_url = 'https://videopress.com/embed/T54Iy7Tw'; |
| 10 | $locale = str_replace( '_', '-', get_locale() ); |
| 11 | if ( 'en' !== $locale ) { |
| 12 | $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); |
| 13 | }*/ |
| 14 | |
| 15 | $minor_features = array( |
| 16 | array( |
| 17 | 'src' => ADVADS_BASE_URL . '/admin/assets/img/intro/5-star-usability.png', |
| 18 | 'heading' => __( '5-Star Usability', 'advanced-ads' ), |
| 19 | 'description' => __( 'Advanced Ads is powerful and easy to use, because it is build on WordPress standards. If you know how to publish a post then you know how to create an ad.', 'advanced-ads' ), |
| 20 | ), |
| 21 | array( |
| 22 | 'src' => ADVADS_BASE_URL . '/admin/assets/img/intro/5-star-support.png', |
| 23 | 'heading' => __( '5-Star Support', 'advanced-ads' ), |
| 24 | 'description' => __( 'I promise you the best supported ad management plugin for WordPress. Whether a pro user or not, you can reach me easily through the support page, in the chat on the homepage or replying to a newsletter.', 'advanced-ads' ), |
| 25 | ), |
| 26 | array( |
| 27 | 'src' => ADVADS_BASE_URL . '/admin/assets/img/intro/5-star-experience.png', |
| 28 | 'heading' => __( '5-Star Experience', 'advanced-ads' ), |
| 29 | 'description' => __( 'Advanced Ads was built out of my own experience. I am personally using it to serve millions of ad impressions per month and constantly test new ways to optimize ad settings.', 'advanced-ads' ), |
| 30 | ), |
| 31 | ); |
| 32 | ?> |
| 33 | <div class="wrap about-wrap"> |
| 34 | <h1><?php printf( __( 'Welcome to <strong>Advanced Ads</strong>' ), ADVADS_VERSION ); ?></h1> |
| 35 | |
| 36 | <div class="about-text"><?php _e( 'Let me give you an introduction into your future ad management solution.' ); ?></div> |
| 37 | |
| 38 | <?php /* <h2 class="nav-tab-wrapper"> |
| 39 | <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a> |
| 40 | <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
| 41 | <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
| 42 | </h2> |
| 43 | |
| 44 | <div class="headline-feature feature-video"> |
| 45 | <iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe> |
| 46 | <script src="https://videopress.com/videopress-iframe.js"></script> |
| 47 | </div>*/ ?> |
| 48 | |
| 49 | <hr/> |
| 50 | |
| 51 | <div class="feature-section three-col"> |
| 52 | <?php foreach ( $minor_features as $feature ) : ?> |
| 53 | <div class="col"> |
| 54 | <img src="<?php echo esc_attr( $feature['src'] ); ?>" width="314" height="180"/> |
| 55 | <h3><?php echo $feature['heading']; ?></h3> |
| 56 | <p><?php echo $feature['description']; ?></p> |
| 57 | </div> |
| 58 | <?php endforeach; ?> |
| 59 | </div> |
| 60 | <hr/> |
| 61 | <h2><?php _e( 'Next Steps', 'advanced-ads' ); ?></h2> |
| 62 | <div class="feature-section three-col"> |
| 63 | <div class="col"> |
| 64 | <h3>1. <?php _e( 'Subscribe to the Mailing List', 'advanced-ads' ); ?></h3> |
| 65 | <p><?php _e( 'Subscribe to the newsletter and instantly', 'advanced-ads' ); ?></p> |
| 66 | <ul> |
| 67 | <li><?php _e( 'get 2 free add-ons.', 'advanced-ads' ); ?></li> |
| 68 | <li><?php _e( 'reply to the welcome message with a question.', 'advanced-ads' ); ?></li> |
| 69 | <li><?php _e( 'subscribe to a dedicated group for the tutorial or AdSense tips.', 'advanced-ads' ); ?></li> |
| 70 | </ul> |
| 71 | <div class="advads-admin-notice"> |
| 72 | <p> |
| 73 | <button type="button" class="button button-hero button-primary advads-notices-button-subscribe" data-notice="nl_free_addons"><?php echo __('Subscribe me now', 'advanced-ads'); ?></button> |
| 74 | </p> |
| 75 | </div> |
| 76 | </div> |
| 77 | <div class="col"> |
| 78 | <h3>2. <?php _e( 'Create your first ad', 'advanced-ads' ); ?></h3> |
| 79 | <p><?php printf(__( 'Get started by creating an ad <a href="%1$s" target="blank">right now</a> or watch the <a href="%2$s" target="blank">tutorial video (3:29min)</a> first.', 'advanced-ads' ), admin_url( 'post-new.php?post_type=' . Advanced_Ads::POST_TYPE_SLUG ), ADVADS_URL . 'manual/first-ad/#utm_source=advanced-ads&utm_medium=link&utm_campaign=intro' ); ?></p> |
| 80 | </div> |
| 81 | <div class="col"> |
| 82 | <h3>3. <?php _e( 'Display your ad', 'advanced-ads' ); ?></h3> |
| 83 | <p><?php _e( 'You can display your ad using a shortcode, widget or one of the powerful placements. Placements help you to inject ads into the content or place them on your site without coding.', 'advanced-ads' ); ?></p> |
| 84 | <ul> |
| 85 | <li><a href="<?php echo ADVADS_URL . '/manual/placements/#utm_source=advanced-ads&utm_medium=link&utm_campaign=intro'; ?>" target="_blank"><?php _e( 'List of all available placements', 'advanced-ads' ); ?></a></li> |
| 86 | <li><a href="<?php echo admin_url( 'admin.php?page=advanced-ads-placements' ); ?>" target="_blank"><?php _e( 'Create a placement', 'advanced-ads' ); ?></a></li> |
| 87 | </ul> |
| 88 | </div> |
| 89 | </div> |
| 90 | </div> |