• Resolved karthik85ul

    (@karthik85ul)


    Hi,

    Thanks for this plugin. I am try to update my won template but seems to be the template not updating. Even though I update template from database.

    See below my custom template code.

    <article class="card article excerpt__card  post type-post status-publish format-standard has-post-thumbnail hentry" >
                         <div class="post-content-wrapper-image">
    
                           <?php if (has_post_thumbnail()): ?>
                            <a>" data-lightbox-class="post-lightbox" data-lightbox-showpreloader="true">
                                <?php the_post_thumbnail( 'thumbnail', array('class' => '') ); ?>
                            </a>
    
                            <a>" data-lightbox-class="post-lightbox" data-lightbox-showpreloader="true">
                                <?php the_post_thumbnail( 'medium', array('class' => '') ); ?>
                            </a>
    
                            <?php endif; ?>
                        </div> 
    
                        <div class="post-content-wrapper">
    
                            <div class="post-content <?php if ( ! is_sticky()) echo 'fade-to-white'; ?>">
    
                                <header class="list_post_title">
    
                                    <h2 class="copy--h1"><a>" class="js-lightbox-toggle" data-lightbox-class="post-lightbox" data-lightbox-showpreloader="true" title="<?php the_title(); ?>"><?php echo get_the_title(); ?> </a></h2>
    
                                </header>
    
                                <header class="mobile_list_post_title">
    
                                    <h2 class="copy--h1"><a>" class="js-lightbox-toggle" data-lightbox-class="post-lightbox" data-lightbox-showpreloader="true" title="<?php the_title(); ?>">
                                        <?php   echo  $result = substr(get_the_title(), 0, 105);?>... </a></h2>
    
                                </header>
    
                                <div class="post-footer">
                                        <?php the_post_tax_links( get_the_ID() ); ?>
                                 </div>
                                 <div class="post-read-more">
                                       <a>">Read more...</a>
                                 </div>
    
                        </div>
    
                </article>

    https://wordpress.org/plugins/ajax-load-more/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Default Template not updating’ is closed to new replies.