WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
[resolved] Adjusting Placement (7 posts)

  1. travelvice
    Member
    Posted 3 years ago #

    Howdy again Camu,

    I'd like a little more control over where the subscribe option is placed in/around the comment form. Digging into your code some, looking to see what hook you used to append StCR, I came across this:

    // Show the checkbox - You can manually override this by adding the corresponding function in your template
    add_action('comment_form', 'subscribe_reloaded_show');

    Sounds like I'd be interested in just that. Mind elaborating?

    Cheers

  2. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

  3. travelvice
    Member
    Posted 3 years ago #

    Yep, that's the ticket.

    Added to my location of choice:

    <?php if (function_exists('subscribe_reloaded_show')) subscribe_reloaded_show(); ?>

    This line commented out in the plugin (or else it will still hook and display twice):
    //add_action('comment_form', 'subscribe_reloaded_show');

  4. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Correct. I will also add a new option to the plugin so that you won't have to comment out that line in the future :)

    A vote for my plugin would be a nice way to thank me!

    Camu

  5. travelvice
    Member
    Posted 3 years ago #

    Great to hear!

  6. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Sure, even if I cannot guarantee that will happen soon :)

    Camu

  7. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    I've implemented this in the new version which should be released by the end of next week ;)

    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic