| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/wp-content/plugins/js_composer/include/templates/pages/vc-welcome/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
preg_match( '/^(\d+)(\.\d+)?/', WPB_VC_VERSION, $matches );
$custom_tag = 'script'; // Update to wp_add_inline later
?>
<div class="wrap vc-page-welcome about-wrap">
<h1><?php echo sprintf( esc_html__( 'Welcome to WPBakery Page Builder %s', 'js_composer' ), esc_html( isset( $matches[0] ) ? $matches[0] : WPB_VC_VERSION ) ); ?></h1>
<div class="about-text">
<?php esc_html_e( 'Congratulations! You are about to use most powerful time saver for WordPress ever - page builder plugin with Frontend and Backend editors by WPBakery.', 'js_composer' ); ?>
</div>
<div class="wp-badge vc-page-logo">
<?php echo sprintf( esc_html__( 'Version %s', 'js_composer' ), esc_html( WPB_VC_VERSION ) ); ?>
</div>
<p class="vc-page-actions">
<?php
if ( vc_user_access()
->wpAny( 'manage_options' )
->part( 'settings' )
->can( 'vc-general-tab' )
->get() && ( ! is_multisite() || ! is_main_site() )
) :
?>
<a href="<?php echo esc_url( admin_url( 'admin.php?page=vc-general' ) ); ?>"
class="button button-primary"><?php esc_html_e( 'Settings', 'js_composer' ); ?></a><?php endif; ?>
<a href="https://twitter.com/share" class="twitter-share-button"
data-via="wpbakery"
data-text="Take full control over your #WordPress site with WPBakery Page Builder page builder"
data-url="https://wpbakery.com" data-size="large">Tweet</a>
<<?php echo esc_attr( $custom_tag ); ?>>! function ( d, s, id ) {
var js, fjs = d.getElementsByTagName( s )[ 0 ], p = /^http:/.test( d.location ) ? 'http' : 'https';
if ( ! d.getElementById( id ) ) {
js = d.createElement( s );
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore( js, fjs );
}
}( document, 'script', 'twitter-wjs' );</<?php echo esc_attr( $custom_tag ); ?>>
</p>
<?php
vc_include_template( '/pages/partials/_tabs.php', array(
'slug' => $page->getSlug(),
'active_tab' => $active_page->getSlug(),
'tabs' => $pages,
) );
?>
<?php
// @codingStandardsIgnoreLine
print $active_page->render();
?>
</div>