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

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



    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>';


    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?



    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 :)




    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.


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



    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 :)




    Sorry for posting in the wrong area.

    It worked for one of the portfolio pages:

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

    Any thoughts?



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

    .portfolio .more-link {
    display: none;

    I hope this helps :)




    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.