custom css for post

This topic contains 3 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 4 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
December 9, 2013 at 8:22 pm 13546
Tareq Hasan hello i would like to custom css but after fill the i have in my post this
  • Françoise Vogeleer
  • how can i have a class or id with li ?
    December 9, 2013 at 8:26 pm 13547
    christophe christophe

    sorry i have only

    <blockquote><li>
    <label>Nom du bureau d'architecture:</label>
    Françoise Vogeleer
    </li></blockquote>

    and i would like to customise some li not all of them

    December 9, 2013 at 8:30 pm 13548
    christophe christophe

    maybe in this ?`

    $html .= sprintf( '
  • %s
  • ', $attr['label'], make_clickable( implode( ', ', $value ) ) );
    December 11, 2013 at 5:52 pm 13623
    Tareq Hasan Tareq Hasan

    Change the line like this:

    [php]$html .= sprintf( ‘<li class="%s"><label>%s</label>: %s</li>’, esc_attr($attr[‘name’] ), $attr[‘label’], make_clickable( implode( ‘, ‘, $value ) ) );[/php]

    Viewing 3 Posts - 1 through 3 (of 3 total)