[resolved] Remove slider links (8 posts)

  1. adsdesignandprint
    Posted 3 years ago #

    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.

  2. marjolein64
    Posted 3 years ago #

  3. adsdesignandprint
    Posted 3 years ago #

    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??

  4. paul.a.cunn
    Posted 3 years ago #

    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.

  5. adsdesignandprint
    Posted 3 years ago #

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

  6. adsdesignandprint
    Posted 3 years ago #


  7. giggamosis
    Posted 3 years ago #

    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' ); ?>
    								<?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.

  8. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    No mention of Child Themes here. Anyone using them?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic