サポート » 使い方全般 » 各SNSのシェア設定について

  • 解決済 matilda_77

    (@matilda_77)


    <ul>
    
     <li><a href="http://www.facebook.com/share.php?u=<?php the_permalink(); ?>&t=<?php echo get_the_title(); ?>" target="_blank"><span class="bottom_sns icon-facebook"></span></a></li>
    
     <li><a href="http://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php echo get_the_title(); ?>" target="_blank"><span class="bottom_sns icon-twitter"></span></a></li>
    
    <li><a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" target="_blank"><span class="bottom_sns icon-google-plus"></span></a></li>
    
    <li><a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink(); ?>&text=<?php echo get_the_title(); ?>"><span class="bottom_sns icon-linkedin2"></span></a></li>
    
    <li><a href="http://getpocket.com/edit?url=<?php the_permalink(); ?>&title=<?php echo get_the_title(); ?>"><span class="bottom_sns icon-pocket"></span></a></li>
    
    <li><a href="hatena-bookmark-button social-bo" target="_blank"  href="http://b.hatena.ne.jp/add?mode=confirm&url=<?php the_permalink(); ?>&title=<?php echo get_the_title(); ?>" target="_blank"><span class="bottom_sns icon-hatena"></span></a></li>
    </ul>

    と、オリジナルのシェアボタンを使用したいので、プラグインを使用せずに設定しています。
    ちゃんとシェアする画面は出るのですが、記事タイトルとアイキャッチ画像が出力されません。どのように設定すればいいのでしょうか?
    よろしくお願いします。

3件の返信を表示中 - 1 - 3件目 (全3件中)
  • ヘッダーにOGタグを入れましょう。

    トピック投稿者 matilda_77

    (@matilda_77)

    アイキャッチ画像に設定した画像をシェア事に表示するにはどうしたらいいのでしょうか?
    シェア関係のmetaはall in one seo packで挿入しています。
    <meta property="og:image" content="http://〇〇/wp-content/plugins/all-in-one-seo-pack/images/default-user-image.png" />
    っとhtmlが出力されています。プラグインの設定をどのようにすればいいですか?

    トピック投稿者 matilda_77

    (@matilda_77)

    解決しました!ありがとうございます。設定が勝手に変わってました!

3件の返信を表示中 - 1 - 3件目 (全3件中)
  • トピック「各SNSのシェア設定について」には新たに返信することはできません。