jQuery hidden div system

Simple setup that will hide and show divs…

Div 1
Div 2
Div 3
Div 4

Then you can setup a loop to do it automagically with the WordPress loop or the Advanced Custom Fields loop. Here is one that uses the Advanced Custom Fields repeater loop.

First, create your list items to link to the hidden divs. Start a counter to have unique div names.


Then loop through the divs the same way and add the counter…


Leave a Reply

Your email address will not be published. Required fields are marked *

− 3 = 1