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
.affiliate-disclosure-notice { | |
margin-bottom: 30px; | |
padding: 12px; | |
border-left: 3px solid #dfa29f; | |
color: #4f3526; | |
background-color: #f6f6f6; | |
font-size: 14px; | |
border-radius: 0 2px 2px 0; | |
font-style: italic; | |
text-align: 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
//* Thêm thông báo đầu bài viết. | |
add_action( 'genesis_before_entry_content', 'custom_affiliate_disclosure' ); | |
/** | |
* Add custom affiliate link disclosure notice above the content on single Posts. | |
*/ | |
function custom_affiliate_disclosure() { | |
// if this is not a single Post, abort. | |
if ( ! is_singular( 'post' ) ) { | |
return; |
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
/* Affiliate disclosure note | |
------------------------------------------------------ */ | |
.photo-grid { | |
padding-top: 40px; | |
clear: both; | |
} | |
.photo-grid .wrap { | |
background: #fff; | |
border-radius: 2px; |
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
URL | |
https://www.youtube.com/channel/UCqUB4h0MzMyzvR-LCPVo8QA | |
https://plus.google.com/u/3/107638556251838537360 | |
https://twitter.com/trendsvacuum | |
https://www.linkedin.com/in/trendsvacuum | |
https://medium.com/@trendsvacuum | |
https://www.pinterest.com/trendsvacuum/ | |
https://www.instagram.com/trendsvacuum/ | |
https://github.com/trendsvacuum | |
https://soundcloud.com/trendsvacuum |
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
# Thêm biểu tượng vào themes | |
wp_enqueue_style( | |
'monochrome-ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', | |
array(), | |
CHILD_THEME_VERSION | |
); | |
# Thêm js vào themes | |
wp_enqueue_script( 'genesis-sample', CHILD_URL . '/js/genesis-sample.js', array( 'jquery' ), '1.0.0', true ); |
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
<a href="https://trendsvacuum.com">ttps://trendsvacuum.com</a> - The best vacuum appreciation web brings the useful experience to the consumers. | |
Follow Me: | |
<a href="https://www.youtube.com/channel/UCqUB4h0MzMyzvR-LCPVo8QA">youtube</a> | |
<a href="https://plus.google.com/u/3/107638556251838537360">plus.google.com</a> | |
<a href="https://twitter.com/trendsvacuum">https://twitter.com/trendsvacuum</a> | |
<a href="https://www.linkedin.com/in/trendsvacuum">https://www.linkedin.com/in/trendsvacuum</a> | |
<a href="https://medium.com/@trendsvacuum">https://medium.com/@trendsvacuum</a> | |
<a href="https://www.pinterest.com/trendsvacuum">https://www.pinterest.com/trendsvacuum</a> |
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
<div><?php echo category_description(); ?></div> |
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
Last updated on <time datetime="<?php the_modified_time('Y-m-d'); ?>"><?php the_modified_time('F jS, Y'); ?></time> |
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
<?php the_time('F j Y'); ?> |
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
#disable hotlinking of images with forbidden or custom image option | |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} !^$ | |
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?sampres.com [NC] | |
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?google.com [NC] | |
RewriteRule .(jpg|jpeg|png|gif)$ – [NC,F,L] |