Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_page_excerpt() not working
#1
I am building a test site and am having trouble getting get_page_excerpt(250, $file) to work. there are no errors in development tools, debug, errorlog, or on screen.

<section>
<a href="<?php echo $file; ?>" <- this works
<h2><?php echo $page; ?></h2> <-this works
</a><?php get_page_excerpt(250,$file);<- this doesn't work
//getPageContent($file); ?> <- this works
<p><a href="<?php echo $file; ?>">Read More...</a><- this works
</p>
</section>

Any suggestions?
Reply


Messages In This Thread
get_page_excerpt() not working - by bluzer - 2018-05-20, 12:24:06
RE: get_page_excerpt() not working - by Bigin - 2018-05-20, 16:28:16
RE: get_page_excerpt() not working - by Bigin - 2018-05-20, 16:30:07
RE: get_page_excerpt() not working - by Carlos - 2018-05-20, 16:33:23
RE: get_page_excerpt() not working - by bluzer - 2018-05-21, 00:56:24



Users browsing this thread: 1 Guest(s)