• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Genesis Theme Framework a2z

Genesis Theme Framework a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / lib/views/onboarding/starter-pack-info.php


Lines:

1 to 44 of 44
<?php

/**
 * Genesis Framework.
 *
 * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
 * Please do all modifications in the form of a child theme.
 *
 * @package StudioPress\Genesis
 * @author  StudioPress
 * @license GPL-2.0-or-later
 * @link    https://my.studiopress.com/themes/genesis/
 */

?>
<div class="pack-info" id="<?php echo esc_attr( 'pack-details-' . $pack_slug ); ?>">
	<div class="pack-info-wrap">
		<div class="pack-info-screenshot">
			<?php echo $pack_image; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- image attributes escaped in `genesis_onboarding_starter_packs_list()`. ?>
		</div>
		<div class="pack-info-details">
			<h2 class="pack-info-name">
				<?php echo esc_html( $pack['title'] ); ?>
			</h2>

			<?php if ( isset( $pack['description'] ) ) : ?>
			<p><?php echo esc_html( $pack['description'] ); ?></p>
			<?php endif; ?>

			<div class="pack-info-actions">
				<button class="button-primary genesis-install-pack" data-pack="<?php echo esc_attr( $pack_slug ); ?>" aria-label="<?php echo esc_attr( $pack_install_label ); ?>">Install Pack</button>

				<?php if ( isset( $pack['demo_url'] ) ) : ?>
				<a class="button button-secondary" aria-label="<?php echo esc_attr( $pack_demo_label ); ?>" href="<?php echo esc_url( $pack['demo_url'] ); ?>" target="_blank" rel="noopener noreferrer">View Demo</a>
				<?php endif; ?>
			</div>

			<?php echo wp_kses_post( genesis_onboarding_plugins_list( $pack_slug ) ); ?>
			<?php echo wp_kses_post( genesis_onboarding_content_list( $pack_slug ) ); ?>

		</div>
	</div>
</div>
 

Called by

    Invoked by

      Calls

      1 to 2 of 2
      • genesis_onboarding_content_list() – Build HTML for an unordered list of onboarding content provided the child theme.
      • genesis_onboarding_plugins_list() – Returns an unordered list of valid onboarding plugins provided by Genesis or the child theme.

      Call hooks

      File name: lib/views/onboarding/starter-pack-info.php
      Plugin ref: Genesis Framework
      Version: 3.3.5
      Deprecated?: No
      API Letters: L,O,P,S,V

      Published: 25th November 2019 | Last updated: 25th November 2019

      Primary Sidebar

      Information

      File name: lib/views/onboarding/starter-pack-info.php
      Plugin ref: Genesis Framework
      Version: 3.3.5
      Deprecated?: No
      API Letters: L,O,P,S,V

      lib/views/onboarding

      Footer

      Genesis a2z
      Genesis Theme Framework a2z
      WordPress Dynamic API Reference
      WordPress 5.9.3
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  genesis.wp-a2z.org
      © Copyright Genesis a2z 2014-2022. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites