This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sidebar-menu-item-plugins, #sidebar-menu-item-dashboard, #sidebar-menu-item-server-ip-address, #sidebar-menu-item-ftp, #sidebar-menu-item-email, #sidebar-menu-item-dns, #sidebar-menu-item-mail-settings, #sidebar-menu-item-docker, #sidebar-menu-item-containerization, #sidebar-menu-item-cloudlinux, #header-nav-right .hdr-btn{display:none!important} | |
ul#sidebar-menu li:nth-child(2) a:last-child{display:none!important} | |
body { | |
background-image: url(https://live.staticflickr.com/65535/51705970602_9f5ec7b9a8_k.jpg); | |
background-size: 100% 100%; | |
background-attachment: fixed; | |
background-position: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://vutruso.com/wp-config/ | |
# Thay doi url website | |
define('WP_HOME','https://vutruso.vn/'); | |
define('WP_SITEURL','https://vutruso.vn/'); | |
# Tang thoi gian tu dong luu moi 120 giay | |
define( 'AUTOSAVE_INTERVAL', 120 ); | |
# Gioi han save revisions, chi de 8 bang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Add Custom User Profile Fields - Url author | |
*===============================================================*/ | |
// Get user meta on frontend with: get_user_meta( $user_id, "field_id", true ); | |
function vts_url_author( $user ) { | |
$output = ''; $output .= '<h2>'.__("Author Url", "vutruso").'</h2>'; | |
$output .= '<table class="form-table">'; | |
$output .= '<tr>'; | |
$output .= '<th><label for="vts_author_url">'.__("Author url", "vutruso").'</label></th>'; | |
$output .= '<td>'; | |
$output .= '<input placeholder="Author url" type="url" name="vts_author_url" id="vts_author_url" value="'.esc_attr( get_user_meta( $user->ID, 'vts_author_url', true ) ).'" class="regular-text" /><br />'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am vutruso on github. | |
* I am vutruso (https://keybase.io/vutruso) on keybase. | |
* I have a public key whose fingerprint is E52F 4B3C 1080 F180 DE37 4E51 F37A 6805 E523 6244 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('save_post', 'vts_submit_for_review_update', 25 ); | |
function vts_submit_for_review_update($post_id) { | |
if (empty($post_id)) { | |
return; | |
} | |
$post = get_post($post_id); | |
if (!is_object($post)) { | |
return; | |
} |