For example, I have a piece of news that I want to display. Some have one title per line, some have two titles per line, and some have three titles per line. I also want to customize the color, style, etc. of the title. If I write it into a loop , if you think about it, is it very troublesome and not easy to implement? How do you judge whether this line should display one or two, and you can't adjust its order as you like.
The fragmentation function of phpcms solves this problem very well. Write the fragmentation tag in this piece of template file, and you can manage it in the background fragmentation management. The fragmentation function is that you can customize the html in this piece. The html will be reflected here as it is, and it will also be operated in the rich text editor.
This solves the problem.
My website http://www.dayecn.com uses the fragment function to update content in many places on the homepage.