WordPress codex for page
How to get the current page slug?
global $post; $slug = get_post( $post )->post_name;
How to remove autocomplete in all fields WordPress CSS? Reason is some fields auto fill is wrong. Example email field auto fill with date of birth. Some users confused of this and don’t want this in their site. Copy the codes below in your functions.php of your current theme folder. add_action( 'init', 'anton_init' ); function…
Having trouble of this errors? Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/wwwcreat/public_html/wp-content/plugins/wp-post-corrector/wp_export.php on line 12 Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 610 is not allowed to access /tmp owned by uid 0 in /home/sitename/public_html/wp-content/plugins/custom-field-suite/includes/classes/form.php on line 42 Fatal error: session_start() [function.session-start]: Failed to…
How to fix the “Google Maps API error: MissingKeyMapError” using WPBakery Visual Composer WordPress plugin? Are having trouble fixing this error on your end? This error is visible in your console developer tools. Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error To fix the issue, first you have to look the script handler that is registered for…
Learning React.js is quit exciting #ReactJS #LearnReact #WebDevelopment #JavaScript #FrontendDev #ReactComponents #CodingTutorial #React101 #DevTips #Programmers
This plugin hasn’t been tested with the latest major releases of WordPress is showed up to my WordPress plugin after I did not update my WordPress plugins for a year I think or months and many WordPress version is released after that. This is the exact notice message displayed: This plugin hasn’t been tested with…
Renaming existing tabs. add_filter( ‘woocommerce_product_tabs’, ‘woo_rename_tabs’, 98 ); function woo_rename_tabs( $tabs ) { $tabs[’description’] = array( ‘title’ => __( ‘WORKING’, ‘woocommerce’ ), ‘priority’ => 10, ‘callback’ => ‘the_content’ ); $tabs[’reviews’] = array( ‘title’ => __( ‘FAULTY’, ‘woocommerce’ ), ‘priority’ => 30, ‘callback’ => ‘woo_before_tabs_title’ ); return $tabs; } function woo_before_tabs_title() { the_field(‘faulty’); } This code…