filters.php
3 months ago
info-bottom.php
3 months ago
info-top.php
1 year ago
submitbox-meta.php
10 months ago
info-bottom.php
35 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Render additional content below the ad edit page. |
| 4 | * |
| 5 | * @package AdvancedAds |
| 6 | * @author Advanced Ads <info@wpadvancedads.com> |
| 7 | * @since 1.7.3 |
| 8 | * |
| 9 | * @var WP_Post $post The ad WP post object. |
| 10 | */ |
| 11 | |
| 12 | use AdvancedAds\Utilities\Conditional; |
| 13 | |
| 14 | ?> |
| 15 | <div id="advads-wizard-controls" class="hidden"> |
| 16 | <button type="button" id="advads-wizard-controls-prev" class="button button-secondary button-large"><span class="dashicons dashicons-controls-back"></span> <?php echo esc_attr_x( 'previous', 'wizard navigation', 'advanced-ads' ); ?></button> |
| 17 | <button id="advads-wizard-controls-save" class="button button-primary button-large"> |
| 18 | <?php echo esc_attr_x( 'save', 'wizard navigation', 'advanced-ads' ); ?> |
| 19 | <span class="dashicons dashicons-controls-forward"></span> |
| 20 | </button> |
| 21 | <button type="button" id="advads-wizard-controls-next" class="button button-primary button-large"><?php echo esc_attr_x( 'next', 'wizard navigation', 'advanced-ads' ); ?> <span class="dashicons dashicons-controls-forward"></span></button> |
| 22 | <p><a href="javascript:void(0)" class="advads-stop-wizard"><?php esc_attr_e( 'Stop Wizard and show all options', 'advanced-ads' ); ?></a></p> |
| 23 | </div> |
| 24 | <?php |
| 25 | |
| 26 | /** |
| 27 | * Support and review box |
| 28 | */ |
| 29 | if ( ! Conditional::is_any_addon_activated() ) : |
| 30 | include ADVADS_ABSPATH . 'admin/views/support-callout.php'; |
| 31 | ?> |
| 32 | <script>jQuery( document ).ready(function () { jQuery( '#advads-support-callout').insertAfter( '#ad-types-box' ); });</script> |
| 33 | <?php |
| 34 | endif; |
| 35 |