Ajax Loop does not work and don't fetch any articles
-
Hello, I have this problem with your plugin. My loop is:
<article class=”row big-block <?php echo $this->get_no_thumb_class();?> entry-post block-post” <?php echo $this->get_item_scope();?>>
<header class=”span8 fluid-offset-none nolinks”>
<?php if (get_post_format($this->post->ID) == ‘video’) {
echo ‘<div class=”flag-label”><span class=”flag-style fCaps fS10 blue-flag”>‘ . get_post_format_string( get_post_format() ) .’</span></div>’;} elseif (get_post_format($this->post->ID) == ‘gallery’) {
echo ‘<div class=”flag-label”><span class=”flag-style fCaps fS10 red-flag”>‘ . get_post_format_string( get_post_format() ) .’</span></div>’;} else {
echo ”;
}
?><div class=”tax fCaps”><?php
$category = get_the_category();
echo ‘<span itemprop=”articleSection”>cat_ID).'” title=”Δε? ?λα τα ?ρθρα στη κατηγορ?α ‘ . $category[0]->cat_name . ‘” rel=”category tag”>’ . $category[0]->cat_name . ‘</span>’;
?></div><div class=”block-title”><?php echo $this->get_title(td_util::get_option(‘tds_mod9_title_excerpt’));?></div>
</header>
<div class=”span8 block-wrap fluid-offset-none clearfix”>
<?php echo $this->get_image(‘art-big-1col’);?>
<div class=”block-content”>
<div class=”block-excerpt”><p class=”credit fCaps fNorm fS10″><?php echo $this->get_date();?></p><div itemprop=”articleBody”><p><?php echo $this->get_excerpt(td_util::get_option(‘tds_mod9_content_excerpt’));?></p></div></div>
<div class=”meta meta-read-more fCaps fLS0 visible-desktop”>
href;?>”><?php echo __td(‘Δι?βασε περισσ?τερα’, TD_THEME_NAME);?>
<?php echo $this->get_commentsAndViews();?>
</div><div class=”cat-share-post”><ul id=”social-tab” class=”social-tab social-sharebox social-init visible-desktop”><?php echo do_shortcode (‘[ultimatesocial networks=”facebook, twitter, google” count=”true” custom_class=”social-sharebox” native=”true”]’) ?></div>
</div>
</div>
</article>
The problem is that ajax lode more does not recognize $this. Could you please tell me that I have to do? Thank you in advance
- The topic ‘Ajax Loop does not work and don't fetch any articles’ is closed to new replies.