WordPress Error: There has been a critical error on your website. Please check your site admin email inbox for instructions

There are following steps you can refer to resolve such issues. most of times this issue occurs due to bad/partial plugin installation. Always turn on debug.log file using adding below properties in wp-config.php file. define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); Go to wp-content/debug.log file and check if you have any Fatal error there. … Read more

WordPress get plugin directory

Yeah as per description of plugin_dir_path it will give you current plugin file path. But as per what you asking here you can do something like below unfortunately no direct way, Edit: 18-09-2021 The best practice is to use with latest version is WP_PLUGIN_DIR as follow:

Changing code font size on wordpress

Your element seems to be part of the page therefore custom CSS should work. Most probably it is not working as the CSS rules of another stylesheet (probably the WordPress.com default) are stronger or more specific. Try with the CSS !important rule: If this still does not work use more specific CSS selectors with the … Read more

WordPress get_terms() function not display custom taxonomy categories for woocommerce

The following code I wrote is supposed to show all the product categories of a wordpress ecommerce website. I’m using it inside a woocommerce hook that is responsible to render the contents before the main shop page, the woocommerce_before_main_content. I’m not able to get the categories, I will see only one category and the others … Read more