11/06/2020

Theme wordpress – betheme bản chuẩn

Betheme version 1.6.2 https://github.com/Themes-wordpress-pub/betheme-version-1.6.2.git
09/12/2019

Query mysql update home and siteurl table wp-option wordpress

UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl.com', 'http://www.newurl.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid […]
19/06/2021

Disable quyền ghi file wordpress

define( 'DISALLOW_FILE_EDIT', true ); define( 'DISALLOW_FILE_MODS', true );
09/03/2020

Automatically Set the WordPress Image Title, Alt-Text & Other Meta

Chèn vào file function.php /* Automatically set the image Title, Alt-Text, Caption & Description upon upload --------------------------------------------------------------------------------------*/ add_action( 'add_attachment', 'my_set_image_meta_upon_image_upload' […]