rehe73 0 ارسال شده در اردیبهشت 95 گزارش بازنشر ارسال شده در اردیبهشت 95 (ویرایش شده) سلام من توی سایت یک گالری ایجاد می کنم توی نوشته تازه و پست می زنم مثلا این [gallery ids="2746,2743,2740,2710,2665,2663,2662"] بعد کدها به این صورت منتشر می شه کد PHP: <div id="gallery-1" class="gallery galleryid-2653 gallery-columns-3 gallery-size-thumbnail"><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/?attachment_id=2746"><img src="http://localhost/wp-content/uploads/2016/04/Masoud-Atashin-Jaye-Khalit-150x150.jpg" class="attachment-thumbnail" alt="dsf" height="150" width="150"></a> </dt> <dd class="wp-caption-text gallery-caption"> dsf </dd></dl><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/2016/03/contrary-to-popular-belief-9/top-slider-3-3/"><img src="http://localhost/wp-content/uploads/2016/04/top-slider-3-150x120.png" class="attachment-thumbnail" alt="df" height="120" width="150"></a> </dt> <dd class="wp-caption-text gallery-caption"> df </dd></dl><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/2016/03/contrary-to-popular-belief-9/2-4/"><img src="http://localhost/wp-content/uploads/2016/04/2-150x150.jpg" class="attachment-thumbnail" alt="dsf" height="150" width="150"></a> </dt> <dd class="wp-caption-text gallery-caption"> dsf </dd></dl><br style="clear: both"><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/?attachment_id=2710"><img src="http://localhost/wp-content/uploads/2016/03/image8_medium-150x150.jpg" class="attachment-thumbnail" alt="image8_medium" height="150" width="150"></a> </dt></dl><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/2016/03/contrary-to-popular-belief-2/top-slider-1/"><img src="http://localhost/wp-content/uploads/2016/03/top-slider-1-150x150.png" class="attachment-thumbnail" alt="top-slider-1" height="150" width="150"></a> </dt></dl><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/2016/03/contrary-to-popular-belief/detail-1/"><img src="http://localhost/wp-content/uploads/2016/03/detail-1-150x150.png" class="attachment-thumbnail" alt="detail-1" height="150" width="150"></a> </dt></dl><br style="clear: both"><dl class="gallery-item"> <dt class="gallery-icon landscape"> <a rel="prettyPhoto[gallery]" href="http://localhost/2016/03/contrary-to-popular-belief/world-1/"><img src="http://localhost/wp-content/uploads/2016/03/world-1-150x150.png" class="attachment-thumbnail" alt="world-1" height="150" width="150"></a> </dt></dl> <br style="clear: both"> </div> من می خوام بجای <a rel="prettyPhoto[gallery]" href="http://localhost/?attachment_id=2710"><img src="http://localhost/wp-content/uploads/2016/03/image8_medium-150x150.jpg" class="attachment-thumbnail" alt="image8_medium" height="150" width="150"></a> لینک مستقیم عکسو بده اینجوری herf رو بده <a rel="prettyPhoto[gallery]" href="http://localhost/wp-content/uploads/2016/04/top-slider-3-150x120.png"><img src="http://localhost/wp-content/uploads/2016/04/top-slider-3-150x120.png" class="attachment-thumbnail" alt="df" height="120" width="150"></a> ویرایش شده اردیبهشت 95 توسط rehe73 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .