• Resolved adsdesignandprint

    (@adsdesignandprint)


    Hi, i’m sure there’s a very simple way of doing this but can’t seem to find it.

    I’m using the ‘pinboard’ theme and have the sticky slider images on the front page. Is there a way to remove the links on these slider images so they aren’t clickable? I just want them as images and not links.

    Any advice is appreciated. Cheers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter adsdesignandprint

    (@adsdesignandprint)

    Thank you for your response i believe this is the relevant bit:

    Hide Picture Link
    In the slider.php after the line:

    <?php if( has_post_thumbnail() ) : ?>
    you have to exclude the following line, like in this example:
    
    <!--
    " rel="bookmark" title="<?php the_title_attribute(); ?>">
    -->

    But where/how do i find the slider.php??

    paul.a.cunn

    (@paulacunngmailcom)

    Go to “Appearance” then “editor” Then in the top right select Pinboard in the drop down menu. You will see many php files pop up on the right side of the screen. Find the “Slider.php” Then make the change in this file and save.

    Thread Starter adsdesignandprint

    (@adsdesignandprint)

    SPOT ON! great. thank you both for your help.

    Thread Starter adsdesignandprint

    (@adsdesignandprint)

    resolved

    I have confirmed this solution but have a little more detail to add. You must comment out the below line and use the comment format like <!– line to comment out –>.

    <article class="post hentry">
    							<?php if( has_post_format( 'video' ) ) : ?>
    								<?php pinboard_post_video(); ?>
    							<?php else : ?>
    								<?php if( has_post_thumbnail() ) : ?>
    
    This is the line to comment out and in this example i have already added the comment formatting.
    <!--<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">-->
    
    									<?php the_post_thumbnail( 'slider-thumb' ); ?>
    									</a>
    								<?php endif; ?>
    <h2 class="entry-title">
    <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

    I hope this helps someone in the future. The Pinboard theme is really pretty nice to use.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    No mention of Child Themes here. Anyone using them?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove slider links’ is closed to new replies.