2018-05-20, 12:24:06
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?
<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?