Skip to content

Instantly share code, notes, and snippets.

Vũ Đức Mạnh manhleo93

Block or report user

Report or block manhleo93

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View photo grid
/* Affiliate disclosure note
------------------------------------------------------ */
.photo-grid {
padding-top: 40px;
clear: both;
.photo-grid .wrap {
background: #fff;
border-radius: 2px;
View gist:b9cbddbc7523ee33ea97620e2c34ab75
View js
# Thêm biểu tượng vào themes
'monochrome-ionicons', '//',
# Thêm js vào themes
wp_enqueue_script( 'genesis-sample', CHILD_URL . '/js/genesis-sample.js', array( 'jquery' ), '1.0.0', true );
View gist:95931651e96fd975592bf2b1d3dfa0fa
<a href="">ttps://</a> - The best vacuum appreciation web brings the useful experience to the consumers.
Follow Me:
<a href="">youtube</a>
<a href=""></a>
<a href=""></a>
<a href=""></a>
<a href=""></a>
<a href=""></a>
View single.php
Last updated on <time datetime="<?php the_modified_time('Y-m-d'); ?>"><?php the_modified_time('F jS, Y'); ?></time>
manhleo93 / single.php
Created Jan 25, 2018
thêm cập nhật cuối wordpress
View single.php
<?php the_time('F j Y'); ?>
manhleo93 / .htaccess
Created Jan 20, 2018
Hướng dẫn chặn hotlinking bằng file .htaccess
View .htaccess
#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)? [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)? [NC]
RewriteRule .(jpg|jpeg|png|gif)$ [NC,F,L]
manhleo93 / functions.php
Created Jan 20, 2018
Loại bỏ Query String trong WordPress
View functions.php
# Loại bỏ Query String trong WordPress
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
manhleo93 / .htaccess
Created Jan 20, 2018
Bật tính năng nén Gzip .htaccess wordpress
View .htaccess
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
You can’t perform that action at this time.