2016-11-01, 20:54:19
(2016-11-01, 03:29:04)tibbz Wrote: I've used <?php getPageContent(return_page_slug(),'author'); ?> but all I get echoed is the username. How do I get the display name of the user please. It's there in the website.xml properties but not in the page properties.
Hi tibbz,
yes it was my same problem and I "resolved" it in this simple way:
<p>Article by <b style="text-transform: capitalize;">
<?php echo str_replace ( '-', ' ', returnPageField( return_page_slug(), 'author' ) ); ?>
</b></p>
So, for Example, an username name-surname will be displayed as Name Surname.
Much better no? Let me know if it works.
My website made with GetSimple CMS is
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts