php - Social sharing icons missing from blog archive page 1 -


can me solve issues! site: bit.ly/2vdavqz have enabled add sharing icons code, not showing on first pagination, shows page 2,3,4, etc how solve ?

this social sharing script not plugin code given addthis share

 <?php /**  * template part displaying posts  *  * @link https://codex.wordpress.org/template_hierarchy  *  *  */  ?>  <article id="post-<?php the_id(); ?>" <?php post_class(); ?>>     <header class="entry-header">         <?php         if ( is_single() ) :             the_title( '<h1 class="entry-title">', '</h1>' );         else :             the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '"  rel="bookmark" >', '</a></h2>' );         endif;          if ( 'post' === get_post_type() ) :  ?>         <h4 class="meta text-muted">             <?php blog_posted_on(); ?>         </h4><!-- .entry-meta -->         <?php         endif; ?>          <!-- addthis button begin -->     <div class="addthis_inline_share_toolbox_mzc3" style="margin-bottom:20px;" data-title="<?php the_title() ?>" data-url="<?php the_permalink(); ?>" </div>         <!-- addthis button end -->      </header><!-- .entry-header -->      <div class="entry-content">           <?php                      the_content( sprintf (                 /* translators: %s: name of current post. */                 wp_kses(__( 'read more', 'blog' ), array( 'span' => array( 'class' =>  array() ) ) ),                  the_title( '<span class="screen-reader-text">"', '"</span>', false )             ) );                  wp_link_pages( array(                             'before' => '<div class= "page-links">'. esc_html__('pages:', 'blog' ),                             'after'  => '</div>',             ) );         ?>      </div><!-- .entry-content -->      <footer class="entry-footer">         <?php blog_entry_footer(); ?>     </footer><!-- .entry-footer --> </article><!-- #post-## --> 

(template-parts/content-page.php)

<?php /**  * template part displaying page content in page.php  *  * @link https://codex.wordpress.org/template_hierarchy  *  *  */  ?>  <article id="post-<?php the_id(); ?>" <?php post_class(); ?>>     <header class="entry-header">         <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>     </header><!-- .entry-header -->      <div class="entry-content"><hr>         <?php             the_content();               wp_link_pages(array(                 'before' => '<div class="page-links">' . esc_html__('pages:','blog'),                 'after'  => '</div>',             ) );         ?>     </div><!-- .entry-content -->       <?php if ( get_edit_post_link() ) : ?>         <footer class="entry-footer">             <?php                 edit_post_link(                     sprintf(                         /* translators: %s: name of current post */                         esc_html__( 'edit %s', 'blog' ),                         the_title( '<span class="screen-reader-text">"', '"</span>', false )                     ),                     '<span class="edit-link">',                     '</span>'                 );             ?> <hr>         </footer><!-- .entry-footer -->     <?php endif; ?> </article><!-- #post-## --> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -