| Server IP : 141.193.213.10 / Your IP : 216.73.216.101 Web Server : nginx System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64 User : fpm200079 ( 200079) PHP Version : 8.2.36 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nas/content/live/bartislaw/wp-content/themes/spk/lib/ |
Upload File : |
<?php
register_activation_hook( __FILE__, 'lb_welcome_activate' );
function lb_welcome_activate() {
set_transient( '_lb_welcome_activation_redirect', true, 30 );
}
add_action( 'admin_init', 'lb_welcome_do_activation_redirect' );
function lb_welcome_do_activation_redirect() {
// Bail if no activation redirect
if ( ! get_transient( '_lb_welcome_activation_redirect' ) ) {
return;
}
// Delete the redirect transient
delete_transient( '_lb_welcome_activation_redirect' );
// Bail if activating from network, or bulk
if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {
return;
}
// Redirect to WorkScout about page
wp_safe_redirect( add_query_arg( array( 'page' => 'lb-screen-about' ), admin_url( 'index.php' ) ) );
}
add_action( 'admin_enqueue_scripts', 'lb_welcome_enqueue_styles' );
function lb_welcome_enqueue_styles() {
$screen = get_current_screen();
if ( 'dashboard_page_lb-welcome-screen' != $screen->id ) {
return;
}
wp_enqueue_style( 'welcome-css', get_template_directory_uri() . '/css/admin.css' );
}
add_action('admin_menu', 'lb_welcome_pages');
function lb_welcome_pages() {
add_dashboard_page(
'Welcome To LeadsBuilder',
'Welcome To LeadsBuilder',
'read',
'lb-welcome-screen',
'lb_welcome_content'
);
}
function lb_welcome_content() {
?>
<div class="wrap welcome-wrap">
<h1>Welcome to LeadsBuilder!</h1>
<div class="about-text">
<div class="wp-badge um-badge">Version <?php $my_theme = wp_get_theme(); echo $my_theme->get( 'Version' ); ?></div>
<p><strong>LeadsBuilder</strong> is a leads capture Theme for <strong>WordPress</strong> developed with love.</p>
<p>It integrates beautifully and simply and can be extended with a few extensions and Plugins so that you can build your very own feature rich job marketplace!</p>
</div>
<h2>Getting Started</h2>
<p>You'll find the <strong>documenation</strong> and start guide <a href="http://purethemes.helpscoutdocs.com/category/4-1-getting-started">here</a>. Please follow it if you want to re-create the demo content.<p>
<p>If you want the same content as the demo page, you need to buy also some additional plugins, WorkScout is based on <strong>WP Job Manager</strong> and it's add-ons. The free version of <strong>WP Job Manager</strong> allows for listing jobs and job submissions, If you want to have resumes, application, bookmarks, job alerts and other features you can see on a demo, the best way would be to buy the <strong><a href="https://wpjobmanager.com/add-ons/bundle/">Core Add-on Bundle</a></strong>
</p>
<p>For theme related support request contact me please via <a href="http://themeforest.net/item/workscout-job-board-wordpress-theme/13591801/support">Support page</a></p>
<p> The WP Job Manager plugin and its add-ons are handled by <a href="https://wpjobmanager.com/support/">WPJM support</a>.</p>
<a target="_blank" href="http://purethemes.helpscoutdocs.com/category/4-1-getting-started" class="button">View Documentation</a>
</div>
<?php
}
add_action( 'admin_head', 'lb_welcome_remove_menus' );
function lb_welcome_remove_menus() {
remove_submenu_page( 'index.php', 'lb-welcome-screen' );
}