WordPress.org

Support

Support » How-To and Troubleshooting » Register_sidebar count

Register_sidebar count

  • Hi,

    I want my before_widget to include a count.

    ‘before_widget’ => ‘<div class=”callout-[count]”>’

    So if I have 3 widgets in that sidebar I want this

    <div class=”callout-1″>
    <div class=”callout-2″>
    <div class=”callout-3″>

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Register_sidebar count’ is closed to new replies.
Skip to toolbar