MasterRenny
Forum Replies Created
-
Forum: Themes and Templates
In reply to: CSS Thumbnail?Figured it out myself
In case anyone else wants summa long the same lines, i used custom fields to set the colour (red, blue…etc) then another custom field for the Day number
then coded this
<?php if (has_post_thumbnail()) : ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'feature' ); ?> <img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='150' height='150' /> <?php elseif (get_post_meta($post->ID, 'the_day', true)): ?> <div class="thumbs <?php $dayclass = get_post_meta($post->ID, 'day_class', true); echo $dayclass; ?>"><p>DAY <?php $day = get_post_meta($post->ID, 'the_day', true); echo $day; ?></p></div> <?php else: ?> <img src="https://www.masterrenny.com/wpcore/wp-content/uploads/2012/11/default150by150.png" alt="<?php the_title(); ?>" width='150' height='150' /> <?php endif; ?>
Forum: Plugins
In reply to: [WoW Armory Character] [Plugin: WoW Armory Character] Cant clear casheYes which stopping my characters from being displayed
Forum: Themes and Templates
In reply to: Widget not showing correctlyNo one….?
Forum: Themes and Templates
In reply to: Stopping feature image from stretching PLUS Few Other Problemshttps://www.masterrenny.com/5/ <<< ignore the content tho and title :L
As u can see the image is stretched
Forum: Themes and Templates
In reply to: Stopping feature image from stretching PLUS Few Other Problemsreposted the whole thing as i cant edit my last post
How do i make it so when you set/upload a image to be the feature image it dont get stretched ?
secondly, im using this code for my popular posts
pasted the code here >>> https://pastebin.com/juE5ASpx
But its displaying posts with no comments on them, how can i make it so it wont show them?
and lastly
i cant get my comments to work either :/
The code im using is https://pastebin.com/hdq2tGT7
and help will be very appreciated Thanks,
Renny
Forum: Fixing WordPress
In reply to: How Do You Add THe Admin Bar?Ok ive designed my own theme but the admin bar isnt showing atthe top… How can getthe bar to show ?
Forum: Fixing WordPress
In reply to: Set a Defualt Feature Image?This works i still couldnt get the code u said to work ?? thank you tho!
<?php if(has_post_thumbnail()): ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID)); ?> <a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='570' height='170' class="imgborder" /></a> <?php else: ?> <a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/images/thumbnail.png" class="imgborder" alt="<?php the_title(); ?>" width='570' height='170' /></a> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Set a Defualt Feature Image?ive changed it to what youve posted but it isnt showing, ive uploaded the default image to my image root and changed it accordingly
Forum: Themes and Templates
In reply to: How Can I Style My Menu With…No one? :[
Forum: Fixing WordPress
In reply to: [Problem] Images not showingomg it worked! haha ?? thanks!
now to figure out how to code the rest of the layout…. T_T
Forum: Fixing WordPress
In reply to: [Problem] Images not showinghttps://www.masterrenny.com/wp/ <where its installed
https://www.masterrenny.com/wp/wp-content/themes/Nottingham%20Go%20Karts/images/ << the image root
[CSS moderated as per the Forum Rules. Please just post a link to your site.]