Add Image/Content Before Each Comment?

Community Forums Forums General Discussion Add Image/Content Before Each Comment?

This topic is: not resolved

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Doak Heggeness 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #48733

    creative.patience
    Participant
    Post count: 9

    What’s the best way to add an image or some code to appear before each individual comment? Is there a convenient hook we can add_action to? Should we unhook genesis_comments and create our own? Something easier?

    #48752

    Doak Heggeness
    Participant
    Post count: 140

    This might be the easiest. Add a selector in your function to style.

    add_action ( 'genesis_before_comments',  'your_function' );
    This hook executes immediately before the comments block (outside the #comments div).

    Doak Heggeness, WordPress Development | Website

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.