really simple share button
-
Witam,
Mam problem z wszystkimi wtyczkami które mają udostępniać post na facebooku bo nie pojawia się tytuł postu tylko tytuł strony nie wiem za bardzo w czym jest problem, na google+ działa poprawnie.
single.php:
<!-- Templatka wyglądu pojedyczego wpisu na blogu--> <!--Pobranie nagłówka--> <?php get_header(); ?> <div class="container subpage mar-top-28"> <div class="row"> <div class="col-md-8"> <!--Pobranie treści pojedynczego wpisu--> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="title2 col-md-12"> <!--Wyświetlenie tytułu oraz autora pojedynczego wpisu--> <h2><?php the_title(); ?></h2> <!--Wyświetlenie daty dodania wpisu--> <h6><time><?php the_date(); ?></time></h6> </div> <div class="col-md-12"> <!--Wyświetlenie miniaturki wpisu--> <?php echo get_the_post_thumbnail($page->ID, 'large', array('class' => 'center-block img-responsive')); ?> <!--Wyświetlenie treści pojedynczego wpisu--> <?php the_content(); ?> <div class="pull-right"><?php echo really_simple_share_publish($link = '', $title = ''); ?></div> </div> <!--Wyświetlenie szablonu komentarzy--> <div class="col-md-12"> <?php comments_template(); ?> </div> <?php endwhile; ?> <!-- post navigation --> <?php else: ?> <!-- no posts found --> <?php endif; ?> </div> <div class="col-md-4 clear-pad-right"> <a href="#"><img class="img-responsive facebook" src="<?php bloginfo('stylesheet_directory'); ?>/img/facebook.png" alt="Facebook Teraz Gąbin" width="370" height="200"/></a> <p>Reklama</p> <div class="col-md-12 clear"> <?php $id = about; $post = get_page($id = 86); $content = apply_filters('the_excerpt', $post->post_content); echo $content; ?> </div> </div> </div> </div> <!--Pobranie stopki--> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- Temat ‘really simple share button’ jest zamknięty na nowe odpowiedzi.