问题描述
我自定义插件并创建图库。其中我的客户需要与标题共享图像以及描述,但我的代码只共享图像而不是标题和描述。
我的画廊的链接是
http://jmbliss.com/projects/wordpress/?page_id=2#
和js代码正在关注......
inst。$ image.html(
I customize a plugin and create a image gallery. in which my client need to share image with title as well description, but my code only share image not title and description.
the links of my gallery is
http://jmbliss.com/projects/wordpress/?page_id=2#
and code of js is following...
inst.$image.html("
+
"<img src='" + inst.options.skinsfolder + inst.options.fb_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.tumblr_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.pinterest_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.twitter_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.google_icon + "'>" + "
< img src ='+ elem [ELEM_HREF] +'id ='img_for_social'width ='100%'height ='100%'/>);
请帮助我。
<img src='" + elem[ELEM_HREF] + "' id='img_for_social' width='100%' height='100%' />");
Please help me.
推荐答案
+
"<img src='" + inst.options.skinsfolder + inst.options.fb_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.tumblr_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.pinterest_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.twitter_icon + "'> <img src='" + inst.options.skinsfolder + inst.options.google_icon + "'>" + "
< img src ='+ elem [ELEM_HREF] +'id ='img_for_social'width ='100%'height ='100%'/>);
请帮助我。
<img src='" + elem[ELEM_HREF] + "' id='img_for_social' width='100%' height='100%' />");
Please help me.
这篇关于在wordpress的图片库中需要社交媒体共享问题的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!