get_template_part with Ajax?
How might I go about using Ajax to load a
<?php get_template_part( 'feed-rss' ); ?>obviously loads the file
feed-rss.phpproperly. The problem I’m facing is that the file takes such a long time to load because its parsing an RSS feed. So I’m looking into Ajax solutions that don’t require mangling the templates too much.
.load()I can successfully load the file into the page (but not using
get_template_part()), but it doesn’t load the feed I’m parsing with
- The topic ‘get_template_part with Ajax?’ is closed to new replies.