Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #22016


    I know this is an unusual question because under normal circumstances these features would be great! but …

    I am using your Choices theme on a project for a Chinese client, aimed at an audience inside china. so the site needs to be optimised for heavily censored chinese search engines such as baidu.

    Facebook and twitter are blocked in China and to avoid running the risk of being penalised for linking to a blocked website –

    I would like to remove like and tweet buttons/counters that appear on the bottom of the blog pages and also if possible leave the comment count and category intact.

    Hiding them with css is not good enough because the links back to fb and twitter will still be crawled by search engines.

    Is there a simple way to remove these?

    If you can point me in the right direction I would be really grateful!

    Thanks :)


    Hi gshim,

    You can just remove function calls in each of the template files. Open up the includes folder an inside loop-index.php remove:

    echo '<div class="like-count minor-meta">';
    echo avia_facebook_like($id);
    echo '</div><span class="text-sep like-count-sep">/</span>';

    echo '<span class="tweets-count minor-meta">';
    echo avia_retweet($id);
    echo '</span><span class="text-sep tweets-count-sep">/</span>';

    Then do the same in loop-portfolio-single.php and I think that would be it. But you can also do a global search through all the theme files to double check.




    Hi Devin,

    That has worked perfectly,

    Thanks! :D


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

The topic ‘How do I Remove or disable the social like / tweet buttons on the blog pages?’ is closed to new replies.