Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Replicating a Code via Theme Options or Jquery

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #29618
    Locke
    Participant

    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:

    Code:


    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:

    Code:
    $(“#content > div”).length //count number of

    inside

    //if X Number of

    are found
    //then append inside

    could that be possible?

    thanks!

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.