Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zuola

    (@zuola)

    感谢你使用本插件,很高兴有人也用得上 ??

    始终显示繁体和简体两个按钮来手动切换? javascript里要额外多写一个函数来作判断。

    目前的逻辑是,写作者只用繁体或简体来写作,阅读者那边显示繁体还是简体,是由阅读者的浏览器的语言种类来决定。

    除非阅读者的阅读习惯与自己使用的浏览器语言相冲突,否则不用作任何切换。即使遇到有冲突的情况,也只需要一个切换选项,也就是说,只要按一次切换按钮。

    我倾向于只提供一个切换按钮。放两个按钮,其中一个按钮也是假的不起作用的按钮。建议自己放一个实际上不起作用的按钮来装饰 ??

    你试试以下代码看看:

    <a href='javascript:AutoHan_StranBody()' >繁体中文</a>
    <a href='javascript:AutoHan_StranBody()' >简体中文</a>
    • This reply was modified 3 years, 5 months ago by zuola.
    • This reply was modified 3 years, 5 months ago by zuola.

    there are two type of twitter card: summary_large_image and summary

    <meta name=”twitter:card” content=”summary_large_image” />
    if you need change to large image, you need add below code to twitter.php manually, not in the admin panel,shame:

    
    function twitter_card_type( $card_type, $query_type, $object_id )
    {
      return 'summary_large_image';
    }
    add_filter('twitter_card_type', 'twitter_card_type', 10, 3);

    more information from: https://github.com/twitter/wordpress/wiki/Cards

    I am going to vote 1 star, not good plugin, really wast time.

    I hate t.co too.
    I create daily tweets on my blog.but, I hope post original link on my blog.
    how to use expanded_url when create daily digest tweets? I know the json support url and h expanded_url array,but I can’t fix that.
    so I hope….
    and waiting…

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