Forum Replies Created
-
can you please reply?
in reply to: fonts are changed when activated SSLhello, i was expecting some response. 🙂
in reply to: fonts are changed when activated SSLThere are still some issues left after ther the upgrade, i’m using 1.0.89 version.
Check following screenshotsFonts stills not loading properly with SSL
PS: I use the css you provided for bbpress.
in reply to: fonts are changed when activated SSLOk, here is the new code to replace wp_list_comments.php
and CSS
PHP1234567891011121314.comment-avatar {overflow:hidden;width:45px;height:45px;margin:0 10px 5px -30px;background: white;padding: 2px;-moz-border-radius: 1px;-webkit-border-radius: 1px;box-shadow: 0 0 3px #B5B5B5;-moz-box-shadow: 0 0 3px #b5b5b5;-webkit-box-shadow: 0 0 3px #B5B5B5;float:left;}Replace with following
PHP123456789101112131415161718192021.comment-avatar {overflow:hidden;width:60px;height:60px;margin:0 10px 5px -30px;background: white;padding: none;-moz-border-radius: 1px;-webkit-border-radius: 1px;box-shadow: 0 0 3px #B5B5B5;-moz-box-shadow: 0 0 3px #b5b5b5;-webkit-box-shadow: 0 0 3px #B5B5B5;float:left;}.comment-date {float: right;padding-top: 5px;}.comment-edit {float: right;}i use sahifa theme, in my comment.php nothing looks similar to these, here is my comment php, can anyone please help me?
PHP123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566<div id="comments"><?php if ( post_password_required() ) : ?><p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'tie' ); ?></p></div><!-- #comments --><?phpreturn;endif;?><?php if ( have_comments() ) : ?><h3 id="comments-title"><?php comments_number(__('No comments','tie'), __('One comment','tie'), '% '.__('comments','tie') );?></h3><?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?><div class="navigation"><div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'tie' ) ); ?></div><div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'tie' ) ); ?></div></div> <!-- .navigation --><?php endif; ?><?php $comments_by_type = &separate_comments($comments); ?><?php if ( !empty($comments_by_type['comment']) ) : ?><ol class="commentlist"><?php wp_list_comments('type=comment&callback=custom_comments'); ?></ol><?php endif; ?><?php $comment_counter = 0 ; ?><?php if ( !empty($comments_by_type['pings']) ) : ?><div id="pings" class="commentlist"><ol class="pinglist"><?php wp_list_comments('type=pings&trackback&pingback&callback=custom_pings'); ?></ol></div><?php endif; ?><?php else :if ( ! comments_open() ) :?><?php __( 'Comments are closed.', 'tie' ); ?><?php endif; ?><?php endif; ?><?php$commenter = wp_get_current_commenter();$req = get_option( 'require_name_email' );$aria_req = ( $req ? " aria-required='true'" : '' );$fields = array('author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name', 'tie' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>','email' => '<p class="comment-form-email"><label for="email">' . __( 'Email', 'tie' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .'<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>','url' => '<p class="comment-form-url"><label for="url">' . __( 'Website', 'tie' ) . '</label>' .'<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',);$required_text = __(' Required fields are marked', 'tie').' <span class="required">*</span>';?><?php comment_form( array('fields' => apply_filters( 'comment_form_default_fields', $fields ),'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' , 'tie' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>','logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' , 'tie' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>','comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' , 'tie' ) . ( $req ? $required_text : '' ) . '</p>','title_reply' => __( 'Leave a Reply' , 'tie' ),'title_reply_to' => __( 'Leave a Reply to %s' , 'tie' ),'cancel_reply_link' => __( 'Cancel reply' , 'tie' ),'label_submit' => __( 'Post Comment' , 'tie' ))); ?></div><!-- #comments -->in reply to: Integrating UserPro with your theme comments!here is my comment php, im not sure what to change, they don’t look that familiar with integration guide.
<div id=”comments”>
<?php if ( post_password_required() ) : ?>
<p class=”nopassword”><?php _e( ‘This post is password protected. Enter the password to view any comments.’, ‘tie’ ); ?></p>
</div><!– #comments –>
<?php
return;
endif;
?><?php if ( have_comments() ) : ?>
<h3 id=”comments-title”>
<?php comments_number(__(‘No comments’,’tie’), __(‘One comment’,’tie’), ‘% ‘.__(‘comments’,’tie’) );?>
</h3><?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : ?>
<div class=”navigation”>
<div class=”nav-previous”><?php previous_comments_link( __( ‘<span class=”meta-nav”>←</span> Older Comments’, ‘tie’ ) ); ?></div>
<div class=”nav-next”><?php next_comments_link( __( ‘Newer Comments <span class=”meta-nav”>→</span>’, ‘tie’ ) ); ?></div>
</div> <!– .navigation –>
<?php endif; ?>
<?php $comments_by_type = &separate_comments($comments); ?>
<?php if ( !empty($comments_by_type[‘comment’]) ) : ?>- <?php wp_list_comments(‘type=comment&callback=custom_comments’); ?>
<?php endif; ?>
<?php $comment_counter = 0 ; ?>
<?php if ( !empty($comments_by_type[‘pings’]) ) : ?>
<div id=”pings” class=”commentlist”>- <?php wp_list_comments(‘type=pings&trackback&pingback&callback=custom_pings’); ?>
</div>
<?php endif; ?>
<?php else :
if ( ! comments_open() ) :
?>
<?php __( ‘Comments are closed.’, ‘tie’ ); ?>
<?php endif; ?>
<?php endif; ?><?php
$commenter = wp_get_current_commenter();
$req = get_option( ‘require_name_email’ );
$aria_req = ( $req ? ” aria-required=’true'” : ” );$fields = array(
‘author’ => ‘<p class=”comment-form-author”>’ . ‘<label for=”author”>’ . __( ‘Name’, ‘tie’ ) . ‘</label> ‘ . ( $req ? ‘<span class=”required”>*</span>’ : ” ) .
‘<input id=”author” name=”author” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’,
’email’ => ‘<p class=”comment-form-email”><label for=”email”>’ . __( ‘Email’, ‘tie’ ) . ‘</label> ‘ . ( $req ? ‘<span class=”required”>*</span>’ : ” ) .
‘<input id=”email” name=”email” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’,
‘url’ => ‘<p class=”comment-form-url”><label for=”url”>’ . __( ‘Website’, ‘tie’ ) . ‘</label>’ .
‘<input id=”url” name=”url” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_url’] ) . ‘” size=”30″ /></p>’,
);
$required_text = __(‘ Required fields are marked’, ‘tie’).’ <span class=”required”>*</span>’;
?>
<?php comment_form( array(
‘fields’ => apply_filters( ‘comment_form_default_fields’, $fields ),
‘must_log_in’ => ‘<p class=”must-log-in”>’ . sprintf( __( ‘You must be logged in to post a comment.’ , ‘tie’ ), wp_login_url( apply_filters( ‘the_permalink’, get_permalink( ) ) ) ) . ‘</p>’,
‘logged_in_as’ => ‘<p class=”logged-in-as”>’ . sprintf( __( ‘Logged in as %2$s. Log out?‘ , ‘tie’ ), admin_url( ‘profile.php’ ), $user_identity, wp_logout_url( apply_filters( ‘the_permalink’, get_permalink( ) ) ) ) . ‘</p>’,
‘comment_notes_before’ => ‘<p class=”comment-notes”>’ . __( ‘Your email address will not be published.’ , ‘tie’ ) . ( $req ? $required_text : ” ) . ‘</p>’,
‘title_reply’ => __( ‘Leave a Reply’ , ‘tie’ ),
‘title_reply_to’ => __( ‘Leave a Reply to %s’ , ‘tie’ ),
‘cancel_reply_link’ => __( ‘Cancel reply’ , ‘tie’ ),
‘label_submit’ => __( ‘Post Comment’ , ‘tie’ )
)); ?></div><!– #comments –>
in reply to: Need helpthe “name” shortcode seems to reveal the usernames too, i just wanted the display names or first/last names to be public, but the usernames are public too and that hurts user privacy.
in reply to: v1.0.82: A New Users Table Template! Check it!