File: /home/alfouzantranspor/public_html/wp-content/themes/cargo-transport/inc/dashboard/getstart.php
<?php
//about theme info
add_action( 'admin_menu', 'cargo_transport_gettingstarted' );
function cargo_transport_gettingstarted() {
add_theme_page( esc_html__('Theme Demo Content', 'cargo-transport'), esc_html__('Theme Demo Content', 'cargo-transport'), 'edit_theme_options', 'cargo_transport_guide', 'cargo_transport_mostrar_guide');
}
// Add a Custom CSS file to WP Admin Area
function cargo_transport_admin_theme_style() {
wp_enqueue_style('cargo-transport-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/dashboard/getstart.css');
wp_enqueue_script('tabs', esc_url(get_theme_file_uri()) . '/inc/dashboard/js/tab.js');
// Admin notice code START
wp_register_script('cargo-transport-notice', esc_url(get_stylesheet_directory_uri()) . '/inc/dashboard/js/notice.js', array('jquery'), time(), true);
wp_enqueue_script('cargo-transport-notice');
// Admin notice code END
}
add_action('admin_enqueue_scripts', 'cargo_transport_admin_theme_style');
//guidline for about theme
function cargo_transport_mostrar_guide() {
//custom function about theme customizer
$return = add_query_arg( array()) ;
$theme = wp_get_theme( 'cargo-transport' );
?>
<div class="wrapper-info">
<div id="tc-header">
<div class="tc-container main-header">
<a class="tc-logo">
<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/images/logo.png" alt="" />
</a>
<span class="tc-header-action">
<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customize', 'cargo-transport'); ?></a>
<a href="<?php echo esc_url( CARGO_TRANSPORT_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'cargo-transport' ); ?></a>
<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/cargo-wordpress-theme/'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'cargo-transport' ); ?></a>
<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/wordpress-theme-bundle' ); ?>" class="bundle_btn" target="_blank"> <?php esc_html_e( 'Bundle of 220+ Themes at $99', 'cargo-transport' ); ?></a>
</span>
</div>
</div>
<div class="tc-container tab-sec">
<div class="tc-tabs">
<ul>
<li class="tablinks home active" onclick="cargo_transport_openCity(event, 'tc_demo')">
<a href="#">
<?php esc_html_e( 'Theme Demo Import', 'cargo-transport' ); ?>
</a>
</li>
<li class="tablinks" onclick="cargo_transport_openCity(event, 'tc_index')">
<a href="#">
<?php esc_html_e( 'Free Theme Information', 'cargo-transport' ); ?>
</a>
</li>
<li class="tablinks" onclick="cargo_transport_openCity(event, 'tc_pro')">
<a href="#">
<?php esc_html_e( 'Premium Theme Information', 'cargo-transport' ); ?>
</a>
</li>
<li class="tablinks" onclick="cargo_transport_openCity(event, 'tc_create')">
<a href="#">
<?php esc_html_e( 'Theme Support', 'cargo-transport' ); ?>
</a>
</li>
</ul>
</div><!-- END .tc-tabs -->
</div>
<div class="tc-container">
<div class="tc-section">
<div id="tc_demo" class="tabcontent">
<h2><?php esc_html_e( 'Welcome to Cargo Transport', 'cargo-transport' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
<hr>
<div class="demo">
<h4><?php esc_html_e( 'Click the "Run Importer" button below to load demo content for Cargo Transport', 'cargo-transport' ); ?></h4>
<?php /* Demo Import */ require get_theme_file_path( '/inc/dashboard/demo-importer.php' );?>
</div>
</div><!-- END .tc-section -->
</div>
</div>
<div class="tc-container">
<div class="tc-section">
<div id="tc_index" class="tabcontent">
<h2><?php esc_html_e( 'Welcome to Cargo Transport Theme', 'cargo-transport' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
<hr>
<div class="info-link">
<a href="<?php echo esc_url( CARGO_TRANSPORT_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'cargo-transport' ); ?></a>
<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'cargo-transport'); ?></a>
<a class="get-pro" href="<?php echo esc_url( CARGO_TRANSPORT_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'cargo-transport'); ?></a>
</div>
<div class="col-tc-6">
<img role="img" src="<?php echo esc_url(get_theme_file_uri()); ?>/inc/dashboard/images/screenshot.png" alt="" />
</div>
<div class="col-tc-6">
<P><?php esc_html_e( 'Cargo Transport is a professional and versatile theme designed for freight transport companies, logistics firms, shipping and delivery services, relocation businesses, courier services, moving companies, and supply chain corporations, and includes essential keywords such as Logistics, Freight, Shipping, Warehousing, Trucking, Distribution, Delivery, Haulage, Transportation, Cargo Handling, Export, Import, Movers, Freight Forwarding, Supply Chain Management, Transport Services, Freight Solutions, Logistic Support, Cargo Services, Delivery Network, and Moving Services; the theme features a simple, adaptable layout built with clean, secure, and highly optimized code for faster page load times and seamless performance across all devices. Built on a robust Bootstrap framework, the responsive design ensures a flawless user experience on desktops, tablets, and smartphones. With interactive Call to Action (CTA) buttons, stunning CSS animations, social media integration, and user-friendly customization options, the theme allows easy tweaks to colors, fonts, and layouts without coding. WooCommerce compatibility along with support for popular plugins like Contact Form 7 enables online service listings, quote forms, or product sales, making this theme a complete, conversion-focused solution for cargo, logistics, and transport businesses seeking a professional, modern, and engaging online presence.', 'cargo-transport' ); ?></P>
</div>
</div>
</div><!-- END .tc-section -->
</div>
<div class="tc-container">
<div class="tc-section">
<div id="tc_pro" class="tabcontent">
<h3><?php esc_html_e( 'Cargo Transport Theme Information', 'cargo-transport' ); ?></h3>
<hr>
<div class="info-link-pro">
<a href="<?php echo esc_url( CARGO_TRANSPORT_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'cargo-transport' ); ?></a>
<a href="<?php echo esc_url( CARGO_TRANSPORT_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'cargo-transport' ); ?></a>
<a href="<?php echo esc_url( CARGO_TRANSPORT_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'cargo-transport' ); ?></a>
</div>
<div class="pro-image">
<img role="img" src="<?php echo esc_url(get_theme_file_uri()); ?>/inc/dashboard/images/resize.png" alt="" />
</div>
<div class="col-pro-5">
<h4><?php esc_html_e( 'Cargo Transport Pro Theme', 'cargo-transport' ); ?></h4>
<P><?php esc_html_e( 'If your area of business is transportation, trucking, cargo, freight, or any sort of logistics business, you should think about your business growth by reaching out to more people. This can be done by creating a professional website with this wonderful Cargo WordPress Theme. It comes with a demo that gives you the roadmap for creating a fantastic website. By simply importing the demo content, you can easily create your functional website in no time. The design is very well built with the help of the Bootstrap framework making it robust to handle more traffic flows. Sections that are incorporated in the design will come in handy for a sorted display of all the services and facilities that your business provides. You will be able to draw the attention of your audience towards the details that are important from a business point of view all thanks to its content-oriented and minimalist design.', 'cargo-transport' ); ?></P>
</div>
<div class="col-pro-6">
<h4><?php esc_html_e( 'Theme Features', 'cargo-transport' ); ?></h4>
<ul>
<li><?php esc_html_e( 'Theme Options using Customizer API', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Responsive design', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Advanced Color options', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( '100+ Font Family Options', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Background Image Option', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Simple Menu Option', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Additional section for products', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Enable-Disable options on All sections', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Home Page setting for different sections', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Partner Section', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Promotional Banner Section for Products', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Seperate Newsletter Section', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Text and call to action button for each slides', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Pagination option', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Custom CSS option', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Translations Ready', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Customizable Home Page', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Full-Width Template', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Woo Commerce Compatible', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Multiple Inner Page Templates', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Product Sliders', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Testimonial Slider', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Testimonial Posttype', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Contact page template', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Contact Widget', 'cargo-transport' ); ?></li>
<li><?php esc_html_e( 'Advance Social Media Feature', 'cargo-transport' ); ?></li>
</ul>
</div>
</div><!-- END .tc-section -->
</div>
<div class="tc-container">
<div class="tc-section">
<div id="tc_create" class="tabcontent">
<div class="tab-cont">
<h4><?php esc_html_e( 'Need Support?', 'cargo-transport' ); ?></h4>
<div class="info-link-support">
<P><?php esc_html_e( 'Our team is obliged to help you in every way possible whenever you face any type of difficulties and doubts.', 'cargo-transport' ); ?></P>
<a href="<?php echo esc_url( CARGO_TRANSPORT_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'cargo-transport' ); ?></a>
</div>
</div>
<div class="tab-cont">
<h4><?php esc_html_e('Reviews', 'cargo-transport'); ?></h4>
<div class="info-link-support">
<P><?php esc_html_e( 'It is commendable to have such a theme inculcated with amazing features and robust functionalities. I feel grateful to recommend this theme to one and all.', 'cargo-transport' ); ?></P>
<a href="<?php echo esc_url( CARGO_TRANSPORT_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'cargo-transport'); ?></a>
</div>
</div>
<div class="tc-section large-section">
<h2>Let‘s customize your website</h2>
<p>There are many changes you can make to customize your website. Explore customization options and make it unique.</p>
<div class="tc-buttons">
<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>" class="tc-btn primary large-button"><?php esc_html_e('Start Customizing', 'cargo-transport'); ?></a>
</div><!-- END .tc-buttons -->
</div>
</div>
</div><!-- END .tc-section -->
</div>
</div>
<?php } ?>