139 reputation
8
bio website
location
age
visits member for 2 years
seen Oct 31 '13 at 21:14

no0b developer


Jan
7
awarded  Popular Question
Oct
30
awarded  Popular Question
Dec
13
awarded  Student
Nov
4
comment How to get all post except particular category without breaking the paging
Thanks! This works perfectly :) I was trying to remove category B from the archive page but the 'cat=-22' was breaking the pagination
Nov
4
accepted How to get all post except particular category without breaking the paging
Nov
4
revised How to get all post except particular category without breaking the paging
edited title
Nov
4
asked How to get all post except particular category without breaking the paging
Oct
31
comment is there a way to remove featured image from blog page and single page
I'm using a static page for home which uses a template, the home page static page has a featured image and the template has the <?php query_posts('posts_per_page=1&tag=home_hotlist'); ?> <?php if (have_posts()) : ?> loop thats gets a post with a feature image, I cant really post a live link since I dont have it up anywhere at the moment only local development
Oct
31
comment is there a way to remove featured image from blog page and single page
removing the is_front_page() doesnt seem to be doing it either :(
Oct
31
awarded  Commentator
Oct
31
comment is there a way to remove featured image from blog page and single page
I've made the settings >reading to Blog page using a default template, and using this function function wpse70960_filter_post_thumbnail_html( $html ) { if ( ( is_home() || is_front_page() ) || is_single() ) { return ''; } else { return $html; } } add_filter( 'post_thumbnail_html', 'wpse70960_filter_get_post_thumbnail_html' ); doesnt render the featured image on the home page.
Oct
31
comment is there a way to remove featured image from blog page and single page
seems to be breaking still, not quite sure where the bug is...sorry to be such a pain.
Oct
31
comment is there a way to remove featured image from blog page and single page
Sorry quite novice at php trying to use your second approach, using the function method like this, global $post; $page_template = get_post_meta( $post->ID, '_wp_page_template', true ); function wpse70960_filter_post_thumbnail_html( $html ) { if ( ( is_home() is_single() || 'template-blog.php' == $page_template ) { return ''; } else { return $html; } } add_filter( 'post_thumbnail_html', 'wpse70960_filter_get_post_thumbnail_html' ); seems to be coming back with errors
Oct
31
comment is there a way to remove featured image from blog page and single page
Im using a static page for the homepage and blog is using a new page I created in the WP CMS using a template file called Blog page. The homepage is rending the featured image for posts which is what I need. I want to avoid using the Featured image in the blog page and the singe page.
Oct
31
comment is there a way to remove featured image from blog page and single page
This function is great, but it also removes any featured images I have on my home page.. I tried removing the is_home() || but that didnt seem to do anything. How would I modify this function so it only works on the blog and single.php page?
Oct
30
asked is there a way to remove featured image from blog page and single page
Oct
25
comment is there a way to show the the post title after the image?
Hi userabuser, I updated the snippet to the to all the code on that page...hopefully this clarifies the question a bit more, It seems the code from pastebin is not updating the order of the post content yet
Oct
25
awarded  Editor
Oct
25
revised is there a way to show the the post title after the image?
added 1022 characters in body
Oct
25
comment is there a way to show the the post title after the image?
Forgot to mention...I am trying to do this in the twentytwelve theme