WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Cimy User Extra Fields] Text Separator in form

[Resolved] [Plugin: Cimy User Extra Fields] Text Separator in form

  • How can I place a text-separator in the form, e.g a heading-2 title, so that I can group profile fields together under an appropriate heading.

    Or, if I need to leave detailed instructions on how to complete some fields, I should be able to insert a paragraph of text.

    The separator is for display only, and is not part of the form input.

    The field could simply be of type “Separator”.

    http://wordpress.org/extend/plugins/cimy-user-extra-fields/

Viewing 3 replies - 1 through 3 (of 3 total)
  • In the meantime I see that I could use the description field of the item above, but this would need to allow additional html tags, like hr, p, br, ul, ol, li, etc. I have hacked cimy_uef_functions.php with the following:

    global $allowedtags;
    allowedtags["hr"] = array();
    allowedtags["p"]  = array();
    allowedtags["br"] = array();
    allowedtags["ul"] = array();
    allowedtags["ol"] = array();
    allowedtags["li"] = array();
    allowedtags["h2"] = array();

    This is a little bit ugly, but it works.

    The text-separator idea is a better one.

    Did you add exactly this at the very top of the file successfully?

    I get an error from this..

    “Parse error: syntax error, unexpected ‘[‘ in cimy-user-extra-fields/cimy_uef_functions.php on line 6”

    Plugin Author Marco Cimmino

    @cimmo

    Once again this is for your own security, you can also consider changing directly:
    /wp-includes/kses.php

    but do it if you know what you are doing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Cimy User Extra Fields] Text Separator in form’ is closed to new replies.