Tianya PHP blog replaced the Prower-V4 of the topic, found that this topic does not bring the article paging effect, and when you install WordPress paging plug-in WP-PageNavi and open it still does not show paging effect, so I found the modification method using the search engine and showed it in this article.
Tianya PHP blog replaced the Prower-V4 of the topic, found that this topic does not bring the article paging effect, and when you install WordPress paging plug-in WP-PageNavi and open it still does not show paging effect, so I found the modification method using the search engine and showed it in this article.
First, let's talk about this WordPress paging plug-in WP-PageNavi, which is a very useful paging plug-in and of course well-known. However, after I find someone on the Internet has encountered the problem of not displaying pages, I can't solve it myself, so I shirked the responsibility to this plug-in and said, "this plug-in is too old, not compatible with some wordpress themes. No, the reason why your topic does not display paging effect is not the problem of this plug-in, but the problem of your topic. Incompatibility is also caused by the irregularity of your current topic. Okay. if you don't need to talk about these useless things, let's talk about the solution.
At present, the Prower-V4 is not compatible, so it is the topic to illustrate the solution. Next, we will solve the paging problem of the home page, and adjust other pages by yourself.
The code for the page part of the homepage is:
This will only display "previous" and "next". Therefore, modify the settings as follows:
Max_num_pages> 1):?>
After you modify and save the settings, enable the WP-PageNavi plug-in the background and set it up. you can see the paging effect on the foreground. As for the style, you can modify the CSS code of this plug-in.