Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/vaultpress/vaultpress.php on line 677
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/vaultpress/vaultpress.php on line 1247
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/vaultpress/vaultpress.php on line 1248
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/vaultpress/vaultpress.php on line 1249
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/vaultpress/vaultpress.php on line 1251
Deprecated: Function create_function() is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/ninja-forms/deprecated/includes/widget.php on line 118
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/ninja-forms/deprecated/includes/admin/edit-field/li.php on line 247
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/ninja-forms/deprecated/includes/admin/edit-field/li.php on line 247
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/ninja-forms/deprecated/includes/admin/edit-field/li.php on line 247
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/ninja-forms/deprecated/includes/admin/edit-field/li.php on line 247
Deprecated: Function create_function() is deprecated in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/revslider/inc_php/framework/functions_wordpress.class.php on line 240
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/portapag/reliablenetworks.co.uk/wp-content/plugins/user-access-manager/src/Util/Util.php on line 100
/*
* This theme styles the visual editor to resemble the theme style,
* specifically font, colors, icons, and column width.
*/
define('THEME_NAME', 'Jomelle');
define('THEME_VERSION', '1.2.1');
define('TEMPPATH', get_template_directory_uri());
define('IMAGES', TEMPPATH . "/images");
/********* Load Redux Options Framework ***********/
if ( !class_exists( 'ReduxFramework' ) && file_exists( dirname( __FILE__ ) . '/inc/redux/ReduxCore/framework.php' ) ) {
require_once( dirname( __FILE__ ) . '/inc/redux/ReduxCore/framework.php' );
}
if ( !isset( $redux_demo ) && file_exists( dirname( __FILE__ ) . '/inc/redux.php' ) ) {
require_once( dirname( __FILE__ ) . '/inc/redux.php' );
}
/********* AB Shortcodes Plugin - Additional Shortcodes ***********/
require_once 'inc/ab-shortcodes-additional.php';
add_action('after_setup_theme', 'ABdev_jomelle_theme_setup');
if ( ! function_exists( 'ABdev_jomelle_theme_setup' ) ){
function ABdev_jomelle_theme_setup(){
global $jomelle_options;
add_theme_support( 'post-thumbnails' );
add_theme_support('automatic-feed-links');
require_once 'inc/activate_plugins.php';
if( !isset($content_width) ){
$content_width = 1170;
}
load_theme_textdomain('ABdev_jomelle', get_template_directory() . '/languages');
if(isset($jomelle_options['sidebars']) && is_array($jomelle_options['sidebars'])){
foreach($jomelle_options['sidebars'] as $sidebar){
$sidebar_class = ABdev_jomelle_name_to_class($sidebar);
register_sidebar(array(
'name'=>$sidebar,
'before_widget' => '