Hello,
I do a lot of research and experiments if it is possible port my website to GS, here you see my test-website rebuild with GS.
Using parent-pages (template = category.php) also add this category-pages as menu-tem
The child-pages (template = post.php) are subpages from the category-pages
Adding a loop to the homepage that loop over the pages and shows only the post-pages.
This is the code i used and edit:
https://avinashsing.sunkur.com/2011/08/17/script-to-display-pages-or-posts-for-getsimple-cms-in-sidebar/
In the loop you can see that also the category-names (parent-pages) is adding, but how can add the parent-page-url in the loop?
Here you see the backend pages-tab:
And this are a snippet from my code for the loop over the post-pages child-pages (try adding my code here, but doesn't work, so made a screenshot):
In the XML-file there is only the name from the parent-page, but not the url to the parent-file, is there a way adding the parent-page url?
<parent><![CDATA[ontspanning]]></parent>
I do a lot of research and experiments if it is possible port my website to GS, here you see my test-website rebuild with GS.
Using parent-pages (template = category.php) also add this category-pages as menu-tem
The child-pages (template = post.php) are subpages from the category-pages
Adding a loop to the homepage that loop over the pages and shows only the post-pages.
This is the code i used and edit:
https://avinashsing.sunkur.com/2011/08/17/script-to-display-pages-or-posts-for-getsimple-cms-in-sidebar/
In the loop you can see that also the category-names (parent-pages) is adding, but how can add the parent-page-url in the loop?
Here you see the backend pages-tab:
And this are a snippet from my code for the loop over the post-pages child-pages (try adding my code here, but doesn't work, so made a screenshot):
In the XML-file there is only the name from the parent-page, but not the url to the parent-file, is there a way adding the parent-page url?
<parent><![CDATA[ontspanning]]></parent>