GetSimple Support Forum

Full Version: Get Sidebar PHP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to create a template where in the sidebar section it would get the page content from "pageslug-sidebar", I'm probably not doing this right:


Code:
<?php getPageContent((get_page_slug())'-sidebar'); ?>

Is there anyone that could help me out? Thank you in advance.
Code:
<?php getPageContent(return_page_slug().'-sidebar'); ?>
(2016-04-10, 06:22:54)Carlos Wrote: [ -> ]
Code:
<?php getPageContent(return_page_slug().'-sidebar'); ?>

Thank you!