Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • cding
    Participant

    @cding

    Yes, I have made a child theme of twentyseventeen. I just don’t know where to put the codes you gave.


    cding
    Participant

    @cding

    Oh, that would be very good!

    I’m sorry that I know nearly nothing about codes.

    By **need to be a function**, do you mean I have to put the code into function.php and add “my_function{…}”?

    I really do not know where to put the second code. My theme is twentyseventeen.


    cding
    Participant

    @cding

    @leog371 It seems you use the wp delete comment function. I want the comment author can delete their own comment and this is why I want to use buddypress delete activity function. Does your function allow the comment author to delete their own function?

    And it is difficult for me find where to put the second codes.
    I try to put it after

      <?php
      wp_list_comments( array(
      'avatar_size' => 100,
      'style' => 'ol',
      'short_ping' => true,
      'reply_text' => twentyseventeen_get_svg( array( 'icon' => 'mail-reply' ) ) . __( 'Reply', 'twentyseventeen' ),
      ) );
      ?>

    but it is not the right place. I want show the button after each comment.


    cding
    Participant

    @cding

    @leog371 The codes work very well! And I also want add buddypress delete comment button after each comment on a blog, so the comment user could delete their own comment. I tried hours but failed to modify the add favorite codes. I konw little about php, would you like to give a hand?


    cding
    Participant

    @cding

    It looks great! thx!


    cding
    Participant

    @cding

    en, maybe some works, but I can’t understand.


    cding
    Participant

    @cding

    Anyone knows?

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar