How to edit HTML of my website on WordPress? [closed]

The HTML of a WordPress page is a mix of many sources. Parts of it come from plugins, other parts from the main template, others from the database, others from the core. They can also come from widgets, template options, and so on. Unfortunately, WordPress pages are not on specific files that you can open … Read more

Widget Text Needs to be White [closed]

Without seeing the code it’s a difficult problem to solve, but it sounds like something else is overwriting your code. You may need to be more specific about the H4 you’re targeting footer h4 for instance. You may also need to add !important to your CSS declaration in order to get it to work. See … Read more

Images under 1MB are not being compressed

The closest answer you will find to the exact question you asked is: that feature does not exist, WordPress does not have an image compression feature. That’s not how compression works, compression isn’t something WP does. Your understanding of how WordPress handles image uploads, and your expectations, are incorrect. WP does not store images in … Read more

Add html link in functions.php files of the theme

You are missing a closing tag for the opening link (<a>) tag, try: function filter_woocommerce_checkout_must_be_logged_in_message( $message ) { $message=”<span>You must be <a href=”#”>logged in</a></span>”; return $message; } add_filter( ‘woocommerce_checkout_must_be_logged_in_message’, ‘filter_woocommerce_checkout_must_be_logged_in_message’, 10, 1 ); (You could also just spit out the login form right there instead of linking off, if you wanted): function filter_woocommerce_checkout_must_be_logged_in_message( $message ) … Read more

Adding Plugin Assets to Header

I finally done like this: $form_styles_header = [ “1” => “forms/vendor/bootstrap/css/bootstrap.min.css”, “2” => “forms/fonts/font-awesome-4.7.0/css/font-awesome.min.css”, “3” => “forms/vendor/animate/animate.css”, “4” => “forms/vendor/css-hamburgers/hamburgers.min.css”, “5” => “forms/vendor/animsition/css/animsition.min.css”, “6” => “forms/vendor/select2/select2.min.css”, “7” => “forms/vendor/daterangepicker/daterangepicker.css”, “8” => “forms/css/util.css”, “9” => “forms/css/main.css”, “10” => “table/css/table-styles.css” ]; foreach ($form_styles_header as $no=>$form_style) { wp_enqueue_style(‘du_form_style’.$no, $d_utility_url.”/assets/”.$form_style); } where $d_utility_url is the path to my plugin. … Read more