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
<!-- Start iamshemul optimize Blogger Title Tag --> | |
<b:if cond='data:blog.url == data:blog.homepageUrl'> | |
<title><data:blog.pageTitle/></title> | |
<b:else/> | |
<title><data:blog.pageName/><b:if cond='data:blog.pageName'> - </b:if><data:blog.title/></title> | |
</b:if> | |
<!-- End iamshemul optimize Blogger Title Tag –> |
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
<!-- http://iamshemul.com/?p=933 Pop up Facebook Likebox Code Start --> | |
<style>#fblikepop{background-color:#fff;display:none;position:fixed;top:200px;_position:absolute; /* hack for IE 6*/width:450px;border:10px solid #6F6F6F;z-index:200;-moz-border-radius: 9px;-webkit-border-radius: 9px;margin:0pt;padding:0pt;color:#333333;text-align:left;font-family:arial,sans-serif;font-size:13px;}#fblikepop body{background:#fff none repeat scroll 0%;line-height:1;margin:0pt;height:100%;}.fbflush{cursor: pointer;font-size:11px !important;color:#FFF !important;text-decoration:none !important;border:0 !important;}#fblikebg{display:none;position:fixed;_position:absolute; /* hack for IE 6*/height:100%;width:100%;top:0;left:0;background:#000000;z-index:100;}#fblikepop #closeable{float:right;margin:7px 15px 0 0;}#fblikepop h1{background:#6D84B4 none repeat scroll 0 0;border-top:1px solid #3B5998;border-left:1px solid #3B5998;border-right:1px solid #3B5998;color:#FFFFFF !important;font-size:14px !important;font-weight:normal !imp |
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
/**Modify “Read More…” Text**http://iamshemul.com/?p=2395 **/ | |
add_filter( 'excerpt_more', 'child_read_more_link' ); | |
add_filter( 'get_the_content_more_link', 'child_read_more_link' ); | |
add_filter( 'the_content_more_link', 'child_read_more_link' ); | |
function child_read_more_link() { | |
return '… <a class="more-link" href="' . get_permalink() . '" rel="nofollow">Continue Reading …</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
/** Display Previous and Next Links After Comment Form*http://iamshemul.com/?p=2395 */ | |
add_action( 'genesis_after_comment_form', 'eo_prev_next_post_nav' ); | |
function eo_prev_next_post_nav() { | |
if ( is_single() ) { | |
echo '<div class="prev-next-navigation">'; | |
previous_post_link( '<div class="previous">Previous article: %link</div>', '%title' ); | |
next_post_link( '<div class="next">Next article: %link</div>', '%title' ); | |
echo '</div><!-- .prev-next-navigation -->'; | |
} | |
} |
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
/** Edit comments form *http://iamshemul.com/?p=2395*/ | |
function modified_comment_form_args($args) { | |
$args['title_reply'] = 'Tell us what you\'re thinking...'; | |
$args['comment_notes_before'] = ' <p class="comment-policy">All comments are moderated.Please Do not Spam</p> | |
<p class="required"><small>* Denotes required field.</small></p>'; | |
$args['comment_field'] = '<p class="comment-form-comment">' . | |
'<textarea id="comment" name="comment" cols="45" rows="8" tabindex="4" aria-required="true"></textarea>' . | |
'</p><!-- #form-section-comment .form-section -->'; | |
return $args; | |
} |
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 a comment policy box in comments*http://iamshemul.com/?p=2395*// | |
add_action( 'genesis_after_comments', 'sp_comment_policy' ); | |
function sp_comment_policy() { | |
if ( is_single() && !is_user_logged_in() && comments_open() ) { | |
?> | |
<div class="comment-policy-box"> | |
<p class="comment-policy"><small><strong>Comment Policy:</strong>Your Comments describes you, so be nice and helpful. Please, only use your real name and Valid Email Address. All Comments are moderated, Spam Comments are deleted and IP blocked.</small></p> | |
</div> | |
<?php | |
} |
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
//Modify Size of Comments Gravatar*http://iamshemul.com/?p=2395*// | |
function child_comment_list_args( $args ) { | |
return array( 'type' => 'comment', 'avatar_size' => 65, 'callback' => 'genesis_comment_callback' ); | |
} | |
add_filter( 'genesis_comment_list_args', 'child_comment_list_args' ); |