not working in comments
You are using the wrong code. Use HTML Entities
You are using the wrong code. Use HTML Entities
Just assign something to a variable and output that if(is_page(14) or is_page(16)) { $class_name=”bannerExp”; } if(is_page(18) or is_page(52) or is_page(22) or is_page(20)) { $class_name=”bannerD”; $somevariable=”test”; } if(is_page(27)) {$class_name=”bannerJ”;} if(is_page(25)) {$class_name=”bannerS”;} if(is_page(2)) {$class_name=”bannerH”;} <div class=”<?php echo($class_name);?>”> <?php (if $somevariable != ”) { echo $somevariable;} ?> That being said, this is a horrible way of doing things … Read more
Add Text Area To Child Theme’s Home Page
Adding this code below has fixed the issue .woocommerce-billing-fields__field- wrapper:after { clear: both; display: table; content: ”; } Thanks
You can solve this by using Flexbox. Add the following CSS code somewhere in your theme stylesheet or via dashboard Appearance > Customize > Additional CSS .fusion-copyright-content { display: flex !important; flex-direction: row-reverse !important; } .fusion-copyright-content .fusion-social-links-footer { margin-right: auto !important; }
Adding .html won’t do anything for SEO’s sake – in fact, it will more likely cause problems than anything else. WordPress (and therefore WooCommerce) don’t use HTML files to display – it’s PHP files, which is why if you go to a page like the login, by default it’s something like example.com/wp-login.php. Out of the … Read more
I’ve used these in a template to remove all p tags from an editor: remove_filter(‘acf_the_content’, ‘wpautop’); // This is where the content of the editor was written out by the template add_filter(‘acf_the_content’, ‘wpautop’); //add back the filter //so it doesn’t mess with other stuff Also you could try deleting the line break between the images. … Read more
If for example the shoe tab is second in the nav you could use nav li:nth-child(2) { } For that and let’s say hats are the fourth tab, you would use: nav li:nth-child(4) { } This selects the 2nd and the 4th element that is li inside the nav: <nav> <li></li> <li></li> <-this gets selected … Read more
The problem was due that a caching plugin (Autoptimize) removed Google Fonts. I have unselected the option to remove Google fonts there and now the problem is no more. I will never again let any caching plugin remove this. It’s totally redundant when you have a good theme and right theming, in 2017.
I do assume you have functions.php file in your theme directory after that you can add following code : /*Section for enqueuing styles and scripts*/ function keyword_theme_styles_and_scripts(){ /* Styles Below */ wp_enqueue_style(‘bootstrap-min-css’, ‘https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css’); wp_enqueue_style(‘video-js-min-css’, get_template_directory_uri().’/assets/css/video-js.min.css’); wp_enqueue_style(‘google-fonts’, ‘https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800’); wp_enqueue_style(‘font-awesome-min-css’, get_template_directory_uri().’/assets/font-awesome/css/font-awesome.min.css’); wp_enqueue_style(‘magnific-popup-css’, get_template_directory_uri().’/assets/css/magnific-popup.css’); wp_enqueue_style(‘animate-min-css’, get_template_directory_uri().’/assets/css/animate.min.css’); wp_enqueue_style(‘device-mockups-min-css’, get_template_directory_uri().’/assets/device-mockups/device-mockups.min.css’); wp_enqueue_style(‘main-css’, get_template_directory_uri().’/style.css’); /* Scripts Below */ wp_enqueue_script(‘jquery-min-js’, get_template_directory_uri().’/assets/js/jquery.min.js’, array(), ”, … Read more