kmelv85
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 1111 code in head, visible on siteOk I’ve managed to narrow it down to a bizarre problem with the stylesheets which are loaded from my themes functions.php file. If I remove one of the links to the stylesheets, one of the numbers disappears.
Here is the code below:
/*-----------------------------------------------------------------------------------*/ /* Register Core Stylesheets /* These are necessary for the theme to function as intended /* Supports the 'Better WordPress Minify' plugin to properly minimize styleshsets into one. /* https://www.ads-software.com/extend/plugins/bwp-minify/ /*-----------------------------------------------------------------------------------*/ if ( !function_exists( 'st_registerstyles' ) ) { function st_registerstyles() { // Set a dynamic version for cache busting $theme = wp_get_theme(); if(is_child_theme()) { $parent = $theme->parent(); $version = $parent['Version']; } else { $version = $theme['Version']; } $stylesheets = ''; // register the various widths based on max_layout_width option $maxwidth = of_get_option('max_layout_width'); if ($maxwidth) { // load the appropriate stylesheet $stylesheets .= wp_register_style('skeleton', get_bloginfo('template_directory').'/css/skeleton-'.$maxwidth.'.css', array(), $version, 'screen, projection'); } else { //fallback to original for legacy theme compatibility $stylesheets .= wp_register_style('skeleton', get_bloginfo('template_directory').'/css/skeleton-960.css', array(), $version, 'screen, projection'); } // Register all other applicable stylesheets $stylesheets .= wp_register_style('layout', get_bloginfo('template_directory').'/css/layout.css', array(), $version, 'screen, projection'); $stylesheets .= wp_register_style('formalize', get_bloginfo('template_directory').'/css/formalize.css', array(), $version, 'screen, projection'); $stylesheets .= wp_register_style('theme', get_bloginfo('stylesheet_directory').'/style.css', array(), $version, 'screen, projection'); // hook to add additional stylesheets from a child theme echo apply_filters ('child_add_stylesheets',$stylesheets); // enqueue registered styles wp_enqueue_style( 'skeleton'); wp_enqueue_style( 'theme'); wp_enqueue_style( 'layout'); wp_enqueue_style( 'formalize'); } add_action( 'wp_enqueue_scripts', 'st_registerstyles');
- This reply was modified 7 years, 9 months ago by Steven Stern (sterndata). Reason: put code in backticks
Forum: Fixing WordPress
In reply to: 1111 code in head, visible on siteThanks for the idea – I tried installing the plugin and searching all the files but it returned no matches.
Forum: Fixing WordPress
In reply to: 1111 code in head, visible on siteForgot to mention that I’ve already tried disabling all plugins but the code was still present in the head. Also tried updating WP to the latest version, although I have since rolled back so it’s compatible with the translate plugin I’m using.
Forum: Fixing WordPress
In reply to: Error code 1111 in a orange box / orange lineHi – I’m having the exact same problem – do you have any more information or a fix? I can’t work it out!
No, nothing in there. Can’t work it out!
Hi, thank for the reply. I have the ‘show the like box’ ticked and the position is at the top. But it doesn’t show the like box – instead it’s showing the header – ‘View on Facebook’. Even though I have unticked the option to show a header. Interestingly, when I change the like box position from top to bottom – the header moves to the bottom. Something isn’t right.
Forum: Plugins
In reply to: [WooCommerce] Category missing from best sellersJust tried that and it’s still not displaying. No matter what category I put it in, it doesn’t display. But surely too much of a coincidence that none of the food and drink products display in the best sellers?
One thing I did notice under the reports tab – sales by product, is that one of the best sellers of all time must have been deleted, as it doesn’t have a title or link. Do you think this may have affected it? I would have thought not.
Forum: Plugins
In reply to: [WooCommerce] Category missing from best sellersNo, all added as a new product on a fresh WooCommerce and WP install.
It’s most strange!
Forum: Plugins
In reply to: [WooCommerce] Category missing from best sellersYeah I know it’s not category dependent but for some reason the ones missing are from the same category.
I’ve checked the meta data and the total sales is in there, and it’s correct. One of the products is way above the others, so I know it’s the best seller, yet it doesn’t appear.
Hi, this happens to me too – any ideas?
Forum: Plugins
In reply to: [Quiz and Survey Master (QSM) - Easy Quiz and Survey Maker] Required fields(The other settings update fine)
Also have the Whatsapp problem – doesn’t display on my iphone
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Add text to formNo, I mean add a label for a group or fieldset. Eg have some text for ‘Personal Information’ then display the fields. Then have text for ‘Contact Information’ then display the fields.
However, it’s ok. I have managed a workaround using :before css
Forum: Plugins
In reply to: [Pet Manager] Adding more taxonomiesI’d like to do this as well – is it possible?