June 7, 2021 at 09:33 UTC - Views: 42 #68881
Some of my posts have a large number of comments. So I want to enable the comment pagination (standard WP setting). However it seems, that the navigation is fixed to “next/prev” comments.
Does Waever Xtreme support the selection of a numbered navigation (like it is available for page with posts) ?
Regards, TooniJune 7, 2021 at 17:07 UTC - Views: 38 #68884June 7, 2021 at 21:01 UTC - Views: 35 #68887
There is built in support for handling comments in WordPress: Dashboard -> Settings -> Discussion. There are no Weaver Xtreme options for displaying comments.June 8, 2021 at 08:08 UTC - Views: 30 #68890
@Weaver: Even though your answer is a little bit disappointing, I would like to thank you for thinking about this problem. Hopefully I can find a plugin which is able to switch the navigation display.
Regards, TooniJune 8, 2021 at 14:00 UTC - Views: 25 #68892
I could not find any plugins that has enhanced display of comments, but there might be something with a more persistent search.June 8, 2021 at 16:50 UTC - Views: 23 #68898
I have found an advise to remove the two lines from the theme’s comments.php beginning like:
div class="nav-previous" php previous_comments_link
div class="nav-next" php next_comments_link
and replace it with this one like:
div class="paginate-com" php paginate_comments_links(); /div
Sorry, but I do not know how to insert code in this forum. My first try looked terrible…
I have made a short test and it seems to work like expected.
However, I would like to know what you think about this?
First reason is, that I feel really uncomfortable with editing some theme files.
And as I don’t really know what I’m doing, I cannot see it this modification could cause any problems?
And last: Wouldn’t that be a cool option to implement in weaver xtreme theme? 😉
Regards, TooniJune 8, 2021 at 17:47 UTC - Views: 18 #68900scramblerModerator
If you do modify theme file, you should create a child theme, and make the modification in the child theme.
If not your modification will be lost in the next update.June 9, 2021 at 04:18 UTC - Views: 24 #68923
There are plenty of tutorials on creating child themes. In your case, you would create your own modified comments.php file in the child, and it would replace the default theme version.June 10, 2021 at 09:00 UTC - Views: 12 #68941
Let me ask one last question: Some of the tutorials on creating child themes say that some settings (like menues and widgets settings) will be lost when creating a child theme.
Is this also true for the weaver xtreme theme and can I avoid this by saving all settings with the save/restore function of weaver with the parent theme and then restoring them in the child theme?
Or what is your suggestion?June 10, 2021 at 13:54 UTC - Views: 10 #68943
WordPress keeps menus and widgets in a database entry specific to each theme. It is not uncommon to “lose” settings when changing themes, but not always. These settings are NOT saved in Weaver Xtreme settings.
When I create and activate the example Child Theme provided in the Weaver Xtreme distribution, the menus and widgets seem to be preserved.
You could create a simple child, then see if the menus and widgets stay.
If they don’t, I think there are plugins that allow you to save your menus and widgets.June 10, 2021 at 15:04 UTC - Views: 5 #68945
- You must be logged in to reply to this topic.