WordPress.org

Ready to get started?Download WordPress

Forums

Themia Lite
Change the "Leave A Reply" text (4 posts)

  1. MickeyRoush
    Member
    Posted 2 years ago #

    Has anyone successfully change the "Leave A Reply" text on comments?

    I've tried the normal edits Like these:

    In the theme's comments.php file I tried this:

    <?php comment_form(array('title_reply'=>'We like comments. Please leave one, thanks!')); ?>

    and in the theme's function.php file I tried this:

    // Add filter to change the text for commenting
    add_filter( 'comment_form_defaults', 'comment_reform' );

    function comment_reform ($arg) {
    $arg['title_reply'] = __( 'Please leave a comment, thanks!' );
    return $arg;
    }

    Neither worked. I don't want to edit the core files. Does anyone know any other tricks, or why this theme the usual stuff doesn't work?

    I even tried the Custom Comment Message plugin, which I would love to use, but it wouldn't work either. So something tells me, I need to look elsewhere in the theme's files. I've looked in the single.php and page.php files and I don't see anything there. If anyone has any ideas or could at least point me in the right direction I would greatly appreciate it. :)

    http://wordpress.org/extend/themes/themia-lite/

  2. SuziWP
    Member
    Posted 1 year ago #

    Hi

    Did you ever solve this?

    I am having the exact same issue and would appreciate any suggestions.

    Thank you :D

  3. MickeyRoush
    Member
    Posted 1 year ago #

    @ SuziWP

    No, I never figured it out and I don't want to edit core files. Not sure what's going on with it. I couldn't spend any more time on it, so I just left it as is.

    Seems like there are a lot of compatibility issues with this theme. I had to customize certain things.

  4. gizmofreak
    Member
    Posted 1 year ago #

    If you don't wish to change your core file you can use jquery to change Leave A Reply text:

    <script type="text/javascript">
    $(document).ready(function{

    $("#reply-title").text("What ever you wnat")

    Or $("#reply-title").html("What ever you wnat")

    });
    </script>

    Don't forget to include jquery javascript file from google leapis to get this done.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic