customising div’s used in dynamic_widgets
-
I’m customizing a theme and I’m not too hot on php. I’d like to add a number to the widget class for each of the dynamic_widget elements.
ATM its printing the following html
<li id=”archives” class=”widget widget_archive”><h2 class=”widgettitle”>Archives</h2>
I’d like to add a new class called widget1, widget2 so it prints like so:
<div id=”sidebar”><li id=”archives” class=”widget widget1 widget_archive”><h2 class=”widgettitle”>Archives</h2>
- …..
- …..
- …..
<li id=”archives” class=”widget widget2 widget_links”><h2 class=”widgettitle”>links</h2>
- …..
- …..
- …..
I’m sure this possible but not entirely how to build it. Can someone help??
many thanks in advance……
D
-
We cannot access or modify the php files here at wordpress.COM, the free hosting service. You need to inquire over at http://wordpress.ORG/support/ . That is where the self-hosted version of wordpress is supported.
-
-
You need to be in the other forum. We cannot help you here, as we do not make those kinds of changes to our blogs; we can’t, since we don’t have access.
-
If you are self-hosted, as I said, you need to inquire over at wordpress.ORG. See my post right above yours.
-
- The topic ‘customising div’s used in dynamic_widgets’ is closed to new replies.