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:

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".