• پایان فعالیت بخشهای انجمن: امکان ایجاد موضوع یا نوشته جدید برای عموم کاربران غیرفعال شده است

اضافه کردن اشتراک گذاری بدون استفاده از افزونه

GraphX

Registered User
تاریخ عضویت
20 می 2009
نوشته‌ها
8,066
لایک‌ها
7,756
محل سکونت
دنيای مجازی
سلام
بعد از مدت ها غیبت برگشتم و واستون این آموزش رو آماده کردم .
از طریق این آموزش می تونید به قالبتون بدون استفاده از افزونه امکان به اشتراک گذاری مطالبتون رو برای کاربران و بازدید کنندگان فراهم کنید
برای شروع کار ابتدا فایل تصاویر را از این لینک دانلود کنید و همراه با پوشه اش کنار فایل های قالبتون آپلود یا بارگزاری کنید. بعد از این کار کافیه از کد های زیر را داخل صفحه single.php بعد از قسمتی که محتوا لود میشه اضافه کنید.
کد:
<a href="http://donbaleh.com/submit.php?url=<?php the_permalink() ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/donbale.gif" alt="Share On Donbale!" width="16px" height="16px" border="0" /></a>
<a href="http://www.oyax.com/send_link.php?&amp;amp;url=<?php the_permalink() ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/Oyax.gif" alt="Share On Oyax" width="16" height="16" border="0" /></a>
<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;amp;Url=<?php the_permalink() ?> + <?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/blinklist.png" alt="Blinklist" width="16px" height="16px" border="0" /></a>
<a href="http://www.netvouz.com/action/submitBookmark?url=<?php the_permalink() ?> + <?php the_title(); ?>&amp;amp;popup=no" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/netvouz.gif" alt="Netvouz" width="16px" height="16px" border="0" /></a>
<a href="http://reddit.com/submit?url=<?php the_permalink() ?> + <?php the_title(); ?>" target="_blank">
<img src="<?php bloginfo('template_url'); ?>/share/reddit.png" alt="Reddit" width="19px" height="15px" border="0" /></a>
<a href="http://friendfeed.com/share/bookmarklet/frame#title=<?php the_title(); ?>&amp;amp;url=<?php the_permalink() ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/FriendFeed.gif" alt="Share On FriendFeed!" width="16" height="16" border="0" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;amp;output=popup&amp;amp;bkmk=<?php the_permalink() ?>&amp;amp;title=<?php the_title(); ?>" rel="nofollow" target="_blank"><img title="Google bookmarks " src="<?php bloginfo('template_url'); ?>/share/googlebookmark.png" alt="Google bookmarks" width="16px" height="16px" align="top" border="0" /></a>
<a href="http://twitter.com/home?status=<?php the_title(); ?> :+ <?php the_permalink() ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/Twitter.gif" alt="Share On Twitter!" width="16" height="16" border="0" /></a>
<a href="http://www.facebook.com/sharer.php?&amp;amp;u=<?php the_permalink() ?>&amp;amp;t=<?php the_title(); ?>" rel="nofollow" target="_blank"><img title="facebook " src="<?php bloginfo('template_url'); ?>/share/facebook.png" alt="facebook" width="16px" height="16px" align="top" border="0" /></a>
<a href="http://technorati.com/faves?add=<?php the_permalink() ?> + <?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/technorati.png" alt="Technorati" width="16px" height="16px" border="0" /></a>
<a href="http://www.google.com/buzz/post?url=<?php the_permalink() ?>&amp;amp;imageurl=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/share/buzz.gif" alt="Google Buzz" width="16px" height="16px" border="0" /></a>
<a href="http://delicious.com/save?url=<?php the_permalink() ?>&amp;amp;title=<?php the_title(); ?>" rel="nofollow" target="_blank">
<img title="del.cio.us " src="<?php bloginfo('template_url'); ?>/share/delicious.png" alt="del.cio.us" width="16px" height="16px" align="top" border="0" /></a>


منبع : اضافه کردن اشتراک گذاری بدون استفاده از افزونه | وردپرس پارسی
 
بالا