View category in the preview of Theme Customizer
-
05-11-2019 - |
Question
I am building a theme which Theme customizer changes colors, sizes, etc. and has also the option to choose a category and style that category specifically.
How can I display that category in the preview (only when the user is changing the corresponding options) instead of the default home/front page displayed by default?
EDIT
I can access the preview window with customize_preview_init, but I can not apply wp_redirect, which I guess could be a way.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange