When using the empire cms template to paginate its article list page, the default paging code suffix is: domain name/index_2.html, but some users want to change the underline in front of the number to : "." or other symbols.
First of all, before modifying the background file, you must develop a habit of backing up the file first to avoid easy recovery after modification errors and reduce risks, and then open the background file: e/class/functions.php Find the string with index_, as shown below:
#Open the background file e/class/t_functions.php and search for the functions: sys_ShowListPage, sys_ShowListMorePage, The sys_ShowTextPage and sys_ShowTextPageSelect functions contain '_' strings. Remember not to modify the underscore inside the function. Instead, modify the underscore inside the quotation marks. Some screenshots are as follows:
After modification, when saving the file, be sure to update it in the background to see if there are any grammatical errors. The benefits of modifying the connector: Generally, search engines recognize dotted paths better, so you can change it to "." if it contains pseudonyms. Static makes connectors uniform.
Recommended: Empire cms website building tutorial
The above is the detailed content of How to modify the underline of the article list pagination in the Empire CMS template. For more information, please follow other related articles on the PHP Chinese website!