Remove Hestia footer link

Our file is that: wp-content/themes/hestia/inc/views/main/class-hestia-footer.php Find this: public function bottom_footer_content Update $hestia_general_credits variable like that: $hestia_general_credits = get_theme_mod( ‘hestia_general_credits’, sprintf( /* translators: %1$s is Theme Name, %2$s is WordPress */ esc_html__( ‘%2$s’, ‘Nixarsoft’ ), esc_html__( ‘Nixarsoft’, ‘Nixarsoft’ ), /* translators: %1$s is URL, %2$s is WordPress */ sprintf( ‘<a href=”%1$s” Devamı…

önce , admin tarafından

Convert print_r result to JSON

As you know json_encode is encoding only array or public properties of an object. But print_r can expose the protected and private properties in an object. Sometimes we need to these hidden properties. For this purpose we can convert print_r result to JSON result. Here is the function we need: if (!function_exists(‘pr2json’)) Devamı…

önce , admin tarafından

Disable Chrome “beforeunload” Confirmation

Sometimes websites making some important things and they don’t want to leave or refresh the page until the process finish. But some websites are using this feature for unnecessary things and this become annoying. For solving this problem you can disable “beforeunload” event with UserScript (tempermonkey). In first please install Devamı…

önce , admin tarafından