Updated WordPress Popular Posts. Since the classic style can no longer be used, I added an item derived from a new plug-in to the widget.
Important notice for administrators: The WordPress Popular Posts “classic” widget is going away!This widget has been deprecated. Please replace it with the WordPress Popular Posts block or the wpp shortcode as soon as possible.
is displayed, and it is displayed that you are using classic. How can I use it without using classic?
I looked at the topic, but there is no difference in the display method of the widget as before, and even if the plugin is updated to the latest, it should display and function correctly, and an error will occur. If so, does it mean that there is a conflict with some plugin or that it is caused by an external factor?
It seems that the background of the presented trouble and the event that is happening to me are different. The error message is displayed on the widget displaying WordPress Popular Posts on the site with the following message circled in yellow:
Important notice for administrators: The WordPress Popular Posts “classic” widget is going away!
This widget has been deprecated. Please replace it with the WordPress Popular Posts block or the wpp shortcode as soon as possible.
Ah, in that case follow the instructions I mentioned earlier: please replace the classic WordPress Popular Posts widget with either the WordPress Popular Posts block or the [wpp] shortcode.
thank you. Now you know how to create classic WordPress Popular Posts in your posts with Block Editor. But how do I display this in the list on the right? If you access it from a widget, it will inevitably become classic.
I think I understand. Is this a warning in the future until his widget on WordPress Popular Posts is removed?
Temporarily create a new post, insert WordPress Popular Posts in the block editor, set the value, take the generated code in the code editor, put it in the widget block, and the error message disappeared.
”Temporarily create a new post, insert WordPress Popular Posts in the block editor, set the value, take the generated code in the code editor, put it in the widget block, and the error message disappeared.”
If you want to handle the new WordPress Popular Posts in your widget, does the above method work for you?
I have never tried doing it that way to be honest. I’m not near a computer now so I can’t test but I can try it out once I get back.
What I usually do is simply type in /popular and WordPress should auto-suggest the WordPress Popular Posts block right away. Pick that and the block is inserted automatically for you into the post / page / sidebar.
Typing /popular inserted the WordPress Popular Posts block editor stuff! It can be used as it is for posted articles and fixed articles, but it seems that it is necessary to copy the code to display it in the sidebar widget.