Results 1 to 6 of 6
Thread: Wordpress jquery
Mar 20, 2012, 04:26 #1
- Join Date
- Jan 2009
- 0 Post(s)
- 0 Thread(s)
I have a super simple WP site here as a demo
It's a header.php, footer.php, index.php and page.php.
I have one page called Page that uses page.php as it's template. The header list the pages so has 'Page' in the header.
Page.php simple has <h4 id="oneBtn">Red</h4>
In header.php I have this jquery to change the color of #oneBtn when the button in the header in clicked.
Once the page has loaded and the Page button in the header is clicked again