Replicating a Code via Theme Options or Jquery
-
Hi Everyone. I’m not sure if Topic describes properly the thing I want to do ?? .
The thing is that I’m trying to Replicate a Code in the Template via Theme Options or maybe could be a different way to do this.
Let me write you the story .
I have this simple code in the Template:
<div class="slidetabs"> <a href="#"></a> <a href="#"></a> <a href="#"></a> </div>
My idea is to add in the Theme Options a box that indicates the number of
<a href="#"></a>
that I want to show in template.is that possible??
or maybe a javascript with jquery that add this option automatically.
I mean , may be I just writing nonsense… but if is possible to do:
count number of <div> inside <div class"exp"> if 4 <div> are found then add <a href="#"></a> inside <div class="slidetabs">
could that be possible?
thanks!
- The topic ‘Replicating a Code via Theme Options or Jquery’ is closed to new replies.