Search found 16 matches
- Thu May 16, 2024 9:18 pm
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19481
Re: Display regular pages on a static page that is not the homepage
<?php // Get all pages $allPages = $pages->getList(); // Loop through all pages foreach ($allPages as $pageKey) { // Get the page object $post = new Page($pageKey); // Check if the page is not static if ($post->type() !== 'static') { echo '<h2>' . $post->title() . '</h2>'; echo '<p>' . $post->conte...
- Sat May 11, 2024 10:46 am
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19481
- Sat Apr 27, 2024 12:51 pm
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19481
Re: Display regular pages on a static page that is not the homepage
🤔 This still does not show me the normal pages and I have no clue why. The pages I have created are listed within the "pages" tab. This should be correct. If you have any additional plugins or themes that modify standard page behaviors, you might need to adjust the code to accommodate thos...
- Mon Apr 22, 2024 9:54 pm
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19481
Display regular pages on a static page that is not the homepage
Hello! :) I have the following page structure: • Info (Static, defined as the frontpage in the backend) • Projects (Static) • Contact (Static) • Project 1 • Project 2 • ... In my index.php, I have: if ($WHERE_AM_I == 'page') { if ($page->slug() == 'information') { include(THEME_DIR_PHP.'info.php'); ...
- Fri Mar 04, 2022 9:18 am
- Forum: Themes
- Topic: How to fetch all uploaded images
- Replies: 4
- Views: 5811
- Thu Mar 03, 2022 1:36 pm
- Forum: Themes
- Topic: How to fetch all uploaded images
- Replies: 4
- Views: 5811
How to fetch all uploaded images
Hello there, in the backend, i uploaded a bunch of images. Now i want to render these in my template inside a foreach loop. I do not want to place the images inside the text editor, because i want text and images separately. I know i can get the cover image with <?php echo $page->coverImage() ?> But...
- Sat May 23, 2020 12:34 pm
- Forum: General
- Topic: publish .pdf of .doc files
- Replies: 17
- Views: 24217
- Sun May 10, 2020 9:41 am
- Forum: General
- Topic: How does Bludit handle URLs?
- Replies: 4
- Views: 4344
Re: How does Bludit handle URLs?
Perfect, this works!
- Sat May 09, 2020 7:37 pm
- Forum: General
- Topic: How does Bludit handle URLs?
- Replies: 4
- Views: 4344
Re: How does Bludit handle URLs?
Yes, the page is titled with "contact" and I named the template the same.
How can I link an other page in this mail php file?
Code: Select all
header("Location: contact.php?mailsend");- Fri May 08, 2020 12:55 pm
- Forum: General
- Topic: How does Bludit handle URLs?
- Replies: 4
- Views: 4344
How does Bludit handle URLs?
Hi guys, in my contact.php template I have built a contact form like in this turoial: https://www.youtube.com/watch?v=4q0gYjAVonI . When I click on the button, the mail will be sent, so everything is alright so far. But I don’t understand what to put in the last line. header("Location: contact....

