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

no0b developer


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
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
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
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
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
Oct
10
comment How can I specify the width and height of the Featured Image in TwentyTwelve theme?
That's great thanks!
Apr
18
comment is it possible to get complete wordpress blog post in a rss feed?
its on the same domain except the im trying to pull in RSS feed into a static HTML page from wordpress site.