Title: Shadowz's Replies | WordPress.org

---

# Shadowz

  [  ](https://wordpress.org/support/users/shadowz/)

 *   [Profile](https://wordpress.org/support/users/shadowz/)
 *   [Topics Started](https://wordpress.org/support/users/shadowz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/shadowz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/shadowz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/shadowz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/shadowz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/shadowz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/users/shadowz/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/shadowz/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/shadowz/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Various White Screens with Child Theme functions.php](https://wordpress.org/support/topic/white-screen-on-updates-with-child-theme-functionsphp/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/white-screen-on-updates-with-child-theme-functionsphp/#post-1809161)
 * Yeah well i guess we will have to work around it for now.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Making Featured " Post Thumbnails" Images Have Url Links??](https://wordpress.org/support/topic/making-featured-post-thumnails-images-have-url-links/)
 *  Thread Starter [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/making-featured-post-thumnails-images-have-url-links/#post-1808550)
 * Hey thanks
 * Don’t know to much about php, but i get the jest of what you mean, if you could
   help me figure out how to put that code in my header where it displays the featured
   image that would be grateful.
 * here the part of the code that displays my featured image
 *     ```
       if ( has_post_thumbnail( $post->ID )  &&
   
       ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
   
       $image[1] >= HEADER_IMAGE_WIDTH ) :
   
       echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
       else : ?>
   
       <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
   
       <?php endif; ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Making Featured "Post Thumbnail" Images url Linkable???](https://wordpress.org/support/topic/making-featured-post-thumbnail-images-rl-linkable/)
 *  Thread Starter [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/making-featured-post-thumbnail-images-rl-linkable/#post-1808513)
 * Anyone?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Missing Comment Box](https://wordpress.org/support/topic/missing-comment-box/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/missing-comment-box/page/2/#post-1796234)
 * oh yeah i believe i edited some parts of it myself, its fun changing what it 
   does though.
 * Yeah you can keep that theme, but if you make other themes later, it just makes
   sense to use the most relevant and up to date size if your going to totally change
   the way it looks, unless you want a specific already made design.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [TwentyTen Featured Image Not Showing On Blog Page](https://wordpress.org/support/topic/twentyten-featured-image-not-showing-on-blog-page/)
 *  Thread Starter [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/twentyten-featured-image-not-showing-on-blog-page/#post-1797497)
 * Thanks and thats alright.
 * I tried using that code, but its still doesn’t want to work.
 * Its really weird there must be something else effecting that particular page 
   type of page i don’t know about.
 * Not sure what file effects the blog page though.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Various White Screens with Child Theme functions.php](https://wordpress.org/support/topic/white-screen-on-updates-with-child-theme-functionsphp/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/white-screen-on-updates-with-child-theme-functionsphp/#post-1809076)
 * well im a php noob aswell, but as for me this is what my line fo code for functions.
   php is [Here](http://pastebin.com/39RCkntk)
 * and really that shouldn’t matter where it is in the <?php ?>
 * As for the reference yeah that would work, but did you edit a copy of the original
   default functions.php and put your code into it, as if you were editing it. Then
   put that edited functions.php in the child theme folder. Then delete the functions.
   php in the default twentyten theme so there is only one functions.php which will
   be in the child theme folder.
 * haha
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Missing Comment Box](https://wordpress.org/support/topic/missing-comment-box/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/missing-comment-box/page/2/#post-1796231)
 * Your Welcome, if there is some parts of the code you don’t understand, ask me
   and i’ll see if i can tell you.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove element from Page but not Blog Post](https://wordpress.org/support/topic/remove-element-from-page-but-not-blog-post/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/remove-element-from-page-but-not-blog-post/#post-1809071)
 * Your Welcome
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove element from Page but not Blog Post](https://wordpress.org/support/topic/remove-element-from-page-but-not-blog-post/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/remove-element-from-page-but-not-blog-post/#post-1809059)
 * Im not sure how you put the highlight there, but im pretty sure to get it so 
   its one the blog page and not on the rest you will need to make a page template
   that has that highlight and, take out the highlight from where ever else you 
   had it in the first place.
 * So using a different page template for just the blog page and including that 
   highlight in it will allow for it to only show in that page.
    [ this might help in the right direction](http://codex.wordpress.org/Stepping_Into_Templates)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Missing Comment Box](https://wordpress.org/support/topic/missing-comment-box/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/missing-comment-box/page/2/#post-1796229)
 * Yeah if you don’t want to rebuild, id definitly look in the single.php and rebuild
   just that, so it does what you want.
 * If you read the diffrent parts in the single.php you can kinda tell what does
   what and its a simple add or delete.
 * In fact you might just be able to even just use mine and it should work.
    or 
   at least use it to fix yours.
 * here is my single.php [code](http://pastebin.com/5xLN1mJ1)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Various White Screens with Child Theme functions.php](https://wordpress.org/support/topic/white-screen-on-updates-with-child-theme-functionsphp/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/white-screen-on-updates-with-child-theme-functionsphp/#post-1809056)
 * Yeah i had the very same problem, did an exact copy in to child theme folder 
   for twenty ten, and its would not let me see wp-admin.
 * So i just deleted everything and just put what i needed in <?php ?>
 * But mine seems to be working fine now.
 * However for you i was thinking about this,
 * Maybe if you just put the whole functions.php file in the child theme folder 
   with all the changes and deleted the default functions.php from the default twenty
   ten folder it might work like normal.
 * just everytime you update wordpress you would need to delete the default functions.
   php
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Making Featured "Post Thumbnail" Images url Linkable???](https://wordpress.org/support/topic/making-featured-post-thumbnail-images-rl-linkable/)
 *  Thread Starter [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/making-featured-post-thumbnail-images-rl-linkable/#post-1808485)
 * bump!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [TwentyTen Featured Image Not Showing On Blog Page](https://wordpress.org/support/topic/twentyten-featured-image-not-showing-on-blog-page/)
 *  Thread Starter [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/twentyten-featured-image-not-showing-on-blog-page/#post-1797495)
 * Can anyone help with this, I really dont get it. What adeptis said makes sense.
   It should be what affects it, but apparently it doesn’t. I even tried useing `
   if (in_the_loop() )`
 * Its basically a normal page, and i switched my home page to a static page and
   made this normal page the blog page.
 * I was wondering if theres a way to write it so
    “if it has a featured image then
   display it else default header.
 * Instead of writing it so
    if its page then show featured image else default header.
 * if i did it the first way it should work no matter what type of page it is, i
   just dont know how to write the code to say that.
 * here the code i have in my header that target the featured image
 *     ```
       if ( ( is_singular() || in_the_loop() || is_page('7') ) &&
              has_post_thumbnail( $post->ID )  &&
   
       ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
   
       $image[1] >= HEADER_IMAGE_WIDTH ) :
   
       echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
       else : ?>
   
       <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
   
       <?php endif; ?>
       ```
   
 * Thanks
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Missing Comment Box](https://wordpress.org/support/topic/missing-comment-box/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/missing-comment-box/page/2/#post-1796226)
 * Yeah i couldn’t believe it when i updated wordpress and everything was gone. 
   So I’ve successfully got a child theme doing what i want now.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Missing Comment Box](https://wordpress.org/support/topic/missing-comment-box/)
 *  [Shadowz](https://wordpress.org/support/users/shadowz/)
 * (@shadowz)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/missing-comment-box/#post-1796224)
 * i believe if you added `<?php get_sidebar(); ?>` at the bottom of Single.php.
   before `<?php get_footer(); ?>` it should show the side bar and do what you wanted
   to do. Also deleting the single.php would just make things worse you just need
   to edit it to work the way you want. But yeah i would say using twenty ten to
   build your own site is good, since its less likely to have bugs and built by 
   wordpress as the latest version of wordpress.
 * Thats what i used to make my own site and you can make it do anything you want
   just need to figure out what code to edit and add.
 * Also make sure you learn how to use a child theme. Use a [child theme](http://codex.wordpress.org/Child_Themes)
   when you edit twenty ten, because if you don’t you will lose all you changes 
   when you update wordpress, i learned the hard way.

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/users/shadowz/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/shadowz/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/shadowz/replies/page/2/?output_format=md)