View Comments setting is missing in Customizer
-
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.
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.
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.
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.
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
Best regards
Alex
WPinProgress
This seems to work… thanks!
The topic ‘View Comments setting is missing in Customizer’ is closed to new replies.

(@josklever)
11 years ago
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:
Hopefully this can be fixed in a next version.