WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Donations
[resolved] How do I hide the comments text area and its label? (4 posts)

  1. mendocinotim
    Member
    Posted 1 year ago #

    Today I purchased your CP Donations Pro plugin for WP, and am using the Standard Donation widget.

    I don't want there to be a comments textarea (or its label) in the widget; but there's no way to hide these that I can find.

    Since they are not contained within their own div tag, I am unable to use the "Visibility: hidden" mod to the css rule - as this still leaves an open space, even though the label and textarea are hidden by this method.

    My first thought is that you might want to add in a preference setting to disable comments.

    My second thought is you might want to put these inside their own div tag - so at least this can be hidden completely - with no space left behind - using CSS.

    Please advise on this.
    Thank you.

    http://wordpress.org/extend/plugins/custom-post-donations/

  2. mendocinotim
    Member
    Posted 1 year ago #

    I was also wondering - do you have plans to add any kind of admin area history of donations section, as well as a way to say thank you when someone donates?

  3. hahncgdev
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Comments are only available in the PRO version. The PRO version (3.2) now has the comments field and label wrapped in a paragraph tag with the class 'cp-donation-comment'. This will allow you to use CSS to hide this section.

    Thanks!

  4. mendocinotim
    Member
    Posted 1 year ago #

    Thanks for the CSS tip - that worked 'using the following CSS mod..

    #cpDonation label.cp-donation {
    visibility: hidden;
    height: 0;
    }

    What about my second question though, where I said..

    I was also wondering - do you have plans to add any kind of admin area history of donations section, as well as a way to say thank you when someone donates?

    Thanks much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic