Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17753

    Hello,

    Can pages be used as portfolio items?

    I would like the thumbnails from the portfolio to originate from pages.

    This is so they act as a short cut to pages that can also be found in the navigation menu.

    Thank you!

    #96683

    Hi,

    What you can do is to create a page then create a portfolio item, upload an image and look for “Apply Link to image?”, link it manually to the page.

    Regards,

    Ismael

    #96684

    Thanks for your prompt response :)

    When the text is clicked (ie the portfolio title) it still takes the user to the portfolio page. Is there a way round this? If not, no big deal.

    I’m formerly a Studiopress user and was so reluctant to leave, but I love, love, love this theme!

    #96685

    Hi,

    That’s how it works. I’m not certain if we can work around linking the portfolio title to a certain page. By the way, let me tag the rest of the support team.

    Regards,

    Ismael

    #96686

    Thank you!

    #96687

    Hi,

    The easiest thing to do would be to take the link off the portfolio title. That’s in loop-portfolio.php in the /includes/ folder of the theme, on line 114

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

    and change the line to look like

    echo "<div class='port-title'>".get_the_title()."</div>";

    The css class I just made up so you can style it.

    It would be possible to change the link url as well but would require rewriting of the avia_get_link() function if you care to try its in file function-set-avia-frontend.php on line 541 – 620 in the /framework/php/ folder. Though your suggestion makes sense since if the portfolio image points to a different url, it seems logical for the title to do the same. I will send a note to Kriesi.

    Thanks,

    Nick

    #96688

    So helpful, Nick!

    Thanks very much.

    #96689

    Hey,

    Glad Nick could help. :)

    Regards,

    Ismael

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

The topic ‘Can pages be used as portfolio items?’ is closed to new replies.