Display message(there is no data available) or empty graph for google pie chart if data is zero using asp.net web form

Display message(there is no data available) or empty graph for google pie chart if data is zero using asp.net web form Below is my script <script type=”text/javascript” src=”https://www.gstatic.com/charts/loader.js”></script> <script type=”text/javascript”> google.charts.load(‘current’, { packages: [‘corechart’] }); </script> <script type=”text/javascript”> // Load the Visualization API and the corechart package. google.charts.load(‘current’, { ‘packages’: [‘corechart’] }); // Set a…

Details

Add Plugin options as subpage to Theme options page

I have an own Theme with an options page. Now I am developing a new Plugin which should have an options page that should be a subpage of the Theme options page. Theme options.php: <?php function xx_theme_admin_menu() { add_menu_page( ‘Theme Settings’, ‘Theme Settings’, ‘manage_options’, ‘xx-settings’, ‘xx_theme_admin_page’ , ‘/wp-content/themes/xx/assets/img/logo-Grayscale-30×25.png’ ); } add_action( ‘admin_menu’, ‘xx_theme_admin_menu’ ); function…

Details

Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well

(oursite.com)/wp-login.php?itsec-hb-token=(our token) all admin logins redirect to the home page (in a logged-in state). all admin users are affected. non-admin users login works well. no code changes have been done. I am the only one allowed to make them. admin admin login worked yesterday. today it’s not. all admin users have the administrator in their…

Details