Anastasia Che on "[Plugin: Foo Gallery] Template for list of full-size images"

ساخت وبلاگ

Hi, everybody,
can you please help me to figure out - how can I output simple list of full-size images of a gallery?

I created a new foo-template extension for simple list of images, without options.

My template file currently looks this way:

<?php
/** * FooGallery Plain Images gallery template * This is the template that is run when a FooGallery shortcode is rendered to the frontend */
//the current FooGallery that is currently being rendered to the frontend
global $current_foogallery;
//the current shortcode args
global $current_foogallery_arguments;
?>
<ul class="gal large"> <?php foreach ( $current_foogallery->attachments() as $attachment ) { echo '<li>' . $attachment->html( $args ) . '</li>'; } ?>
</ul>

What should I write inside my LI tags (instead of this default code which outputs thumbnail with a link to full-size image) in order to create <IMG> tag with full-size image inside of it?

It should be really easy for programmers, but I'm not one of them unfortunately, that's why I can't find this solution myself. :( Maybe anybody can help with it?

Thank you so much!

https://wordpress.org/plugins/foogallery/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 225 تاريخ : دوشنبه 3 خرداد 1395 ساعت: 7:12