Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Sujay Pawar on "WordPress Theme Customizer - Hide child option when parent option isn't selected"

$
0
0

Quickly -

I'm trying to figure out "How to hide child options when parent option isn't selected. (in WordPress customizer)

______________

More Details -

There are few bullet points (Parent Options); each might have several child options under it.

Right now what happens is all parents and child options are visible by default when I create a new custom control.

Ex -

# Bullet 1
1
2
3
# Bullet 2 (selected)
I
II
III
# Bullet 3
i
ii
iii

______________

And what I want to do is similar to what happens in default "Static Front Page" customizer setting - The child options should be visible ONLY of the selected parent option.

Ex -

# Bullet 1
# Bullet 2 (selected)
I
II
III
# Bullet 3

______________

Video -

http://www.youtube.com/watch?v=lT_yw2b4KCM

(Video is taken from http://www.yourdomain.com/wp-admin/customize.php - In WordPress Dashboard, Under Appearance -> Themes -> Customize)

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 8245

Trending Articles