error, no result pages
This commit is contained in:
@@ -52,6 +52,17 @@ function dis2019_customizer_settings($wp_customize)
|
||||
'type' => 'number',
|
||||
)));
|
||||
|
||||
$wp_customize->add_setting('dis-2019-posts-on-archive');
|
||||
|
||||
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-posts-on-archive',
|
||||
array(
|
||||
'label' => __('Number of posts on search results and archive pages', 'dis2019'),
|
||||
'section' => 'dis-2019',
|
||||
'description' => __('Search results and archive non tag pages. Use 6*n-1 numbers, e.g. 5, 11, 17, 23... ', 'dis2019'),
|
||||
'settings' => 'dis-2019-posts-on-archive',
|
||||
'type' => 'number',
|
||||
)));
|
||||
|
||||
//__('Choose from most used writer', 'dis2019')
|
||||
// get_theme_mod( 'dis-2019-posts-on-home' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user