WordPress.org

Ready to get started?Download WordPress

Forums

Comment Only On Attachment Single Page ! (1 post)

  1. rennitlb
    Member
    Posted 2 years ago #

    Hello,

    i'm new to wordpress but digged in relatively deep so far.

    for my project i need to comment on attachment posts.

    Is it possible to only comment on attachment single pages and not on their parent posts ?

    i use the toolbox template and added an attachment.php where i want to display the comment box, but inserting comment_template() doesn't call the comment function in the functions.php

    i tried to directly call the comment function, but there are missing some parameters ..also when comitting a comment there stands like "Comments on article not possible"

    if i activate comments for the parent article i have a comment box under the article but i want it to be under the child attachment.

    can anybody help ?

Topic Closed

This topic has been closed to new replies.

About this Topic