Posted by CPJS on February 19, 2013 at 12:09pm
Hello,
Normally the ordered list has the following structure:
<ol>
<li>first</li>
<li>second</li>
<li>third</li>
</ol>I would like it to have <span> inside <li> like this:
<ol>
<li><span>first</span></li>
<li><span>second</span></li>
<li><span>third</span></li>
</ol>What is the theming function that does this?
Thanks
Comments
You can overwrite theme
Hi CPJS,
You can use it same as it is.
OR
If it is coming form any theme function, you can overwrite it, you have to check from where it is coming. and use same function in template.php of your theme folder.
Example : If you find theme function is :
function theme_test_ol(){
// some code will be here.
}
Overwriting:
In template.php of your theme folder:
Here "theme" is being replaced by "your_theme_name"
function your_theme_name_test_ol(){
// Overwrite your required code here
}
Hope it will solve your query.
Vikrantrc
Thank for replay, What I mean
Thank for replay,
What I mean is I do not know the function that creates the
<li>insideolin an article. That is what I need.Theme item list
I think theme_item_list is what you're looking for.
Ed