Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26988


    I have 4 portfolio items on my home page. I am able to easily link the photo to a “page” however when you click on the title below the image it just opens the image in a post format and can’t see where I can link it to the same page as the image.

    I’m kind of new at this so it might be a WP 101 kind of question!

    Thanks for your help.


    In functions-coherence.php replace:

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


    $linktarget = '';
    $slides = avia_post_meta($id, 'slideshow');

    if(!empty($slides[0]) && get_post_type($id) == 'portfolio'){
    $linktarget = avia_get_link($slides[0], 'slideshow_', '', $id);

    $linktarget = get_permalink();

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


    Perfect. Thank you!

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

The topic ‘Link Portfolio Item to a Page’ is closed to new replies.