• Hi, I’ve been trying to add different titles for the multi images slideshow, but no luck so far.

    http://pokit.org/get/img/4325efe1974e6cefa1e83a4c75e1a442.jpg
    http://pokit.org/get/img/877d6040d77aa5804605c0e666bbbf3a.jpg

    You can see the name on the both of the images is the same, and i need wordpress to grab the title or description or whatever text it can of the image provided and put it down there, instead using the same title for every one.

    I believe this is the part in the code that does that.

    <?php if($layout == 'full' && count($cust_opt) > 0) {echo '<div class="mg_content_left">';} ?>
    
    				<h1 class="mg_item_title"><?php echo get_the_title($post_id); ?></h1>
    
    				<?php
    				// custom options
    				if(count($cust_opt) > 0) {
    					echo '<ul class="mg_cust_options">';
    					foreach($cust_opt as $copt => $val) {
    						echo '<li><span>'.mg_wpml_string($type, $copt).':</span> '.$val.'</li>';
    					}
    					echo '</ul>';
    				} ?>

    Thanks.

    https://wordpress.org/plugins/media-grid/

  • The topic ‘Media Grid Image Title’ is closed to new replies.