English 中文(简体)
有人能解释一下如何将打开的图形按钮整合到 wordpress 中吗?
原标题:Can someone please explain how to integrate open graph & Like button into wordpress?

我正在尝试执行 Open Graph 和 我的Wordpress 网站上的“类似”按钮。 我希望将“类似”按钮直接放置在Youtube 视频下, 张贴在我的一个 Wordpress 页面上 。

我看过脸书开放图表视频来解释您页面上的代码,但是它并没有解释如何用文字压缩来做到这一点。我已经研究过几个将开放图形应用到您网站的文字压缩插件,但它们似乎都从网站本身获取数据,并自动将其应用到开放图形数据中。在我看来,使用“类似”按钮按字插件,类似按钮自动放在页面的顶部或底部或侧边栏。

谁能帮助我理解 如何将开放图形代码 应用到文字压实中 从而控制代码的所有参数 (图像、 URL、 网站名称、 描述等), 以及如何在我的网页的视频下方直接执行类似按钮?

谢谢

问题回答

不管它是否为“ wordpress ” 。 Wordpress 是框架, 不是语言 。 使用 < a href=" http:// developingers. facebook. com/docs/ reference/ plugins/ like/ " relations/ rel= “ nofolpt” > 类似按钮工具 < / a > 来生成任何页面所需的代码 - wordpress 或其他 -, 并在 < a href=" 上阅读 http:// developers. facebook. com/docs/opengraphoprotocol/" rel=“ no folt" > Open Greappol 来给您一个如何写您的 & lt;head> 一节的想法 。

Facebook s < a href=>"http://developmenters.facebook.com/tools/dobug" rel="nofollow" >Debugging工具 也将帮助您处理您可能遇到的任何缓存问题, 以及您在网站可能发现的其他有用信息 。





相关问题
Wrap stray text in <p> tags

Wordpress issue.. how do I wrap stray text in P tags? Example: Before- <div class = "content"> <img src = "hello.jpg"/> <h1>Introduction</h1> Hello! this is ...

Using jQuery Plugins with Wordpress

Having a bit of trouble using jQuery plugins (Superfish, jQuery UI, etc) using Wordpress. Everything works fine in my plain non-Wordpress site, but Wordpress seems to conflict with JQuery. There must ...

WordPress Data Storage Efficiency

I ve been asked to review a WordPress plugin of sorts and try to find ways of making it faster. The premise of this plugin is basically to store a bunch of users and shifts and appointments and ...

Why can t I properly style a blockquote in Wordpress?

On the design I just created for my website, I have a blockquote styled with two quote images using the span technique in css: blockquote { background-image: url(images/openquote.jpg); background-...

How does the WordPress <!--nextpage--> tag actually work?

What happens? I m guessing that somehow the post or page is parsed before displaying, and then just split into two methods? I can t seem to find any documentation on how the underlying <?php ...

Wordpress Plug-ins: How-to add custom URL Handles

I m trying to write a Wordpress Plug-in but can t seem to figure out how you would modify how a URL gets handled, so for example: any requests made for: <url>/?myplugin=<pageID> will ...

热门标签