Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION getPageContent and get_parent
#1
Question 
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!
Reply


Messages In This Thread
getPageContent and get_parent - by newdeepdan - 2014-09-28, 05:38:59
RE: getPageContent and get_parent - by Carlos - 2014-09-28, 18:05:55



Users browsing this thread: 1 Guest(s)