This topic contains 11 reply and 2 voices, and was last updated by Dimitri 5 years, 8 months ago
Viewing 11 Posts - 1 through 11 (of 11 total)
Author Posts
March 22, 2014 at 10:47 pm 17087
Dimitri 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>
March 22, 2014 at 11:49 pm 17092
Tareq Hasan Tareq Hasan

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

March 23, 2014 at 12:12 am 17096
Dimitri Dimitri

yes and even wrapped by

<li class="wpuf-el ">
<div class="wpuf-fields">
....
</div>
</li>
March 24, 2014 at 1:45 pm 17140
Tareq Hasan Tareq Hasan

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.

    March 24, 2014 at 2:36 pm 17149
    Dimitri Dimitri

    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?

    March 24, 2014 at 3:52 pm 17161
    Tareq Hasan Tareq Hasan

    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

      March 24, 2014 at 4:48 pm 17164
      Dimitri Dimitri

      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">
      March 24, 2014 at 6:12 pm 17172
      Dimitri Dimitri

      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.

      March 24, 2014 at 6:14 pm 17173
      Dimitri Dimitri

      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.

      March 24, 2014 at 6:53 pm 17183
      Tareq Hasan Tareq Hasan

      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.

      March 24, 2014 at 6:53 pm 17184
      Tareq Hasan Tareq Hasan

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

      March 24, 2014 at 11:58 pm 17220
      Dimitri Dimitri

      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 11 Posts - 1 through 11 (of 11 total)