Quantcast
Channel: Site5 Free Premium WordPress Themes » All Posts
Viewing all articles
Browse latest Browse all 8865

Reply To: About Portfolio compulsory images

$
0
0

Hi Sassa,

I didn’t want the thumbnail on the portfolio page displayed at the top of my pages either.  So here’s what I did, maybe it will help you, or maybe someone else can guide us both. :)

Open up the theme editor: Appearance -> Editor
Select the file: single-portfolio.php
Backup the text for this file, in case you flub something. :)
Remove the following code:

< ?php

$thumb = get_image_path(get_post_meta($post->ID, 'boldyp_pitemlurl', true));

if (!$thumb == '')

{ ?>

<div class=”portfolioimg”>

<img src=”< ?php echo get_template_directory_uri(); ?>/timthumb.php?src=< ?php echo get_image_path(get_post_meta($post->ID, 'boldyp_pitemlurl', true)); ?>&amp;w=960&amp;zc=1″ alt=”< ?php the_title(); ?>“/>

</div>

< ?php }?>

That should stop injecting the image at the top of the page, for any pages that are using the Portfolio template.


Viewing all articles
Browse latest Browse all 8865

Trending Articles