WordPress.org

Forums

Virtue
Can you get rid of portfolio navigation link to the entire Portfolio? (2 posts)

  1. alisonius
    Member
    Posted 1 year ago #

    I have a portfolio with three different portfolio types. Each one has a link in the main navigation bar that goes to a portfolio grid page set to display only that one portfolio type. Is there a way to set the grid icon that shows up in the portfolio item navigation to link to the page of a specific portfolio type, as opposed to a main page of the whole thing? Right now they all direct to the same page (controlled globally in Theme Options>Misc settings), which I can make display any portfolio type I want.

    Is there a way to set the links for those grid icons by portfolio type? Or more likely, is there a way to delete/hide this icon? The arrow navigation is helpful, so I'd rather not lose the whole thing.

    Thanks!

  2. Kadence Themes
    Member
    Theme Author

    Posted 1 year ago #

    In premium you can set the grid to different pages per post but not in free. There isn't any css just to hide the grid. although I might change that so you can in the next update.

    What you would have to do is open the file: virtue/templates/content-singleportfolio.php

    remove lines 6 - 12

    all of this:

    <?php global $virtue; if( !empty($virtue['portfolio_link'])){ ?>
    					 <a href="<?php echo get_page_link($virtue["portfolio_link"]); ?>">
    				<?php } else {?>
    				<a href="../">
    				<?php } ?>
       				<i class="icon-th"></i></a>

    Kadence Themes

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic