Hot answers tagged

2

So it seems that there maybe two issues here first it seems that you are not establishing a new instance of a WP_Customize_Control like below and also it is important to remember that you have to give at least the min array items to both the setting and the control or it will not show, you had an empty array in the setting. you also want to make sure that ...


2

I believe to get this working I wasn't calling this at the correct time, and I wrapped it in a function after_setup_theme, like so: add_action( 'after_setup_theme', 'ttp_custom_font_sizes' ); function ttp_custom_font_sizes() { // removes custom font sizes add_theme_support('disable-custom-font-sizes'); // add my own custom sizes ...


1

You will be rejected from the WordPress.org theme direcotry if you include these post types in the theme. The guidelines, which are available here, state: Non-design related functionality is not allowed. (See: Plugin territory examples) And one of the examples is: Custom Post Types and Shortcodes Regarding TGM, the guidelines have this to say: ...


Only top voted, non community-wiki answers of a minimum length are eligible