New answers tagged

0

I updated only those parts which leads to explain the things which I was trying to tell you in my first answer. plugin-name.php define("PLUGIN_DIR_PATH",plugin_dir_path(__FILE__)); add_action( 'admin_menu', 'wim_register_my_custom_menu_page' ); function wim_register_my_custom_menu_page() { add_menu_page( __( 'Plugin name', 'textdomain' ), ...


0

Add a new URL using add_submenu_page (without any parent assigned) and post your form data on that URL. Refer to this page for adding sub-menu page. Also, you should not send form data on any PHP file like this. This, will opens up your plugin for external attacks. Let, know if you unable to figure out the way of doint this. Have a Good Day!


0

You can try this action. Put this line into your active theme functions.php file remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );


0

Rigidly crop vertically using the "height" style of the "pre" block ... for example, height = 85px


-1

Try this, setTimeout(Place your function here, 2000); After 2 seconds or 5 seconds load this script.


1

It is not recommended to edit the theme file directly. It is best practice to use some sort of plugin. Monster Insight is one of the best available in the market. It is available in the WordPress repository.


1

Paste to the closing </body>tag ... Look for the footer.php file in your theme template on your hosting


1

Try something like this... Add the image path in PHP using an inline style, instead of in your CSS. <div style="background-image: url(<?php echo $image['url']; ?>);" id="home-cover" class="bg-parallax animated fadeIn" > // close div


Top 50 recent answers are included