View Comments setting is missing in Customizer
-
I noticed that the comments and comment form didn’t show up where I was expecting them and found out that the templates check for an option called ‘suevafree_view_comments’, but that option can’t be changed via the theme settings/customizer.
As a workaround I’ve added the following code to the file wp-content/themes/suevafree/core/admin/customize/customize.php on line 143 so it show up in the customizer via General – Settings:array( "label" => __( "View comments","suevafree"), "description" => __( "View comments","suevafree"), "id" => "suevafree_view_comments", "type" => "select", "section" => "settings_section", "options" => array ( "off" => __( "No","suevafree"), "on" => __( "Yes","suevafree"), ), "std" => "off", ),
Hopefully this can be fixed in a next version.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘View Comments setting is missing in Customizer’ is closed to new replies.