• Hey,

    I have a javascript function on witch the navigation of my website depends, what i need is a way of getting al the posts id’s into it (ordered by date). The script is located in the header so i dont think <?php the_ID(); ?> will do.

    many thanks in advance!

The topic ‘get all post id's into a javascript function’ is closed to new replies.