Title: View Comments setting is missing in Customizer
Last modified: August 30, 2016

---

# View Comments setting is missing in Customizer

 *  Resolved [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [11 years ago](https://wordpress.org/support/topic/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)

 *  [jenkinzz](https://wordpress.org/support/users/jenkinzz/)
 * (@jenkinzz)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473503)
 * What exactly does this toggle?
 * I put the code in exactly where you said, but nothing has shown up in customizer.
   Do I have to plug something else in somewhere else, or is it just not a free 
   feature?
 * I’m hoping this is for showing the # of comments at the top of the posts—they
   have it working on the demo but it doesn’t show up at all on my theme, and I 
   can’t find any setting for it.
 * Same thing with tags, but that’s a story for another thread.
 *  [jenkinzz](https://wordpress.org/support/users/jenkinzz/)
 * (@jenkinzz)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473504)
 * Even though the setting still isn’t showing up, I did enable the functionality
   by going to
 * /core/post-formats/standard.php and commenting out line 37:
 * `<?php // if (suevafree_setting('suevafree_view_comments') == "on" ): ?>`
    and
   the corresponding endif; on 46.
 * This is definitely just a work-around since it only affects standard posts, but
   I can’t find for the life of me the suevafree_view_comments action in the core
   files.
 *  Thread Starter [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473505)
 * It should create an option called View Comments in the Customizer under General–
   Settings.
 * It’s not about showing the number of comments, but just to enable the comments
   part below pages and posts. The theme disables this functionality by default 
   without giving you the option to enable it.
 * This hasn’t been fixed in the recent versions, but you shouldn’t need this option
   once you have it enabled.
 *  Thread Starter [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473506)
 * That’s another workaround, but that will break the functionality after an update.
   My workaround will keep it intact.
 * suavefree_view_comments isn’t an action but an option. However it’s missing in
   the settings, so my code makes the option available in the settings.
 *  Theme Author [alexvtn](https://wordpress.org/support/users/alexvtn/)
 * (@alexvtn)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473514)
 * Hi
 * i fixed this issue and i deleted each reference for the suevafree_view_comments
   option
 * you can download the new version from [https://wordpress.org/themes/download/suevafree.1.4.0.zip](https://wordpress.org/themes/download/suevafree.1.4.0.zip)
 * Best regards
 * Alex
 * WPinProgress
 *  Thread Starter [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473516)
 * This seems to work… thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘View Comments setting is missing in Customizer’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/suevafree/3.9.5.4/screenshot.png)
 * SuevaFree
 * [Support Threads](https://wordpress.org/support/theme/suevafree/)
 * [Active Topics](https://wordpress.org/support/theme/suevafree/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/suevafree/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/suevafree/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 6 replies
 * 3 participants
 * Last reply from: [Jos Klever](https://wordpress.org/support/users/josklever/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/view-comments-setting-is-missing-in-customizer/#post-6473516)
 * Status: resolved