• Resolved vincentlopy

    (@vincentlopy)


    Hello Scribu,
    very good plugin!
    For my project, taxonomy should get a dropdown and not autosuggest field. Values of this taxonomy should be taken directly from the database.
    I have written, for example, 4 values ??for the taxonomy. In practice, taxonomy dropdown should be populated dynamically.

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter vincentlopy

    (@vincentlopy)

    resolved Scribu. I have changed in base.php

    if ( $inline || in_array( $data['type'], array( 'input', 'image' ) ) )
    			 $wrap_tag = 'span';
    		else
    		     $wrap_tag = 'div';

    to

    if ( $inline || in_array( $data['type'], array( 'input', 'image' ) ) )
    			 $wrap_tag = 'span';
    		else
    		     $wrap_tag = 'span';

    So only elements is in span attribute. (like in version 1.93.) Its really better so, because there are not problems with alignment in tables.

    Plugin Author scribu

    (@scribu)

    You’re right. If I remember correctly, the reason for sometimes using a div was for W3C compliance, which didn’t really fix anything.

    The latest dev version always uses a span.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘taxonomy should get a dropdown’ is closed to new replies.