In the same page, i want to display content in separated containers (boxes).
Let`s say for example that i have the following inside /1-About/about.txt
Title: About ----- Container1: # This info in a container (image: container1.img) ----- Container2: # This info in another container (image: container2.img)
I want to make it so the content inside each container field is displayed in separated
div , just as we have using a
foreach($page->children()->visible() in a blog or a gallery, but in my case i do not want subpages, just segmented info inside the page’s .txt
I was able to do that inserting HTML markup inside the .txt file, but i want to do this dynamically with PHP, for the number of n containers.