[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.23.102.79: ~ $
<?php

add_action( 'admin_menu', 'organic_farm_gettingstarted' );
function organic_farm_gettingstarted() {
	add_theme_page( esc_html__('Begin Installation', 'organic-farm'), esc_html__('Begin Installation', 'organic-farm'), 'edit_theme_options', 'organic-farm-guide-page', 'organic_farm_guide');
}

function organic_farm_admin_theme_style() {
   wp_enqueue_style('organic-farm-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/dashboard/dashboard.css');
}
add_action('admin_enqueue_scripts', 'organic_farm_admin_theme_style');

if ( ! defined( 'ORGANIC_FARM_SUPPORT' ) ) {
	define('ORGANIC_FARM_SUPPORT',__('https://wordpress.org/support/theme/organic-farm/','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_REVIEW' ) ) {
	define('ORGANIC_FARM_REVIEW',__('https://wordpress.org/support/theme/organic-farm/reviews/','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_LIVE_DEMO' ) ) {
define('ORGANIC_FARM_LIVE_DEMO',__('https://trial.ovationthemes.com/organic-farm/','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_BUY_PRO' ) ) {
define('ORGANIC_FARM_BUY_PRO',__('https://www.ovationthemes.com/products/organic-farm-wordpress-theme','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_PRO_DOC' ) ) {
define('ORGANIC_FARM_PRO_DOC',__('https://trial.ovationthemes.com/docs/ot-organic-farm-pro-doc/','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_FREE_DOC' ) ) {
define('ORGANIC_FARM_FREE_DOC',__('https://trial.ovationthemes.com/docs/ot-organic-farm-free-doc/','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_THEME_NAME' ) ) {
define('ORGANIC_FARM_THEME_NAME',__('Premium Organic Farm Theme','organic-farm'));
}
if ( ! defined( 'ORGANIC_FARM_BUNDLE_LINK' ) ) {
define('ORGANIC_FARM_BUNDLE_LINK',__('https://www.ovationthemes.com/products/wordpress-bundle','organic-farm'));
}

/**
 * Theme Info Page
 */
function organic_farm_guide() {

	// Theme info
	$return = add_query_arg( array()) ;
	$organic_farm_theme = wp_get_theme(); ?>

	<div class="getting-started__header">
		<div class="header-box-left">
			<h2><?php echo esc_html( $organic_farm_theme ); ?></h2>
			<p><?php esc_html_e('Version: ', 'organic-farm'); ?><?php echo esc_html($organic_farm_theme['Version']);?></p>
		</div>
		<div class="header-box-right">
			<div class="btn_box">
				<a class="button-primary" href="<?php echo esc_url( ORGANIC_FARM_FREE_DOC ); ?>" target="_blank"><?php esc_html_e('Theme Documentation', 'organic-farm'); ?></a>
				<a class="button-primary" href="<?php echo esc_url( ORGANIC_FARM_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support', 'organic-farm'); ?></a>
				<a class="button-primary" href="<?php echo esc_url( ORGANIC_FARM_REVIEW ); ?>" target="_blank"><?php esc_html_e('Review', 'organic-farm'); ?></a>
			</div>
		</div>
	</div>
	<div class="import-box">
		<div class="box-container">
			<h2><?php esc_html_e( 'DEMO IMPORT', 'organic-farm' ); ?></h2>
			<p><?php esc_html_e('To import all of the demo content, click the Begin with Demo Import button.','organic-farm'); ?></p>
			<?php require get_theme_file_path( '/inc/dashboard/setup.php' ); ?>
		</div>
	</div>
	<div class="wrap getting-started">
		<div class="box-container">
			<div class="box-left-main">
				<div class="leftbox">
					<h3><?php esc_html_e('Documentation','organic-farm'); ?></h3>
					<p><?php esc_html_e('To setup the Organic Farm theme follow the below steps.','organic-farm'); ?></p>

					<h4><?php esc_html_e('1. Setup Logo','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Site Identity >> Upload your logo or Add site title and site description.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[control]=custom_logo') ); ?>" target="_blank"><?php esc_html_e('Upload your logo','organic-farm'); ?></a>

					<h4><?php esc_html_e('2. Setup Contact Info','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Contact info >> Add your phone number and email address.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[section]=organic_farm_top') ); ?>" target="_blank"><?php esc_html_e('Add Contact Info','organic-farm'); ?></a>

					<h4><?php esc_html_e('3. Setup Menus','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Menus >> Create Menus >> Add pages, post or custom link then save it.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[panel]=nav_menus') ); ?>" target="_blank"><?php esc_html_e('Add Menus','organic-farm'); ?></a>

					<h4><?php esc_html_e('4. Setup Social Icons','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Social Media >> Add social links.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[section]=organic_farm_urls') ); ?>" target="_blank"><?php esc_html_e('Add Social Icons','organic-farm'); ?></a>

					<h4><?php esc_html_e('5. Setup Footer','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Widgets >> Add widgets in footer 1, footer 2, footer 3, footer 4.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[panel]=widgets') ); ?>" target="_blank"><?php esc_html_e('Footer Widgets','organic-farm'); ?></a>

					<h4><?php esc_html_e('6. Setup Footer Text','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Footer Text >> Add copyright text.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[section]=organic_farm_footer_copyright') ); ?>" target="_blank"><?php esc_html_e('Footer Text','organic-farm'); ?></a>

					<h3><?php esc_html_e('Setup Home Page','organic-farm'); ?></h3>
					<p><?php esc_html_e('To setup the home page follow the below steps.','organic-farm'); ?></p>

					<h4><?php esc_html_e('1. Setup Page','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Pages >> Add New Page >> Select "Custom Home Page" from templates >> Publish it.','organic-farm'); ?></p>
					<a class="dashboard_add_new_page button-primary"><?php esc_html_e('Add New Page','organic-farm'); ?></a>

					<h4><?php esc_html_e('2. Setup Slider','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Post >> Add New Post >> Add title, content and featured image >> Publish it.','organic-farm'); ?></p>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Slider Settings >> Select post.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[section]=organic_farm_slider_section') ); ?>" target="_blank"><?php esc_html_e('Add Slider','organic-farm'); ?></a>

					<h4><?php esc_html_e('3. Setup Services','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Post >> Add New Post >> Add title, content >> Publish it.','organic-farm'); ?></p>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Services Settings >> Select post','organic-farm'); ?></p>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Services Settings >> Add Fontawesome icons','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[section]=organic_farm_middle_section') ); ?>" target="_blank"><?php esc_html_e('Add Services Post','organic-farm'); ?></a>

					<h4><?php esc_html_e('4. Setup Prodcuts','organic-farm'); ?></h4>
					<p><?php esc_html_e('Go to dashboard >> Prodcuts >> Add New Product Category >> Add New Product >> Add title, content, select product category and featured image >> Publish it.','organic-farm'); ?></p>
					<p><?php esc_html_e('Go to dashboard >> Appearance >> Customize >> Custom Page Settings >> Product Settings >> Add section heading and select product category.','organic-farm'); ?></p>
					<a class="button-primary" href="<?php echo esc_url( admin_url('customize.php?autofocus[section]=organic_farm_popular_courses') ); ?>" target="_blank"><?php esc_html_e('Add Products','organic-farm'); ?></a>
				</div>
        	</div>
			<div class="box-right-main">
				<h3><?php echo esc_html(ORGANIC_FARM_THEME_NAME); ?></h3>
				<img class="organic_farm_img_responsive" style="width: 100%;" src="<?php echo esc_url( $organic_farm_theme->get_screenshot() ); ?>" />
				<div class="pro-links">
					<div class="pro-links-inner">
						<a class="button-primary livedemo" href="<?php echo esc_url( ORGANIC_FARM_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'organic-farm'); ?></a>
						<a class="button-primary buynow" href="<?php echo esc_url( ORGANIC_FARM_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Buy Now', 'organic-farm'); ?></a>
						<a class="button-primary docs" href="<?php echo esc_url( ORGANIC_FARM_PRO_DOC ); ?>" target="_blank"><?php esc_html_e('Documentation', 'organic-farm'); ?></a>
					</div>
						<a class="button-primary bundle-btn" href="<?php echo esc_url( ORGANIC_FARM_BUNDLE_LINK ); ?>" target="_blank"><?php esc_html_e('Wordpress Theme Bundle (100+ Themes at Just $89)', 'organic-farm'); ?></a>
				</div>
				<ul style="padding-top:10px">
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Responsive Design', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Boxed or fullwidth layout', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Shortcode Support', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Demo Importer', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Section Reordering', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Contact Page Template', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Multiple Blog Layouts', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Unlimited Color Options', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Designed with HTML5 and CSS3', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Customizable Design & Code', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Cross Browser Support', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Detailed Documentation Included', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Stylish Custom Widgets', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Patterns Background', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('WPML Compatible (Translation Ready)', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Woo-commerce Compatible', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Full Support', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('10+ Sections', 'organic-farm');?> </li>
                    <li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Live Customizer', 'organic-farm');?> </li>
                   	<li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('AMP Ready', 'organic-farm');?> </li>
                   	<li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Clean Code', 'organic-farm');?> </li>
                   	<li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('SEO Friendly', 'organic-farm');?> </li>
                   	<li class="upsell-organic_farm"> <div class="dashicons dashicons-yes"></div> <?php esc_html_e('Supper Fast', 'organic-farm');?> </li>
                </ul>
        	</div>
		</div>
	</div>

<?php }?>

Filemanager

Name Type Size Permission Actions
dashboard.css File 6.14 KB 0644
dashboard.php File 13.03 KB 0644
setup.php File 21.07 KB 0644