Can't get shortcode to show anything
-
Hi, I just downloaded this plugin and am hoping to use it to load my posts on a few pages.
However, I can not get any of my posts to show. I’m starting very basic with it.The page im exporting to looks like this:
<?php
/**
* The template for displaying all pages
*/get_header(); ?>
<div id=”main-content” class=”main-content”>
<?php
// Start the Loop.
while ( have_posts() ) : the_post();// Include the page content template.
get_template_part( ‘content’, ‘page’ );
the_title();
the_content();endwhile;
?>
</div><?php
get_footer();And then in the page for the content I have:
[ajax_load_more post_type=”recipes”]News Page
The page simply has the header, the footer and then ‘News’ and ‘News Page.’
I’m not entirely sure what I’m doing wrong ,any help would be apprecietedhttps://www.ads-software.com/plugins/ajax-load-more/
–And to clarify, there are recipe posts that exist already
- The topic ‘Can't get shortcode to show anything’ is closed to new replies.