This file contains hidden or 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
| .adstyle { | |
| background:#f4f4f4; | |
| width:927px; | |
| height:90px; | |
| text-align:right; | |
| float:right; | |
| border:solid 1px #c7c7c7; | |
| } |
This file contains hidden or 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
| function adsense() { | |
| return ‘ | |
| <!– Start Here –> | |
| Paste Your Adsense Code Here | |
| <!– End Here –> | |
| ‘; | |
| } | |
| add_shortcode(‘adsense’, ‘adsense′); |
This file contains hidden or 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
| Redirect 301 /oldpage.html http://www.MyAwesomeWebsite.com/newpage.html |
This file contains hidden or 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
| function get_the_user_ip() { if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) { //check ip from share internet $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) { //to check ip is pass from proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } return apply_filters( 'wpb_get_ip', $ip ); } add_shortcode('show_ip', 'get_the_user_ip'); |
This file contains hidden or 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
| <script src="https://apis.google.com/js/plusone.js"> | |
| </script> | |
| <div class="g-comments" | |
| data-href="<?php the_permalink(); ?>" | |
| data-width="800" | |
| data-first_party_property="BLOGGER" | |
| data-view_type="FILTERED_POSTMOD"> | |
| </div> |
This file contains hidden or 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
| class="?php | |
| /* Only use the authcomment class from style.css if the user_id is 1 (admin) */ | |
| if (1 == $comment-user_id) | |
| $oddcomment = "authcomment"; | |
| echo $oddcomment; " id="comment" |
This file contains hidden or 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
| class="?php echo $oddcomment; ?" id="comment" |