Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1467 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

WordPress coding issue - Mobile Theme

Thread title: WordPress coding issue - Mobile Theme
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
05-10-2012, 08:32 AM
#3
4Templates is offline 4Templates
4Templates's Avatar
Status: I'm new around here
Join date: May 2012
Location: Brentwood, TN
Expertise: Design, Photography, Wordpress
Software: Photoshop, Notepad++
 
Posts: 5
iTrader: 0 / 0%
 

4Templates is on a distinguished road

Send a message via ICQ to 4Templates Send a message via AIM to 4Templates Send a message via Yahoo to 4Templates

  Old

Try that in the thumbnail file

PHP Code:
<div class="thumbnail-wrap">

    <?php 
    
        
if ( has_post_thumbnail() ) { 
        
            echo 
'<img src="';
            
            
wptouch_the_post_thumbnail();
            
            echo 
'" class="attachment-post-thumbnail" alt="post-thumbnail" />';
        
        } else { 
    
            
$portfolio_full get_post_meta($post->ID'portfolio_full_img'true); 
            
$post_image get_post_meta($post->ID'post_image'true); 
            
$disable_post_image get_post_meta($post->ID'disable_post_image'true);
    
            echo 
'<img src="' $portfolio_full '" class="attachment-post-thumbnail default-thumbnail" alt="post-thumbnail" />';
   
        }
        
    
?>
   
</div>

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed