D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Re: Extend Kabbo: Disable Previous/Next Image links/text in Posts?

Front Page D5 Creation Forum General Support Extend Kabbo: Disable Previous/Next Image links/text in Posts? Re: Extend Kabbo: Disable Previous/Next Image links/text in Posts?

#4889
D5 Creation
Keymaster
Quote:
Quote from ms_dstation on March 10, 2014, 23:09
At the bottom of the posts, in addition to the Next Post and Previous Post links with text, there is a Next Image or Previous Image link/text. I don’t want people scrolling through all the images in the gallery, so is there a way to take this off the posts. Something I missed perhaps?

Thanks so much!

Please find these two lines in the single.php file and remove those.

Code:
<div class=”alignleft”><?php previous_image_link( false, of_get_option(‘pi3’, ‘Previous Image’) ); ?></div>
<div class=”alignright”><?php next_image_link( false, of_get_option(‘ni3’, ‘Next Image’) ); ?></div>