WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to put "Leave a comment" under your blog. (12 posts)

  1. CompleXed
    Member
    Posted 8 years ago #

    I was wondering if it was possible that under the blog to put a link like "Leave a comment" and then it can forward to the comment area (instead of users have to click my blog title and then scroll down)
    I'm extremely new to CSS, so I'm really sorry if this is an easy fix :).

    Thanks again

  2. lleger
    Member
    Posted 8 years ago #

    You can add something to this effect:
    <?php comments_popup_link(__('Leave a Comment'), __('Comments (1)'), __('Comments (%)'), '', __('<span>Comments Off</span>') ); ?>. I'm sure you had most of the other arguments but I added them so you can nav through and replace it at the appropriate spot in your theme template. Hope this hekps.

  3. CompleXed
    Member
    Posted 8 years ago #

    Which file will I be editing? The Stylesheet?
    Thanks :)

  4. courtneyelizabeth
    Member
    Posted 8 years ago #

    In the index.php or page.php

  5. CompleXed
    Member
    Posted 8 years ago #

    Hmm, I can't seem to find it.
    I looked in my Control Panel for WordPress... can't find either of those 2 files. I went into my server... and looked in the themes folder for Kubrick and found both but neither had that "<?php comments_popup_link" for me to find. Or should I be looking for something else in there?
    my site is http://www.complexed.org if that makes a difference at all.

  6. CompleXed
    Member
    Posted 8 years ago #

    Also, will this effect or mess up my design at all?

  7. CompleXed
    Member
    Posted 8 years ago #

    Still can't quite figure it out. If anyone would take another look it would be greatly appreciated.

  8. jwurster
    Member
    Posted 8 years ago #

    Just a comment - comments are usually associated with a Post. I use a contact form if someone wants to contact me with a comment.

  9. kri
    Member
    Posted 8 years ago #

    In the themes folder for the theme you're currently using (find this in the presentation section of your admin panel), you should find the file named index.php. Put the code shown above in the proper place in the index.php file. You'll need to be familiar with HTML to know where to place it.

  10. kri
    Member
    Posted 8 years ago #

    By the way, you already HAVE something that links to your comments. The link just below the title that says "# comments" is it.

  11. CompleXed
    Member
    Posted 8 years ago #

    Cool thanks :)

  12. Hoodia
    Member
    Posted 8 years ago #

    A good idea that I used in addition to this is to change the text of "Leave a comment" to something else so that the spammers have a tougher time finding your blog.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.