PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : درخواست ایجاد قسمت اشتراک فید و اشتراک گذاری مطالب



arezu
10-28-2014, 01:52 AM
با سلام.
درخواست ایجاد و کد دو قسمت :
1:ایجاد قسمت اشتراک فیدبرنر
2:ایجاد قسمت اشتراک گذاری مطالب
با استایل زیر که متعلق به وب سایت چهارده می باشد را دارم.
چون واقعا استایل زیبایی هست.

55

با تشکر از شما

admin
10-30-2014, 02:17 PM
سلام دوست عزیز.کدی که میخواستین آماده شد. دلیل کمی طول کشیدنشم این بود که اجازه مدیر سایتش به دستمون نرسیده بود.
این کد یه سری تغییراتی لازم داره.(برای فید لینک فیدتون رو باید قرار بدین و برای اشتراک گذاری هم کدی که لینک صفحه رو به نمایش در میاره)

<style>
.tags{color:#444;background:#f2f2f2;padding:5px 0;border-radius:5px;transition:all .3s ease-out 0s;margin:0 5px 5px}
.tags img{opacity:.6}
.tags img:hover{opacity:1}
.tags:hover{background:#ebebeb}
.tags p{font:13px b yekan,tahoma;color:#34495e;padding:0 5px}
input{font:13px b yekan,tahoma;}
</style>

<div class="tags">
<p style="text-align:center;font:13px Yekan,tahoma;color: #E84a3a;padding:2px">با عضویت در خبرنامه چهارده همیشه بروز باشید.</p>
<form target="popupwindow" onsubmit="window.open('Only the registered members can see the link', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" method="post" action="Only the registered members can see the link" style="text-align:center;">
<input type="email" placeholder="آدرس ایمیل را وارد کنید..." name="email"/>
<input type="hidden" value="4dah/wEMz" name="uri"/>
<input type="hidden" value="en_US" name="loc"/>
<input type="submit" value="عضوم کن" class="comment-button"/>
</form>
<p style="text-align:center;font:12px Yekan,tahoma;color: #34495e;padding:2px">ایمیل خود را بدون www وارد کنید!</p>
</div>

<div class="tags">
<p style="text-align: center; padding-top: 7px;">
<a href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در گوگل" title="اشترک در گوگل" src="Only the registered members can see the link"/></a>
<a title="افزودن استایل تایم لاین فیسبوک به وردپرس + افزونه" href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در گوگل پلاس" title="اشترک در گوگل پلاس" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در استامبل آپن" title="اشترک در استامبل آپن" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="دیگ" title="اشترک در دیگ" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در کلوب" title="اشترک در کلوب" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در فیس نما" title="اشترک در فیس نما" src="Only the registered members can see the link"/></a>
<a title="افزودن استایل تایم لاین فیسبوک به وردپرس + افزونه" href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در تویتر" title="اشترک در تویتر" src="Only the registered members can see the link"/></a>
<a title="افزودن استایل تایم لاین فیسبوک به وردپرس + افزونه" href="Only the registered members can see the link" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در فیسبوک" title="اشترک در فیسبوک" src="Only the registered members can see the link"/></a>
</p>
</div>

arezu
11-02-2014, 11:09 AM
ببخشین با قسمت فید مشکلی ندارم ولی با قسمت اشتراک گذاری یکم مشکل دارم نمیدونم کدها رو چطوری تغییر بدم.
میشه این قسمت رو خودتون تغییر بدین برام کدهاشو درست کنین؟
ممنون

admin
11-05-2014, 11:06 PM
بابت دیر پاسخ دادن عذر میخواهم.
اینم از کدی که میخواستید.

<style>
.tags{color:#444;background:#f2f2f2;padding:5px 0;border-radius:5px;transition:all .3s ease-out 0s;margin:0 5px 5px}
.tags img{opacity:.6}
.tags img:hover{opacity:1}
.tags:hover{background:#ebebeb}
.tags p{font:13px b yekan,tahoma;color:#34495e;padding:0 5px}
input{font:13px b yekan,tahoma;}
</style>

<div class="tags">
<p style="text-align:center;font:13px Yekan,tahoma;color: #E84a3a;padding:2px">با عضویت در خبرنامه چهارده همیشه بروز باشید.</p>
<form target="popupwindow" onsubmit="window.open('Only the registered members can see the link', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" method="post" action="Only the registered members can see the link" style="text-align:center;">
<input type="email" placeholder="آدرس ایمیل را وارد کنید..." name="email"/>
<input type="hidden" value="4dah/wEMz" name="uri"/>
<input type="hidden" value="en_US" name="loc"/>
<input type="submit" value="عضوم کن" class="comment-button"/>
</form>
<p style="text-align:center;font:12px Yekan,tahoma;color: #34495e;padding:2px">ایمیل خود را بدون www وارد کنید!</p>
</div>

<div class="tags">
<p style="text-align: center; padding-top: 7px;">
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در گوگل" title="اشترک در گوگل" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در گوگل پلاس" title="اشترک در گوگل پلاس" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در استامبل آپن" title="اشترک در استامبل آپن" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="دیگ" title="اشترک در دیگ" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در کلوب" title="اشترک در کلوب" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در فیس نما" title="اشترک در فیس نما" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در تویتر" title="اشترک در تویتر" src="Only the registered members can see the link"/></a>
<a href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در فیسبوک" title="اشترک در فیسبوک" src="Only the registered members can see the link"/></a>
</p>
</div>

arezu
11-06-2014, 10:05 AM
سلام
دو تا مشکل دارم با این کد.
1:برای اشتراک گذاری مثلا در فیس نما فقط لینک به اشتراک میذاره و تایتل صفحه رو نمیاره.
2: متاسفانه در پیج سینگل که قرارش میدم در ادامه مطلب قالب رو بهم میریزه یا اصلا نشون نمیده این قسمت اشتراک گذاری رو و یا اگه هم نشون میده به این ترتیب خودش نشون نمیده ایکون های اشتراک گذاری رو به صورت عمودی زیر هم نشون میده با ایکون های خیلی بزرگ فکر کنم 200 پیکسلی.

admin
11-08-2014, 11:38 AM
در مورد مشکل اولت باید بگم کد زیر رو به لینکی که این مشکل رو داره اضافه کن مشکل لینک سایت فیس نما.

title="<?php the_title(); ?>"
در مورد مشکل دومت هم باید بگم که کد سالم هست. میتونید تو ادیتور سایت تست بگیرید ولی مشکلی که پیش میاد دلیلش همخونی نداشتن مد با قالبتون هست. نام اصتایل ها رو تغییر بدید احتمال درست شدنش هست (البته اگه قالبتون استایل واسه تگ ها به صورت پیشفرض نداده باشه)

arezu
11-08-2014, 01:13 PM
دقیقا کجاها رو تغییر بدم؟به چی؟

admin
11-09-2014, 04:01 PM
کد زیر تغییر داده هست. میتونید استفاده کنید.

<style>
.tags{color:#444;background:#f2f2f2;padding:5px 0;border-radius:5px;transition:all .3s ease-out 0s;margin:0 5px 5px}
.tags img{opacity:.6}
.tags img:hover{opacity:1}
.tags:hover{background:#ebebeb}
.tags p{font:13px b yekan,tahoma;color:#34495e;padding:0 5px}
input{font:13px b yekan,tahoma;}
</style>

<div class="tags">
<p style="text-align:center;font:13px Yekan,tahoma;color: #E84a3a;padding:2px">با عضویت در خبرنامه چهارده همیشه بروز باشید.</p>
<form target="popupwindow" onsubmit="window.open('Only the registered members can see the link', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" method="post" action="Only the registered members can see the link" style="text-align:center;">
<input type="email" placeholder="آدرس ایمیل را وارد کنید..." name="email"/>
<input type="hidden" value="4dah/wEMz" name="uri"/>
<input type="hidden" value="en_US" name="loc"/>
<input type="submit" value="عضوم کن" class="comment-button"/>
</form>
<p style="text-align:center;font:12px Yekan,tahoma;color: #34495e;padding:2px">ایمیل خود را بدون www وارد کنید!</p>
</div>

<div class="tags">
<p style="text-align: center; padding-top: 7px;">
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در گوگل" title="اشترک در گوگل" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در گوگل پلاس" title="اشترک در گوگل پلاس" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در استامبل آپن" title="اشترک در استامبل آپن" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="دیگ" title="اشترک در دیگ" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در کلوب" title="اشترک در کلوب" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در فیس نما" title="اشترک در فیس نما" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در تویتر" title="اشترک در تویتر" src="Only the registered members can see the link"/></a>
<a title="<?php the_title(); ?>" href="Only the registered members can see the link echo get_bloginfo('url')."/?p=".$post->ID; ?>" target="_blank" rel="nofollow"><img width="32" height="32" alt="اشترک در فیسبوک" title="اشترک در فیسبوک" src="Only the registered members can see the link"/></a>
</p>
</div>