Reply To: Portfolio link

#1912
Livemeshlivemesh
Keymaster

BTW, I made the following change at line number 103 – may need it when you update the theme.

        $post_title = get_the_title($post_id);
        $post_link = get_permalink($post_id);

/* Custom Code - Start */
        if ($context == 'portfolio') {
            $gallery_link = get_post_meta($post_id, 'mo_portfolio_gallery_link', true);
            if (!empty($gallery_link))
                $post_link = $gallery_link;
        }
/* Custom Code - End */

        if (empty($before_html)) {
            $before_html = '';
            $after_html = '' . $after_html;
        }