GetSimple Support Forum

Full Version: Get page title
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Developing my first GetSimple site and enjoying it =)

On my frontpage I have three columns in which i get content via <?php getPageContent('pizzeria'); ?>, and from two other pages made in the admin area, and it's working fine, but when I'm trying tor use <?php get_page_slug('pizzeria'); ?> or <?php get_page_title('pizzeria'); ?> it only gets the title of the front page. I want to get the title that I made in admin panel for the pizzeria-page and the two others.

How do I do that?

Thanks in advance
get_page_slug and get_page_title are for the current page only. Use:

<?php getPageField('pizzeria','title'); ?>

<?php getPageField('pizzeria','slug'); ?>
Yes, that worked!

Thanks, Carlos