2014-09-28, 05:38:59
I'm trying to get the page content of a page by doing something like this, but I'm not quite sure how to actually implement it with the template tags:
<?php getPageContent( <?php get_parent(); ?>'-sidebar' ); ?>
Essentially getting the content based upon the parent slug.
Any help would be appreciated! Thank you in advance!
<?php getPageContent( <?php get_parent(); ?>'-sidebar' ); ?>
Essentially getting the content based upon the parent slug.
Any help would be appreciated! Thank you in advance!