user_email;
$username = trim($current_user->user_firstname);
$user = $current_user->user_login;
$user_display = trim($current_user->display_name);
if(empty($username))
$username = $user;
if(empty($username))
$username = $user_display;
$theme = wp_get_theme( );
$themeversion = $theme->version ;
$memory['limit'] = (int) ini_get('memory_limit') ;
$memory['usage'] = function_exists('memory_get_usage') ? round(memory_get_usage() / 1024 / 1024, 0) : 0;
if(defined("WP_MEMORY_LIMIT"))
$memory['wplimit'] = WP_MEMORY_LIMIT ;
else
$memory['wplimit'] = '';
$boatdealermypath = BOATDEALERURL.'/inc/fixconfig.php';
$boatdealerurlkey = urlencode(substr(NONCE_KEY,0,10));
$boatdealermyrestore = BOATDEALERURL.'/public/restore-config.php?key='.$boatdealerurlkey;
?>
Help and Support Page
';
} // end Function boatdealer_options_page
function vmtheme_contextual_help()
{
if(!memory_status())
return;
$screen = get_current_screen();
$myhelp = '
';
$myhelp .= __('Boat Dealer is a responsive and not intimidating, easy-to-use WordPress theme.',
'boatdealer');
$myhelp .= '
';
$myhelp .= __('You can find also our complete Theme OnLine Guide', 'boatdealer').' ';
$myhelp .= ' ';
$myhelp .= __('here', 'boatdealer');
$myhelp .= '.';
$options = '
';
$options.= __('Boat Dealer Theme has an advanced panel that is loaded with options.', 'boatdealer');
$options .= '
';
$options .= __("Go to Appearance > Customize and take a look. We've organized them into logical sets and have given descriptions for items that need it, most things are self explanatory. Be sure to hit Save Changes to save your settings once you are done.", 'boatdealer');
$options .= '
';
$home = '
';
$home .= __("Once you have created your home page, you need to select it to show up as the home page. To do this, follow the steps below.", 'boatdealer');
$home .= '
';
$home .= __("Navigate to Settings > Reading", 'boatdealer');
$home .= '
';
$home .= __("Select A Static Page for Front Page Displays", 'boatdealer');
$home .= '
';
$home .= __("Select your new home page for the Front Page", 'boatdealer');
$home .= '
';
$home .= __("This is also the same spot you select the Blog page", 'boatdealer');
$home .= '
';
$home .= __("Save", 'boatdealer');
$home .= '
';
$menu = '
';
$menu .= __("Go to Dashboard Appearence => Customize => Menus and setup the menu.", 'boatdealer');
$menu .= '
';
$menu .= __("Here is the wordpress help:", 'boatdealer');
$menu .= '
';
$menu .= '';
$menu .= __("https://codex.wordpress.org/WordPress_Menu_User_Guide", 'boatdealer');
$menu .= '
';
$logo = '
';
$logo .= __("Go to Dashboard Appearence => Customize => Settings => Site Identity and setup the logo.", 'boatdealer');
$logo .= '
';
$topinfo = '
';
$topinfo .= __("Go to Dashboard Appearence => Customize => Customize => Top Page Settings.", 'boatdealer');
$topinfo .= '
';
$footer = '
';
$footer .= __("Go to Dashboard Appearence => Customize => Customize => Footer Copyright.", 'boatdealer');
$footer .= '
';
$boats = '
';
$boats .= __("Dashboard => Boats For Sale => Settings", 'boatdealer');
$boats .= '
';
$boats .= '
';
$boats .= __("Go to Boat Settings tab and you will find a startup guide there.", 'boatdealer');
$boats .= '
';
$boats .= __("You can also choose your currency, metric system etc...", 'boatdealer');
$boats .= '
';
$showroom = '
';
$showroom.= __('To create a Show Room Page', 'boatdealer');
$showroom .= '
';
$showroom .= __("Go to DashBoard => Pages and add a new one.", 'boatdealer');
$showroom .= '
';
$showroom .= __("Just copy and paste this Shortcode to your page:", 'boatdealer');
$showroom .= '
';
$showroom .= ' [boat_dealer]';
$showroom .= '
';
$showroom .= '
';
$screen->add_help_tab(array(
'id' => 'bd-overview-tab',
'title' => __('Overview', 'boatdealer'),
'content' => '' . $myhelp . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab2',
'title' => __('Theme Options', 'boatdealer'),
'content' => '
' . $options . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab4',
'title' => __('Setting up the Home', 'boatdealer'),
'content' => '
' . $home . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab5',
'title' => __('Setting up the Menu', 'boatdealer'),
'content' => '
' . $menu . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab6',
'title' => __('Setting up te Logo', 'boatdealer'),
'content' => '
' . $logo . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab7',
'title' => __('Setting Top Info', 'boatdealer'),
'content' => '
' . $topinfo . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab8',
'title' => __('Footer Copyright', 'boatdealer'),
'content' => '
' . $footer . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab9',
'title' => __('Boats Setup', 'boatdealer'),
'content' => '
' . $boats . '
',
));
$screen->add_help_tab(array(
'id' => 'bd-overview-tab11',
'title' => __('Creating the Show Room', 'boatdealer'),
'content' => '
' . $showroom . '
',
));
}
ob_end_clean();
?>