• Forum
  • FAQ
  • Docs
Notice: In order to post a support question you have to have an account and be logged in.
Register  or  Login
  1. Hi,

    When I click on the "photo" on the main portfolio page, it pulls up a slideshow of the gallery photos.

    When I click on "view more" link located underneath the portfolio description, it pulls up a slideshow of only the thumbnail photo. How do I change the link so that it pulls up the "gallery" of photos like it does when you click on the photo?

    Thanks!

    Tiffany

    tiffn
    11 months ago
  2. Hi,

    Please provide ftp details and I will help.

    Cheers,
    George

    George
    11 months ago
  3. Hi George,

    I believe I can edit it myself. Can you tell me what file and line of code to edit?

    Thanks!

    Tiffany

    tiffn
    11 months ago
  4. How do I remove the author (post by...), the social media icons to the right of the page and expand the left side column?

    http://stellareventdesign.com/?portfolio=ashley-xvs-baby-shower

    Thank you!

    tiffn
    11 months ago
  5. Hi,

    Ok, you just have to do it correctly.

    First you have to create a copy for the listing-portfolio.php file to the child theme, then find this code in the listing-portfolio.php from child:

    <a href="<?php echo  $tf_img; ?>" rel="prettyPhoto[<?php echo $post->ID; ?>]">
                    <?php _e('VIEW MORE &gt;', 'tfuse'); ?>
                </a>
    

    and replace with this code:
    <?php tfuse_media2('',' <div class="gallery-image">','</div>', ''); ?>
    

    Then in the child theme create this directory: theme_config\theme_includes. In this directory create a file with this name: TFUSE_MEDIA.php, make sure to have the format .php. Then fill the file content with this code:

    <?php
    if (!function_exists('tfuse_media')) :
    /**
     * Display post media.
     *
     * To override tfuse_media() in a child theme, add your own tfuse_media()
     * to your child theme's file.
     */
    function tfuse_media($return=false,$before='', $after='', $src = false)
    {
        global $post;
    
        $tfuse_media['img_position'] = $tfuse_media['image'] = $tfuse_image =  $output = '';
        $tfuse_media['img_dimensions'] = array();
        $tfuse_media['disable_listing_lightbox'] = tfuse_options('disable_listing_lightbox');
        $tfuse_media['disable_single_lightbox'] = tfuse_options('disable_single_lightbox');
    
        $tfuse_media['video_link']              = tfuse_page_options('video_link');
        $tfuse_media['disable_video']           = tfuse_page_options('disable_video',tfuse_options('disable_video'));
        $tfuse_media['disable_image']           = tfuse_page_options('disable_image',tfuse_options('disable_image'));
    
        $tfuse_media['audio_link']              = tfuse_page_options('audio_link');
        $tfuse_media['post_opt']                = tfuse_page_options('post_type');
        $tfuse_media['post_link']               = tfuse_page_options('custom_link');
        $tfuse_media['post_title_link']         = tfuse_page_options('custom_title_link');
    
        if (is_singular() && !$tfuse_media['disable_image'])
        {
            $tfuse_media['image']               = tfuse_page_options('single_image',tfuse_page_options('thumbnail_image'));
        }
        if ( is_singular() )
        {
            $tfuse_media['img_dimensions']      = tfuse_page_options('single_img_dimensions',tfuse_options('single_img_dimensions'));
            $tfuse_media['img_position']        = tfuse_page_options('single_img_position',tfuse_options('single_img_position'));
        }
        elseif ( !is_singular() )
        {
            $tfuse_media['image']               = tfuse_page_options('thumbnail_image');
            $tfuse_media['img_dimensions']      = tfuse_page_options('thumbnail_dimensions',tfuse_options('thumbnail_dimensions'));
            $tfuse_media['img_position']        = tfuse_page_options('thumbnail_position',tfuse_options('thumbnail_position'));
        }
        $tax = get_term_by('slug', get_query_var('term'), 'group');
    
        if ($tfuse_media['post_opt'] == 'quotes')
            return false;
    
        if ($tfuse_media['post_opt'] == 'link' && !is_singular() )
        {
    
            if ($tfuse_media['post_link'] != '')
            {
                $tf_post_title = ($tfuse_media['post_title_link'] != '') ? $tfuse_media['post_title_link'] :$tfuse_media['post_link'];
                $output .= '<p><span class="tf_pst_lnks" style="font-size:x-large;"><a href="'.$tfuse_media['post_link'].'">'.$tf_post_title.'</a></span></p>';
    
                if( $return )
                    return $before.$output.$after;
                else
                    echo $before.$output.$after;
    
            }
            return false;
        }
    
        if ( !empty($tfuse_media['video_link'] ) && empty($tax))
        {
            $tfuse_media['video_dimensions']    = tfuse_page_options('video_dimensions',tfuse_options('video_dimensions'));
            $tfuse_media['video_position']      = tfuse_page_options('video_position',tfuse_options('video_position'));
    
    
            if ( is_singular()  && !$tfuse_media['disable_video'])
            {
                $output .= '<div class="video_embed '.$tfuse_media['video_position'].'" style="width:'.$tfuse_media['video_dimensions'][0].'px">';
                $video = new TF_GET_EMBED();
                $output .= $video->width($tfuse_media['video_dimensions'][0])->height($tfuse_media['video_dimensions'][1])->source('video_link')->get();        //$output .= tfuse_get_embed($tfuse_media['media_width'], $tfuse_media['media_height'], PREFIX . "_post_video");
                $output .= '</div><!--/.video_embed  -->';
    
                if( $return )
                    return $before.$output.$after;
                else
                    echo $before.$output.$after;
    
                return false;
            }
            elseif(!is_singular() && $tfuse_media['post_opt']=="video")
            {
                $output .= '<div class="video_embed '.$tfuse_media['video_position'].'" style="width:'.$tfuse_media['video_dimensions'][0].'px">';
                $video = new TF_GET_EMBED();
                $output .= $video->width($tfuse_media['video_dimensions'][0])->height($tfuse_media['video_dimensions'][1])->source('video_link')->get();        //$output .= tfuse_get_embed($tfuse_media['media_width'], $tfuse_media['media_height'], PREFIX . "_post_video");
                $output .= '</div><!--/.video_embed  -->';
    
                if( $return )
                    return $before.$output.$after;
                else
                    echo $before.$output.$after;
                return false;
            }
        }
        if ( !empty($tfuse_media['audio_link']) &&!is_singular() && $tfuse_media['post_opt']=="audio"  )
        {
    
            $output .= '<script type="text/javascript" language="javascript" src="'.get_template_directory_uri() .'/js/player/swfobject.js"></script>
    
            <div class="audio"><div id="mediaspace'.$post->ID.'"></div></div>
                               <script type="text/javascript">
                                    var so = new SWFObject("'. get_template_directory_uri() .'/js/player/player.swf","mpl","578","32","9");
                                    so.addParam("allowfullscreen","true");
                                    so.addParam("allowscriptaccess","always");
                                    so.addParam("wmode","opaque");
                                    so.addParam("wmode","opaque");
                                    so.addVariable("skin", "'. get_template_directory_uri() .'/js/player/stylish_slim.swf");
                                    so.addVariable("file","'.$tfuse_media['audio_link'].'");
                                    so.addVariable("backcolor","000000");
                                    so.addVariable("frontcolor","FFFFFF");
                                    so.write("mediaspace'.$post->ID.'");
                                </script>';
    
            if( $return )
                return $before.$output.$after;
            else
                echo $before.$output.$after;
            return false;
        }
    
        if ( !empty($tax)  )
        {
            $linkclass  = 'class="preload"';
            $imgclass = '';
            $height = apply_filters('portfoliowidth',256);
            $width  = apply_filters('portfolioheight',150);
        }
        else
        {
            $linkclass  = '';
            $imgclass = 'frame_box '.$tfuse_media['img_position'];
            $height = $tfuse_media['img_dimensions'][1];
            $width  = $tfuse_media['img_dimensions'][0];
        }
        if ( !empty($tfuse_media['image']) )
        {
            $image = new TF_GET_IMAGE();
            $tfuse_image = $image->width($width)->height($height)->
            properties(array('class'=>$imgclass))->src($tfuse_media['image'])->get_img();
    
            if (  $src == true ){
                return $image->width($width)->height($height)->
                properties(array('class'=>$imgclass))->src($tfuse_media['image'])->get_src();
            }
    
        }
        else
            return false;
    
    
        if (  ( (!is_singular() && !$tfuse_media['disable_listing_lightbox']) || (is_singular() && !$tfuse_media['disable_single_lightbox']) ) && !empty($tfuse_image) )
        {
            $attachments = get_children( array('post_parent' => $post->ID, 'numberposts' => -1, 'post_type' => 'attachment', 'post_mime_type' => 'image') );
            $output .= '<span style="display:none">';
            if( !empty($attachments) )
            {
                foreach ($attachments as $att_id => $attachment)
                {
                    $tfuse_src = wp_get_attachment_image_src($att_id, 'full', true);
                    $tfuse_image_link_attach = $tfuse_src[0];
                    $output .= '<a href="'. $tfuse_image_link_attach.'" rel="prettyPhoto[gallery'.$post->ID.']">'.$tfuse_media['image'].'</a>';
                }
            }
            if ( !empty($tfuse_media['post_video']) ) $output .= '<a href="'. $tfuse_media['post_video'].'" rel="prettyPhoto[gallery'.$post->ID.']">'.$tfuse_image.'</a>';
            $output .= '</span>';
            $output .= '<a href="'.$tfuse_media['image'].'" rel="prettyPhoto[gallery'.$post->ID.']"'.$linkclass.'>'.$tfuse_image.'</a>';
        }
        else
            $output .= '<a href="'.get_permalink($post->ID).'">'.$tfuse_image.'</a>';
    
        if( $return )
            return $before.$output.$after;
        else
            echo $before.$output.$after;
    }
    endif; // tfuse_media
    
    
    
    if (!function_exists('tfuse_media2')) :
    function tfuse_media2($return=false,$before='', $after='', $src = false, $text='VIEW MORE >')
    {
        global $post;
    
        $tfuse_media['img_position'] = $tfuse_media['image'] = $tfuse_image =  $output = '';
        $tfuse_media['img_dimensions'] = array();
        $tfuse_media['disable_listing_lightbox'] = tfuse_options('disable_listing_lightbox');
        $tfuse_media['disable_single_lightbox'] = tfuse_options('disable_single_lightbox');
    
        $tfuse_media['video_link']              = tfuse_page_options('video_link');
        $tfuse_media['disable_video']           = tfuse_page_options('disable_video',tfuse_options('disable_video'));
        $tfuse_media['disable_image']           = tfuse_page_options('disable_image',tfuse_options('disable_image'));
    
        $tfuse_media['audio_link']              = tfuse_page_options('audio_link');
        $tfuse_media['post_opt']                = tfuse_page_options('post_type');
        $tfuse_media['post_link']               = tfuse_page_options('custom_link');
        $tfuse_media['post_title_link']         = tfuse_page_options('custom_title_link');
    
        if (is_singular() && !$tfuse_media['disable_image'])
        {
            $tfuse_media['image']               = tfuse_page_options('single_image',tfuse_page_options('thumbnail_image'));
        }
        if ( is_singular() )
        {
            $tfuse_media['img_dimensions']      = tfuse_page_options('single_img_dimensions',tfuse_options('single_img_dimensions'));
            $tfuse_media['img_position']        = tfuse_page_options('single_img_position',tfuse_options('single_img_position'));
        }
        elseif ( !is_singular() )
        {
            $tfuse_media['image']               = tfuse_page_options('thumbnail_image');
            $tfuse_media['img_dimensions']      = tfuse_page_options('thumbnail_dimensions',tfuse_options('thumbnail_dimensions'));
            $tfuse_media['img_position']        = tfuse_page_options('thumbnail_position',tfuse_options('thumbnail_position'));
        }
        $tax = get_term_by('slug', get_query_var('term'), 'group');
    
        if ($tfuse_media['post_opt'] == 'quotes')
            return false;
    
        if ($tfuse_media['post_opt'] == 'link' && !is_singular() )
        {
    
            if ($tfuse_media['post_link'] != '')
            {
                $tf_post_title = ($tfuse_media['post_title_link'] != '') ? $tfuse_media['post_title_link'] :$tfuse_media['post_link'];
                $output .= '<p><span class="tf_pst_lnks" style="font-size:x-large;"><a href="'.$tfuse_media['post_link'].'">'.$tf_post_title.'</a></span></p>';
    
                if( $return )
                    return $before.$output.$after;
                else
                    echo $before.$output.$after;
    
            }
            return false;
        }
    
        if ( !empty($tfuse_media['video_link'] ) && empty($tax))
        {
            $tfuse_media['video_dimensions']    = tfuse_page_options('video_dimensions',tfuse_options('video_dimensions'));
            $tfuse_media['video_position']      = tfuse_page_options('video_position',tfuse_options('video_position'));
    
    
            if ( is_singular()  && !$tfuse_media['disable_video'])
            {
                $output .= '<div class="video_embed '.$tfuse_media['video_position'].'" style="width:'.$tfuse_media['video_dimensions'][0].'px">';
                $video = new TF_GET_EMBED();
                $output .= $video->width($tfuse_media['video_dimensions'][0])->height($tfuse_media['video_dimensions'][1])->source('video_link')->get();        //$output .= tfuse_get_embed($tfuse_media['media_width'], $tfuse_media['media_height'], PREFIX . "_post_video");
                $output .= '</div><!--/.video_embed  -->';
    
                if( $return )
                    return $before.$output.$after;
                else
                    echo $before.$output.$after;
    
                return false;
            }
            elseif(!is_singular() && $tfuse_media['post_opt']=="video")
            {
                $output .= '<div class="video_embed '.$tfuse_media['video_position'].'" style="width:'.$tfuse_media['video_dimensions'][0].'px">';
                $video = new TF_GET_EMBED();
                $output .= $video->width($tfuse_media['video_dimensions'][0])->height($tfuse_media['video_dimensions'][1])->source('video_link')->get();        //$output .= tfuse_get_embed($tfuse_media['media_width'], $tfuse_media['media_height'], PREFIX . "_post_video");
                $output .= '</div><!--/.video_embed  -->';
    
                if( $return )
                    return $before.$output.$after;
                else
                    echo $before.$output.$after;
                return false;
            }
        }
        if ( !empty($tfuse_media['audio_link']) &&!is_singular() && $tfuse_media['post_opt']=="audio"  )
        {
    
            $output .= '<script type="text/javascript" language="javascript" src="'.get_template_directory_uri() .'/js/player/swfobject.js"></script>
    
            <div class="audio"><div id="mediaspace'.$post->ID.'"></div></div>
                               <script type="text/javascript">
                                    var so = new SWFObject("'. get_template_directory_uri() .'/js/player/player.swf","mpl","578","32","9");
                                    so.addParam("allowfullscreen","true");
                                    so.addParam("allowscriptaccess","always");
                                    so.addParam("wmode","opaque");
                                    so.addParam("wmode","opaque");
                                    so.addVariable("skin", "'. get_template_directory_uri() .'/js/player/stylish_slim.swf");
                                    so.addVariable("file","'.$tfuse_media['audio_link'].'");
                                    so.addVariable("backcolor","000000");
                                    so.addVariable("frontcolor","FFFFFF");
                                    so.write("mediaspace'.$post->ID.'");
                                </script>';
    
            if( $return )
                return $before.$output.$after;
            else
                echo $before.$output.$after;
            return false;
        }
    
        if ( !empty($tax)  )
        {
            $linkclass  = 'class="preload"';
            $imgclass = '';
            $height = apply_filters('portfoliowidth',256);
            $width  = apply_filters('portfolioheight',150);
        }
        else
        {
            $linkclass  = '';
            $imgclass = 'frame_box '.$tfuse_media['img_position'];
            $height = $tfuse_media['img_dimensions'][1];
            $width  = $tfuse_media['img_dimensions'][0];
        }
        if ( !empty($tfuse_media['image']) )
        {
            $image = new TF_GET_IMAGE();
            $tfuse_image = $image->width($width)->height($height)->
                properties(array('class'=>$imgclass))->src($tfuse_media['image'])->get_img();
    
            if (  $src == true ){
                return $image->width($width)->height($height)->
                    properties(array('class'=>$imgclass))->src($tfuse_media['image'])->get_src();
            }
    
        }
        else
            return false;
    
    
        if (  ( (!is_singular() && !$tfuse_media['disable_listing_lightbox']) || (is_singular() && !$tfuse_media['disable_single_lightbox']) ) && !empty($tfuse_image) )
        {
            $attachments = get_children( array('post_parent' => $post->ID, 'numberposts' => -1, 'post_type' => 'attachment', 'post_mime_type' => 'image') );
            $output .= '<span style="display:none">';
            if( !empty($attachments) )
            {
                foreach ($attachments as $att_id => $attachment)
                {
                    $tfuse_src = wp_get_attachment_image_src($att_id, 'full', true);
                    $tfuse_image_link_attach = $tfuse_src[0];
                    $output .= '<a href="'. $tfuse_image_link_attach.'" rel="prettyPhoto[gallery'.$post->ID.']">'.$tfuse_media['image'].'</a>';
                }
            }
            if ( !empty($tfuse_media['post_video']) ) $output .= '<a href="'. $tfuse_media['post_video'].'" rel="prettyPhoto[gallery'.$post->ID.']">'.$tfuse_image.'</a>';
            $output .= '</span>';
            $output .= '<a href="'.$tfuse_media['image'].'" rel="prettyPhoto[gallery'.$post->ID.']"'.$linkclass.' class="gallery-more" >'.$text.'</a>';
        }
        else
            $output .= '<a href="'.get_permalink($post->ID).'">'.$tfuse_image.'</a>';
    
        if( $return )
            return $before.$output.$after;
        else
            echo $before.$output.$after;
    }
    endif; // tfuse_media
    
    

    How do I remove the author (post by...), the social media icons to the right of the page and expand the left side column?

    You don't need to remove them, you'll just expand the image and the icons will go under the image. To do this go to Portfolio -> Ashley + XV's Baby Shower -> Media tab, and here in the Image Resize (px) option give the width from 400 to 900, or you can adjust it to your own needs.

    Cheers,
    George

    George
    11 months ago
  6. I don't want to make the image bigger.

    How do I remove the "Posted by"?

    Also, is there a way to move the description to the right side of the main image?

    tiffn
    11 months ago
  7. Are you pertaining to the "Posted By" section or just that single line?

    celavey
    11 months ago
  8. The single line below the main photo:
    http://stellareventdesign.com/?portfolio=linh-ben-wedding-paper-suite

    Also, how do I:

    1) Move the facebook and twitter icon to line up right next to the "pinterest icon" below the mini photo gallery

    2) Modify the titles of each portfolio on the main page. I want to change the font size and type:
    http://stellareventdesign.com/?group=portfolio#prettyPhoto

    I can't seem to change the css style for the life of me.

    3) Optimize the main portfolio page. When I'm trying to get to this page on my iphone, the thumbnails take a very long time to load.

    Thank you!

    tiffn
    11 months ago
  9. Hi,
    How do I remove the "Posted by"?

    You can remove it from this code in THEME_FUNCTIONS.php file (theme_config\theme_includes):

    <div class="alignleft"><?php  _e('Posted by ', 'tfuse') ?><span class="author"><a href="<?php echo $author_url; ?>" title="<?php echo $user_info; ?>"><?php echo $user_info; ?></a></span></div>
    

    is there a way to move the description to the right side of the main image?

    for each post you can set image width and height and position. And depending on this image would be aligned on the left of the text or right.

    Move the facebook and twitter icon to line up right next to the "pinterest icon" below the mini photo gallery

    Please provide ftp details, I need to take a look in the code you used for pinterest there.

    Modify the titles of each portfolio on the main page. I want to change the font size and type:
    http://stellareventdesign.com/?group=portfolio#prettyPhoto

    I can't seem to change the css style for the life of me.

    You can change it from this code in style.css file:

    .gl_col_2 .gallery-item-name h2, .gl_col_3 .gallery-item-name h2 {
    font-size: 19px;
    font-weight: normal;
    }
    .gallery-list .gallery-item-name h2 {
    font-size: 10px;
    font-family: 'Arimo', Georgia, "Times New Roman", Times, serif;
    margin: 0;
    padding: 0;
    color: #313131;
    line-height: 1.3em;
    }
    .gallery-item-name h2 a:hover {
    color: #A41984;
    }
    

    please make the changes in child theme folder.

    Optimize the main portfolio page. When I'm trying to get to this page on my iphone, the thumbnails take a very long time to load.

    You can use there some smaller images to avoid this, there is no other way.

    Cheers,
    Max.

    Max
    11 months ago
  10. just sent over ftp info. please let me know if that worked for you! thanks!

    tiffn
    11 months ago
  11. Done. All changes were made in child theme folder.

    Max
    11 months ago
  12. looks great, thank you!

    tiffn
    11 months ago

Add Reply

You must log in to post.

 

Add a new topic!

Chances are your issue is already answered, but if it’s not, you can always create a new topic.

Add new topic

Search forums

Searching for something specific? Type something and press Enter to search.