• It’s so hard to see the comment button as it’s like one of the many tags I put in my website. Can I hide the tags? Can I make the comment button stand out on it’s own?

    Thanks!

Viewing 15 replies - 1 through 15 (of 24 total)
  • What do you mean?

    Thread Starter flgirl

    (@flgirl)

    Like this: You see, they all blend in. No one sees the Leave a comment button.

    Tagged 1960’s, 1970’s, atomic ranch, broward county, city of coral springs, city of tamarac, florida golf destination tour, mid-century modern, woodlands, woodlands country club | Leave a comment | Edit

    Do you have a link?

    Thread Starter flgirl

    (@flgirl)

    Are you using a plugin?

    Thread Starter flgirl

    (@flgirl)

    a plug-in for comments? No. Is there one where it would give me a comment button?

    O.K.

    Everything is in span tag, I can’t think of why anyone would do that, so I thought maybe it was plugin.

    Actually you can just find the reference in the php that displays the “Leave A Comment” link(it’s in a span tag), and edit it out of there. I think it’s in the single.php.

    Then make a separate div, place it somewhere below the div that has the span in it, give it a class for styling, and position it from there, by floating it left or right to where ever you want it. place the code you cut from the span into the new div.

    Thread Starter flgirl

    (@flgirl)

    Oh my God, I know a bit of HTML but I don’t think I can do this! OK, thanks for the tips but I’m totally lost…I’m not a programmer!

    Thread Starter flgirl

    (@flgirl)

    Where do I find the Php?

    Thanks!

    Thread Starter flgirl

    (@flgirl)

    I found the comments php…..God, I know you regret helping me now!

    <?php
    /**
    * The template for displaying Comments.
    *
    * The area of the page that contains both current comments
    * and the comment form. The actual display of comments is
    * handled by a callback to twentyten_comment which is
    * located in the functions.php file.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */
    ?>

    <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.’, ‘twentyten’ ); ?></p>
    </div><!– #comments –>
    <?php
    /* Stop the rest of comments.php from being processed,
    * but don’t kill the script entirely — we still have
    * to fully load the template.
    */
    return;
    endif;
    ?>

    <?php
    // You can start editing here — including this comment!
    ?>

    <?php if ( have_comments() ) : ?>
    <h3 id=”comments-title”><?php
    printf( _n( ‘One Response to %2$s’, ‘%1$s Responses to %2$s’, get_comments_number(), ‘twentyten’ ),
    number_format_i18n( get_comments_number() ), ‘‘ . get_the_title() . ‘‘ );
    ?></h3>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : // Are there comments to navigate through? ?>
    <div class=”navigation”>
    <div class=”nav-previous”><?php previous_comments_link( __( ‘<span class=”meta-nav”>←</span> Older Comments’, ‘twentyten’ ) ); ?></div>
    <div class=”nav-next”><?php next_comments_link( __( ‘Newer Comments <span class=”meta-nav”>→</span>’, ‘twentyten’ ) ); ?></div>
    </div> <!– .navigation –>
    <?php endif; // check for comment navigation ?>

    <ol class=”commentlist”>
    <?php
    /* Loop through and list the comments. Tell wp_list_comments()
    * to use twentyten_comment() to format the comments.
    * If you want to overload this in a child theme then you can
    * define twentyten_comment() and that will be used instead.
    * See twentyten_comment() in twentyten/functions.php for more.
    */
    wp_list_comments( array( ‘callback’ => ‘twentyten_comment’ ) );
    ?>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : // Are there comments to navigate through? ?>
    <div class=”navigation”>
    <div class=”nav-previous”><?php previous_comments_link( __( ‘<span class=”meta-nav”>←</span> Older Comments’, ‘twentyten’ ) ); ?></div>
    <div class=”nav-next”><?php next_comments_link( __( ‘Newer Comments <span class=”meta-nav”>→</span>’, ‘twentyten’ ) ); ?></div>
    </div><!– .navigation –>
    <?php endif; // check for comment navigation ?>

    <?php else : // or, if we don’t have comments:

    /* If there are no comments and comments are closed,
    * let’s leave a little note, shall we?
    */
    if ( ! comments_open() ) :
    ?>
    <p class=”nocomments”><?php _e( ‘Comments are closed.’, ‘twentyten’ ); ?></p>
    <?php endif; // end ! comments_open() ?>

    <?php endif; // end have_comments() ?>

    <?php comment_form(); ?>

    </div><!– #comments –>

    In my last reply I said: “I think it’s in the single.php”.

    Thread Starter flgirl

    (@flgirl)

    Sorry!!!!!!

    <?php
    /**
    * The Template for displaying all single posts.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */

    get_header(); ?>

    <div id=”container”>
    <div id=”content” role=”main”>

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

    <div id=”nav-above” class=”navigation”>
    <div class=”nav-previous”><?php previous_post_link( ‘%link’, ‘<span class=”meta-nav”>’ . _x( ‘←’, ‘Previous post link’, ‘twentyten’ ) . ‘</span> %title’ ); ?></div>
    <div class=”nav-next”><?php next_post_link( ‘%link’, ‘%title <span class=”meta-nav”>’ . _x( ‘→’, ‘Next post link’, ‘twentyten’ ) . ‘</span>’ ); ?></div>
    </div><!– #nav-above –>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <h1 class=”entry-title”><?php the_title(); ?></h1>

    <div class=”entry-meta”>
    <?php twentyten_posted_on(); ?>
    </div><!– .entry-meta –>

    <div class=”entry-content”>
    <?php the_content(); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘twentyten’ ), ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>

    <?php if ( get_the_author_meta( ‘description’ ) ) : // If a user has filled out their description, show a bio on their entries ?>
    <div id=”entry-author-info”>
    <div id=”author-avatar”>
    <?php echo get_avatar( get_the_author_meta( ‘user_email’ ), apply_filters( ‘twentyten_author_bio_avatar_size’, 60 ) ); ?>
    </div><!– #author-avatar –>
    <div id=”author-description”>
    <h2><?php printf( esc_attr__( ‘About %s’, ‘twentyten’ ), get_the_author() ); ?></h2>
    <?php the_author_meta( ‘description’ ); ?>
    <div id=”author-link”>
    “>
    <?php printf( __( ‘View all posts by %s <span class=”meta-nav”>→</span>’, ‘twentyten’ ), get_the_author() ); ?>

    </div><!– #author-link –>
    </div><!– #author-description –>
    </div><!– #entry-author-info –>
    <?php endif; ?>

    <div class=”entry-utility”>
    <?php twentyten_posted_in(); ?>
    <?php edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
    </div><!– .entry-utility –>
    </div><!– #post-## –>

    <div id=”nav-below” class=”navigation”>
    <div class=”nav-previous”><?php previous_post_link( ‘%link’, ‘<span class=”meta-nav”>’ . _x( ‘←’, ‘Previous post link’, ‘twentyten’ ) . ‘</span> %title’ ); ?></div>
    <div class=”nav-next”><?php next_post_link( ‘%link’, ‘%title <span class=”meta-nav”>’ . _x( ‘→’, ‘Next post link’, ‘twentyten’ ) . ‘</span>’ ); ?></div>
    </div><!– #nav-below –>

    <?php comments_template( ”, true ); ?>

    <?php endwhile; // end of the loop. ?>

    </div><!– #content –>
    </div><!– #container –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I’m not seeing it there either.

    It’s in a span…

    <span class=”comments-link”>

    …but I can’t tell from here which code/file is generating the source code.

    Thread Starter flgirl

    (@flgirl)

    Could it be here in the Page php?

    <?php
    /**
    * The template for displaying all pages.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site will use a
    * different template.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */

    get_header(); ?>

    <div id=”container”>
    <div id=”content” role=”main”>

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php if ( is_front_page() ) { ?>
    <h2 class=”entry-title”><?php the_title(); ?></h2>
    <?php } else { ?>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php } ?>

    <div class=”entry-content”>
    <?php the_content(); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘twentyten’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
    </div><!– .entry-content –>
    </div><!– #post-## –>

    <?php comments_template( ”, true ); ?>

    <?php endwhile; ?>

    </div><!– #content –>
    </div><!– #container –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    No.

    I FTP’ed it, it’s in loop.php

    Cut this bit out of the “entry-utility” div, put it in it’s own div, give a class so you can style/position it.

    Place the div just below the </div><!-- #post-## -->

    <div class="MyCustomComments">
    
    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    
    </div>
Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘How to make the COMMENTS button stand out from all my tags!’ is closed to new replies.