PluginProbe ʕ •ᴥ•ʔ
Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel / trunk
Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel vtrunk
trunk 1.10.3 2.0.24 2.1.34 2.2.44 2.3.3 2.4.32 3.0.6 3.1.11 3.1.12 3.1.13 3.1.20 3.1.25 3.1.26 3.1.26.1 3.1.26.2
foogallery / includes / admin / view-help-getting-started.php
foogallery / includes / admin Last commit date
class-admin-notice-custom-css.php 7 months ago class-admin-notices.php 7 months ago class-admin.php 7 months ago class-attachment-fields.php 7 months ago class-columns.php 7 months ago class-demo-content.php 7 months ago class-extensions.php 7 months ago class-gallery-attachment-modal.php 7 months ago class-gallery-datasources.php 7 months ago class-gallery-editor.php 7 months ago class-gallery-metabox-fields.php 7 months ago class-gallery-metabox-items.php 7 months ago class-gallery-metabox-settings-helper.php 7 months ago class-gallery-metabox-settings.php 7 months ago class-gallery-metabox-template.php 7 months ago class-gallery-metaboxes.php 7 months ago class-menu.php 7 months ago class-pro-promotion.php 7 months ago class-settings.php 7 months ago class-silent-installer-skin.php 7 months ago class-trial-mode.php 7 months ago demo-content-galleries.php 7 months ago demo-content-images.php 7 months ago index.php 11 years ago pro-features.php 7 months ago view-features.php 7 months ago view-help-demos.php 7 months ago view-help-getting-started.php 7 months ago view-help-pro.php 7 months ago view-help.php 7 months ago view-system-info.php 7 months ago
view-help-getting-started.php
122 lines
1 <?php
2 $migrator_install_url = wp_nonce_url(
3 add_query_arg(
4 array(
5 'action' => 'install-plugin',
6 'plugin' => 'foogallery-migrate'
7 ),
8 admin_url( 'update.php' )
9 ),
10 'install-plugin_foogallery-migrate'
11 );
12
13 $migrator_link = sprintf( '<a href="%s" target="_blank">%s</a>', 'https://wordpress.org/plugins/foogallery-migrate/', __( 'Find out more!', 'foogallery' ) );
14 $migrator_admin_url = foogallery_admin_url_for_page( 'foogallery-migrate' );
15 $demos_created = foogallery_get_setting( 'demo_content' ) === 'on';
16
17 ?>
18 <div id="help_section" class="foogallery-admin-help-section">
19 <section class="fgah-feature">
20 <header>
21 <h3><?php printf( esc_html__( 'Thank you for choosing %s!', 'foogallery' ), esc_html( foogallery_plugin_name() ) );?></h3>
22 <p><?php esc_html_e( 'Better galleries for WordPress, that are faster, more flexible and beautiful!', 'foogallery' ); ?></p>
23 <a href="#create" class="foogallery-admin-help-button"><?php esc_html_e( 'Getting Started', 'foogallery' ); ?></a>
24 <a href="#demo-content" class="foogallery-admin-help-button"><?php esc_html_e( 'Create Demos', 'foogallery' ); ?></a>
25 <a href="#migrator" class="foogallery-admin-help-button"><?php esc_html_e( 'Migrate', 'foogallery' ); ?></a>
26 <a target="_blank" class="foogallery-admin-help-button foogallery-admin-help-button-active" href="<?php echo esc_url ( $plugin_url ); ?>"><?php echo esc_html__( 'Visit our Homepage', 'foogallery' ); ?><i class="dashicons dashicons-external"></i></a>
27 </header>
28 </section>
29
30 <section class="fgah-feature" id="migrator">
31 <header>
32 <h3><?php esc_html_e( 'Are you migrating from another gallery plugin?', 'foogallery' ); ?></h3>
33 <p>
34 <?php printf( esc_html__( 'We have built a separate migration tool to help you seamlessly migrate from other gallery plugins to %s.', 'foogallery' ), esc_html( foogallery_plugin_name() ) ); ?>
35 <?php echo wp_kses_post( $migrator_link ); ?>
36 </p>
37 </header>
38 <footer>
39 <?php if ( class_exists( 'FooPlugins\FooGalleryMigrate\Init' ) ) { ?>
40 <a class="foogallery-admin-help-button-cta" target="_blank" href="<?php echo esc_url ( $migrator_admin_url ); ?>"><?php echo esc_html( sprintf( esc_html__( 'Run the migrator!', 'foogallery' ), esc_html( $plugin_name ) ) ); ?></a>
41 <?php } else { ?>
42 <a class="foogallery-admin-help-button-cta" target="_blank" href="<?php echo esc_url ( $migrator_install_url ); ?>"><?php echo esc_html( sprintf( esc_html__( 'Install our migrator!', 'foogallery' ), esc_html( $plugin_name ) ) ); ?></a>
43 <?php } ?>
44 </footer>
45 </section>
46
47 <section class="fgah-feature foogallery-admin-help-create-demos" id="demo-content">
48 <header class="fgah-create-demos">
49 <h3><?php esc_html_e( 'Demo Galleries', 'foogallery' );?></h3>
50 <p><?php esc_html_e( 'It\'s always best to see what is possible by looking at the real thing. If you want to get started really quickly without any hassle, then we can import some demo galleries for you. This will create a number of pre-defined galleries which you can easily edit and make your own.', 'foogallery' ); ?></p>
51 </header>
52 <footer class="fgah-create-demos">
53 <?php if ( $demos_created ) { ?>
54 <a class="foogallery-admin-help-button-cta" href="<?php echo esc_attr( foogallery_admin_gallery_listing_url() ); ?>"><?php esc_html_e( 'View Galleries', 'foogallery' ); ?></a>
55 <?php } ?>
56
57 <button class="foogallery-admin-help-button-cta foogallery-admin-help-import-demos"
58 data-action="foogallery_admin_import_demos"
59 data-working="<?php esc_html_e( 'Please wait...', 'foogallery' ); ?>"
60 data-complete="<?php esc_html_e( 'Done!', 'foogallery' ); ?>"
61 data-error="<?php esc_html_e( 'Error!', 'foogallery' ); ?>"
62 data-nonce="<?php echo esc_attr( wp_create_nonce( 'foogallery_admin_import_demos' ) ); ?>">
63 <span class="progress"></span>
64 <span class="fgah-create-demos-text" style="position: relative;"><?php esc_html_e( 'Create Demos *', 'foogallery' ); ?></span>
65 </button>
66
67 <?php if ( foogallery_is_pro() ) : ?>
68 <button class="foogallery-admin-help-button-cta foogallery-admin-help-import-demos"
69 data-action="foogallery_admin_import_pro_demos"
70 data-working="<?php esc_html_e( 'Please wait...', 'foogallery' ); ?>"
71 data-complete="<?php esc_html_e( 'Done!', 'foogallery' ); ?>"
72 data-error="<?php esc_html_e( 'Error!', 'foogallery' ); ?>"
73 data-nonce="<?php echo esc_attr( wp_create_nonce( 'foogallery_admin_import_pro_demos' ) ); ?>">
74 <span class="progress"></span>
75 <span class="fgah-create-demos-text" style="position: relative;"><?php esc_html_e( 'Create PRO Demos *', 'foogallery' ); ?></span>
76 </button>
77 <?php endif; ?>
78
79 <small class="fgah-demo-result"><?php esc_html_e( '* Sample images will be imported into your media library', 'foogallery' ); ?></small>
80 </footer>
81 </section>
82
83 <section class="fgah-feature" id="create">
84 <header>
85 <h3><?php esc_html_e( 'Getting Started : Create Your First Gallery', 'foogallery' );?></h3>
86 <p><?php esc_html_e( 'It couldn\'t be any easier:', 'foogallery' ); ?></p>
87 </header>
88 <div>
89 <figure>
90 <img width="650" height="552" src="<?php echo esc_url( 'https://assets.fooplugins.com/foogallery/plugin/admin/help-getting-started.jpg' ); ?>" alt="Create a gallery" />
91 </figure>
92 <ol>
93 <li><?php esc_html_e( 'Enter a gallery title', 'foogallery' );?></li>
94 <li><?php esc_html_e( 'Choose a gallery layout', 'foogallery' );?></li>
95 <li><?php esc_html_e( 'Add images to your gallery', 'foogallery' );?></li>
96 <li><?php esc_html_e( 'Customize settings', 'foogallery' );?></li>
97 <li><?php esc_html_e( 'Publish!', 'foogallery' );?></li>
98 </ol>
99 </div>
100 <footer>
101 <a class="foogallery-admin-help-button-cta" target="_blank" href="<?php echo esc_url ( foogallery_admin_add_gallery_url() ); ?>"><?php esc_html_e( 'Add a Gallery Now!', 'foogallery' ); ?></a>
102 </footer>
103 </section>
104
105 <section class="fgah-feature fgah-feature-right">
106 <header>
107 <h3><?php esc_html_e( 'Show Off Your Gallery', 'foogallery' );?></h3>
108 <p><?php esc_html_e( 'Once created, easily embed your gallery on any page or post:', 'foogallery' ); ?></p>
109 </header>
110 <div>
111 <figure>
112 <img width="556" height="407" src="<?php echo esc_url( 'https://assets.fooplugins.com/foogallery/plugin/foogallery-admin-help-embed.png' ); ?>" alt="Show off your gallery" />
113 </figure>
114 <dl>
115 <dt><?php printf( esc_html__( '%s Block','foogallery' ), esc_html( foogallery_plugin_name() ) ); ?></dt>
116 <dd><?php esc_html_e( 'Use our block to embed a gallery in the Gutenberg editor. Live previews help you visualize how the gallery will really look on the frontend.', 'foogallery' );?></dd>
117 <dt><?php printf( esc_html__( 'The <code>[%s]</code> Shortcode','foogallery' ), esc_html( foogallery_gallery_shortcode_tag() ) );?></dt>
118 <dd><?php esc_html_e( 'Copy and paste the gallery shortcode into any page. You can find the shortcode from the gallery listing or within the Gallery Shortcode metabox when you edit a gallery.', 'foogallery' );?></dd>
119 </dl>
120 </div>
121 </section>
122 </div>