-
AuthorPosts
-
October 5, 2022 at 2:34 pm #1367680
Based on article in https://www.wpbeginner.com/beginners-guide/how-to-show-recent-comments-in-wordpress-sidebar/#latestcommentsblock
it should be possible to add widget “latest comments” to actually show latest comments.
However when I add this on my Enfold site, it does not show the actual comment. It shows only who and under which article commented.Can we somehow fix this so this widget actually shows what is the actual comment?
Thanks
October 6, 2022 at 7:58 am #1367732Hey Jaro,
Thank you for the inquiry.
Are you using the default Recent Comments widget? Have you tried using the Enfold Combo Widget instead? This widget contains multiple tabs which display popular posts, recents posts, tags and recent comments. The theme doesn’t have a dedicated widget for comments but we can modify the combo widget so that it only displays latest comments.
Best regards,
IsmaelOctober 6, 2022 at 8:11 am #1367740Hi Ismael,
Thanks for your reply. Yes I’m using Recent Comments widget” for this one.
I now tried also combo widget but it does it has these issues:
1. No Widget title possible (instead it shows very small “Comments” title)
2. Too big font inside of itNot sure which issue is simpler to fix. Show comments inside of Recent Comments widget or fix two above issues in Combo Widget.
October 7, 2022 at 8:38 am #1367915Hi,
Thank you for the update.
1.) Above the combo widget, you can add another text or html widget and use it as the title of the widget below.
2.) Which fonts or text? The font size of the text inside the combo widget is actually quite small. You can adjust it with this css code if you like.
#top .news-content { padding: 7px 0 3px 0; line-height: 1.7em; position: relative; overflow: hidden; font-size: 1em; display: block; clear: both; margin: 0; }
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelOctober 7, 2022 at 9:06 am #1367920Thanks Ismael.
I’ve tested the above code and nothing really changed for me. I’ve also tried to disable File Compression (both css, javascript) but no change.1. This gives lot of empty space between these two widgets which is not proper
2. The default comments text is too big. See image:
Also if possible I would like to not turn off any performance options in favor of this or install additional plugins.The default wordpres widget should support this nicely https://wordpress.com/support/widgets/recent-comments-widget/ Is there way how to overwrite the one Enfold has? I’m not sure why Enfold would choose to not use this default wordpres widget when it has much better options.
October 7, 2022 at 9:14 am #1367923Hi,
Thank you for following up.
1.) You can use css to pull the combo widget upwards and position it closer to the widget title. Each widget has its own unique ID which can be used to style them.
2.) You don’t have to keep the file compression disabled forever, only while editing the site. We actually increase the size of the text, default is 0.85em. Please try this again.
#top .news-content { font-size: 0.5em; }
OR
#top .news-content { font-size: 11px; }
Best regards,
IsmaelOctober 7, 2022 at 9:23 am #1367925Ismael,
Like I said before there is no change at all to the Combo widget. No matter what code you send it just not reflect in the actual widget.
You can easily check my site, it doesn’t matter what line/font I set, nothing happens there. I can however see these changes are reflected in the default “Recent Comments” widget where font actually changed.
If you want to debug more you can check my site (added private data)October 7, 2022 at 2:25 pm #1367969Hi,
Enfold uses classic widgets and not block widgets and it seems like classic widgets do not display comments on the widget. So I am afraid we do not have a code snippet that we could share that would display the comments on the widget :/
Best regards,
YigitOctober 7, 2022 at 4:07 pm #1367993Yigit,
The combo widget from Enfold shows comments (not the user/post name). But it is specific and seems to ignore all above modifications.
I will then need to reach to some plugin (which I hate).Do you know when Enfold will again start the “Feature request page” ? There are things that would be good to report for them to fix (like the widgets and so on).
Thanks
October 9, 2022 at 9:28 am #1368094At the end I’ve installed “Recent Comments Plus” widget and that resolved this issue for me.
If possible, can you please create feature request for developers to “fix” these widgets and support also the block ones from wordpress? Those seems to have more features already compared to Enfold ones.October 13, 2022 at 9:37 am #1368699Hi,
Glad to know that you have found a plugin that works for you. There are no plans on upgrading the existing widgets for now as they work just fine for a lot of existing users. And as you already know, you can always look for a plugin if the default widgets do not meet your current requirements.
Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
Ismael -
AuthorPosts
- The topic ‘Recent comments widget does not show actual comment content’ is closed to new replies.