Home Forums Plugin Support WP User Frontend Pro HTML field

This topic is: not resolved

This topic contains 11 replies, has 2 voices, and was last updated by  Dimitri 5 years, 1 month ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #17087

    Dimitri
    Member
    Post count: 20

    Hi!

    why if use an html field in order to put this mark-up

    <ul class="left">

    in the front-end I see this mark-up

    <li class="wpuf-el ">
    <div class="wpuf-fields">
    <ul class="left"> </ul>
    </div>
    </li>
    #17092

    Tareq Hasan
    Keymaster
    Post count: 2831

    So you are saying, </ ul > is coming automatically or I am not clear about your question.

    #17096

    Dimitri
    Member
    Post count: 20

    yes and even wrapped by

    <li class="wpuf-el ">
    <div class="wpuf-fields">
    ....
    </div>
    </li>
    #17140

    Tareq Hasan
    Keymaster
    Post count: 2831

    To keep it formatted, it's wrapped by

  • . I know you are trying to make it customize in your way, but right now that wouldn't be possible may be.

#17149

Dimitri
Member
Post count: 20

Sorry but I didn't understand your answer.

I'm saying that the HTML field doesn't work as it should.
Cause if I put:

<ul>

on the frontend it's rendered:

<li class="wpuf-el ">
<div class="wpuf-fields">
<ul></ul>
</div>
</li>

This is for me a bug. Cause I should see just a:

<ul>

I'm I wrong?

#17161

Tareq Hasan
Keymaster
Post count: 2831

No you are not wrong. How are you see the HTML? Via firebug or chrome developer tools? These tools shows you by closing the tags if you didn't already. See it by going actual source, it should be just the

    #17164

    Dimitri
    Member
    Post count: 20

    First of all, I don't see the code in the reply..

    Then, I use firebug and even if I open the source of the web page I see the tag this way:

    <li class="wpuf-el ">
    <div class="wpuf-fields">
    <ul></ul>
    </div>
    </li>

    autoclosed </ul>
    and wrapped by

    <li class="wpuf-el ">
    <div class="wpuf-fields">
    #17172

    Dimitri
    Member
    Post count: 20

    I'm sorry you are rigt the “autoclose” is generated by Firebug, so the problem at the end is that the html tag it's always wrapped by the plugin, right?

    Is there any workaround for this?

    D.

    #17173

    Dimitri
    Member
    Post count: 20

    The point is that I'm looking for a way to “wrap” a group of fields in order to customize the template..

    Thank you

    D.

    #17183

    Tareq Hasan
    Keymaster
    Post count: 2831

    I know what you are trying to do. But the plugin doesn't autoclose the tags, it just prints whatever you enter on the HTML field.

    #17184

    Tareq Hasan
    Keymaster
    Post count: 2831

    You might try the action hook field too http://docs.wedevs.com/using-action-hook-field/

    #17220

    Dimitri
    Member
    Post count: 20

    Hi,

    I've tried your solution and even the action hook field is wrapped by a

    <li><div..>

    that's does not make any sense…

    D.

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

    The topic ‘HTML field’ is closed to new replies.