Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6805

    How do I get rid of the read more button for portfolio items?

    #55529

    Hey,

    you can remove them in includes/loop-portfolio.php – search for following code and remove it:

    echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more','avia_framework').'</a>';

    #55530

    I’m not able to locate the loop-portfolio.php page in the includes folder. Has the name or location changed? I’d also like to remove the titles that show up underneath the thumbnails. Can this be done?

    #55531

    Hey,

    the loop-portfolio.php file for Brightbox can still be found in brightboxincludes.

    On line 56 you’ll find the line, as Dude commented.

    echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more','avia_framework').'</a>';

    To hide the titles you can add this to your Quick CSS or custom.css

    .template-portfolio-overview .post-title{display:none;}

    OR you can remove this from your loop-portfolio.php, on line 46

    echo "<h1 class='post-title'><a href='".get_permalink()."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a></h1>";

    I hope this helps :)

    Cheers,

    Chris

    #55532

    I’m a little confused. I’m using the Clean Cut theme and I can’t find anything about Brightbox in my theme. All I need to do is supress the “read more” buttons. The titles are fine.

    #55533

    Sorry, I should have added a link to my test site as this would clarify what I’m using. My bad.

    http://test.singularsoftware.com/video-tutorials-pluraleyes/

    #55534

    Hey,

    That’s because you’ve posted in a topic regarding the Brightbox theme, we didn’t know.

    A quick solution to hide the links is to add this to the bottom your style1.css located in the css folder.

    .page-template-template_portfolio-php .more-link{display:none;}

    Let us know if this works for you :)

    Cheers,

    Chris

    #55535

    Sorry for posting in the wrong area.

    It worked for one of the portfolio pages: http://test.singularsoftware.com/video-tutorials-pluraleyes/

    The read more links are still showing for two other portfolio pages in spite of clearing my cache:

    http://test.singularsoftware.com/video-tutorials-dualeyes/

    http://test.singularsoftware.com/video-tutorials-presto/

    Any thoughts?

    #55536

    Hey,

    you can try this instead of the previous, it should cover everything portfolio related.

    .portfolio .more-link {
    display: none;
    }

    I hope this helps :)

    Regards,

    Chris

    #55537

    Thanks, that worked perfectly.

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

The topic ‘Remove Read More button on Portfolio Items.’ is closed to new replies.