Category: WordPress 6.8
-
Post Views: 33 I recently wanted to add the function of the article to read on the blog. Add the historical pageview to the old article, and realize automatic counting of new visits at the same time, and there is no need to modify the core code of the theme, and do not rely on complex operations. After many times…
-
Post Views: 114 The background When writing a technical blog with a WordPress block editor (Gutenberg), I often need to include multiple code blocks in one article, such as: SQL query (SQL) Go sample code (GO) PHP code (PHP) Description text (Text) Usually, an article will contain about 10 code blocks in combination. This kind of content was very stable…
-
Post Views: 30 1. In the background of WordPress, when switching from the code to visualization, it cannot be switched, and the console reports an error: uncaught typeError: _.pluck is not a function. as shown in Figure 1 2. The description code uses _.pluck(), but the currently loaded version of the underscore.js has been removed. However, some old plugins, themes,…