Support » Plugin: DCO Comment Attachment » Remove the line: You can Upload….

  • Resolved Remco

    (@stifmeister1976)


    Hi,

    Great simple plugin wich do the tricks great.
    However i have 1 question.
    Were can i Add of remove this line under de comment?

    You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Denis Yanchevskiy

    (@denisco)

    Hello @stifmeister1976,

    I’m glad the plugin helped you.

    Were can i Add of remove this line under de comment?

    Unfortunately, this feature is not available in the current version of the plugin.

    I’ve added this enhancement to the plan for the next version.

    But now, as a temporary solution, you can simply delete this line in the plugin on your website.

    Plugin Author Denis Yanchevskiy

    (@denisco)

    I published a new version of the plugin.

    Now you can use the snippet
    add_filter( 'dco_ca_form_element_file_types', '__return_empty_string' );
    to hide this line.

    Put this snippet in the functions.php of the active theme or use a special plugin such as Code Snippets.

    Remco

    (@stifmeister1976)

    Thank you very much for the update plugin 😀
    This works great!

    I can recommend this plugin to everyone.

    Gr, Stifmeister

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.