如何把字preSS后socail分享按钮后摘录下? [英] How to put socail share button in wordpress post under the post excerpt?

查看:128
本文介绍了如何把字preSS后socail分享按钮后摘录下?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我没有任何插件把社交分享按钮下的字preSS后摘录?请参阅此图片明白我想要什么。谢谢

Please tell me is there any plugin to put social share button under wordpress post excerpt? Please see this image to understand what I want. Thanks

推荐答案

您可以使用名为的分享按钮来实现这一目标。一旦安装,激活,选择你想加入什么图标。添加下面的页面(S)的摘录(只是调用摘录后)。

You can use a WordPress plugin called Share Buttons to achieve this. Once installed, activated and chosen what icons you want added. Add the following to the page(s) with the excerpt (just after calling the excerpt).

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

在code会是这样的:

The code would be something like:

<?php the_excerpt(); ?>
<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

这可能取决于你如何做了摘录是不同的。

It might be different depending on how you have done the excerpt.

这篇关于如何把字preSS后socail分享按钮后摘录下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆