-
-
Save nickcernis/0151f2dfe19d8f90b26b44acda37d075 to your computer and use it in GitHub Desktop.
Revolution Pro Starter Packs config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Revolution Pro. | |
* | |
* Onboarding config to load plugins and homepage content on theme activation. | |
* | |
* Visit `/wp-admin/admin.php?page=genesis-getting-started` to trigger import. | |
* | |
* @package Revolution Pro | |
* @author StudioPress | |
* @license GPL-2.0-or-later | |
* @link https://my.studiopress.com/themes/revolution/ | |
*/ | |
$revolution_shared_content = genesis_get_config( 'onboarding-shared' ); | |
return array( | |
'starter_packs' => array( | |
'agency' => array( | |
'title' => __( 'Agency', 'revolution-pro' ), | |
'description' => __( 'A pack with a homepage designed for creative agencies.', 'revolution-pro' ), | |
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/agency.jpg', | |
'demo_url' => 'https://demo.studiopress.com/revolution/', | |
'config' => array( | |
'dependencies' => array( | |
'plugins' => $revolution_shared_content['plugins'], | |
), | |
'content' => array_merge( | |
array( | |
'homepage' => array( | |
'post_title' => 'Homepage', | |
'post_content' => require dirname( __FILE__ ) . '/import/content/agency.php', | |
'post_type' => 'page', | |
'post_status' => 'publish', | |
'page_template' => 'page-templates/blocks.php', | |
'comment_status' => 'closed', | |
'ping_status' => 'closed', | |
), | |
), | |
$revolution_shared_content['content'] | |
), | |
'navigation_menus' => $revolution_shared_content['navigation'], | |
), | |
), | |
'lifestyle-blogger' => array( | |
'title' => __( 'Lifestyle Blogger', 'revolution-pro' ), | |
'description' => __( 'A pack with a homepage made with bloggers in mind.', 'revolution-pro' ), | |
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/lifestyle-blogger.jpg', | |
'demo_url' => 'https://demo.studiopress.com/revolution/lifestyle-blogger/', | |
'config' => array( | |
'dependencies' => array( | |
'plugins' => $revolution_shared_content['plugins'], | |
), | |
'content' => array_merge( | |
array( | |
'homepage' => array( | |
'post_title' => 'Homepage', | |
'post_content' => require dirname( __FILE__ ) . '/import/content/lifestyle.php', | |
'post_type' => 'page', | |
'post_status' => 'publish', | |
'page_template' => 'page-templates/blocks.php', | |
'comment_status' => 'closed', | |
'ping_status' => 'closed', | |
), | |
), | |
$revolution_shared_content['content'] | |
), | |
'navigation_menus' => $revolution_shared_content['navigation'], | |
), | |
), | |
'personal-branding' => array( | |
'title' => __( 'Personal Branding', 'revolution-pro' ), | |
'description' => __( 'A pack with a homepage to elevate your personal brand.', 'revolution-pro' ), | |
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/personal-branding.jpg', | |
'demo_url' => 'https://demo.studiopress.com/revolution/personal-branding/', | |
'config' => array( | |
'dependencies' => array( | |
'plugins' => $revolution_shared_content['plugins'], | |
), | |
'content' => array_merge( | |
array( | |
'homepage' => array( | |
'post_title' => 'Homepage', | |
'post_content' => require dirname( __FILE__ ) . '/import/content/personal.php', | |
'post_type' => 'page', | |
'post_status' => 'publish', | |
'page_template' => 'page-templates/blocks.php', | |
'comment_status' => 'closed', | |
'ping_status' => 'closed', | |
), | |
), | |
$revolution_shared_content['content'] | |
), | |
'navigation_menus' => $revolution_shared_content['navigation'], | |
), | |
), | |
'photographer' => array( | |
'title' => __( 'Photographer', 'revolution-pro' ), | |
'description' => __( 'A pack with a homepage to show off your work.', 'revolution-pro' ), | |
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/photographer.jpg', | |
'demo_url' => 'https://demo.studiopress.com/revolution/photographer/', | |
'config' => array( | |
'dependencies' => array( | |
'plugins' => $revolution_shared_content['plugins'], | |
), | |
'content' => array_merge( | |
array( | |
'homepage' => array( | |
'post_title' => 'Homepage', | |
'post_content' => require dirname( __FILE__ ) . '/import/content/photographer.php', | |
'post_type' => 'page', | |
'post_status' => 'publish', | |
'page_template' => 'page-templates/blocks.php', | |
'comment_status' => 'closed', | |
'ping_status' => 'closed', | |
), | |
), | |
$revolution_shared_content['content'] | |
), | |
'navigation_menus' => $revolution_shared_content['navigation'], | |
), | |
), | |
'small-business' => array( | |
'title' => __( 'Small Business', 'revolution-pro' ), | |
'description' => __( 'A pack with a homepage to pitch your business and services.', 'revolution-pro' ), | |
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/small-business.jpg', | |
'demo_url' => 'https://demo.studiopress.com/revolution/small-business/', | |
'config' => array( | |
'dependencies' => array( | |
'plugins' => $revolution_shared_content['plugins'], | |
), | |
'content' => array_merge( | |
array( | |
'homepage' => array( | |
'post_title' => 'Homepage', | |
'post_content' => require dirname( __FILE__ ) . '/import/content/business.php', | |
'post_type' => 'page', | |
'post_status' => 'publish', | |
'page_template' => 'page-templates/blocks.php', | |
'comment_status' => 'closed', | |
'ping_status' => 'closed', | |
), | |
), | |
$revolution_shared_content['content'] | |
), | |
'navigation_menus' => $revolution_shared_content['navigation'], | |
), | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment