You are so very close. In your first line just replace get_option
with get_theme_mod
and you’re done, provided you have already added a customizer control for posts_per_page_option
in the usual way.
You are so very close. In your first line just replace get_option
with get_theme_mod
and you’re done, provided you have already added a customizer control for posts_per_page_option
in the usual way.