Treehouse: Grow your CSS skills. Land your dream job.

Replicating a Code via Theme Options or Jquery

  • # July 15, 2010 at 2:02 pm

    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:


    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:

    $(“#content > div”).length //count number of
    //if X Number of
    are found
    //then append inside

    could that be possible?


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.