Alter Gallery Functionality

  • Posted in : Read WP
  • dsgndrk
    Participant

    I’m wondering if there’s an easy way to off the drill-down to a gallery item. I’d just like to have a bunch of images in the gallery grid, but without the featured image being clickable. I don’t have additional images for users to look at, just want to use the gallery as a visual brand list. Make sense? Thanks in advance!

    Mehmet S.
    Keymaster

    Go to Appearance > Editor > page-gallery.php

    – Remove the lines:

    <div class="mask">
    	<div class="portfolio-info">
    		<h3><?php the_title(); ?></h3>
    		
    		<?php
    			$gl_short_description = stripcslashes( get_option( $post->ID . 'gl_short_description' ) );
    		?>
    		<p class="category"><?php echo $gl_short_description; ?></p>
    	</div>
    	
    	<a href="<?php the_permalink(); ?>"></a>
    </div>
    <!-- end .mask -->
    
    dsgndrk
    Participant

    Awesome, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register