jonnyburch
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help! Site crashed!?I know this might not be an option for all but I lost three sites to this and paid Sucuri.net to sort it out. Went to bed and just woke up, the malware’s gone! $189 (£121) for piece of mind…
(and no I don’t work for them)
Good luck all!
Forum: Fixing WordPress
In reply to: Parse Error: Syntax Error on my Website *please help*Here you go bud, another thread for it: http://ww.wp.xz.cn/support/topic/help-site-crashed?replies=24
Forum: Plugins
In reply to: [Flickr Shortcode Importer] Large images not importingyeah I did, I think the issue was when the image was over a certain size wordpress blocks it regardless. Just a guess mind! But going through them now it’s all the posts with large images embedded.
Forum: Plugins
In reply to: [Flickr Shortcode Importer] Test updated all posts to current dateI decided to back up and just go for it – it all worked fine! Had another issue but will put that in a separate post.
Thanks for replying!
Forum: Fixing WordPress
In reply to: Link posts in chains/webssorry its http://www.thejit.org.
Forum: Plugins
In reply to: Retreive First Image From Posta) a different method of resizing that might work instead (the resizer in the ‘sideposts’ plugin works, maybe a hack on that?)
The function for which is
function _sposts_thumbnails( $excerpt ) { global $post; $settings = get_option('sideposts_widget'); $images = get_children( 'post_type=attachment&post_mime_type=image&post_parent=' . $post->ID ); if ( $images ) { $img = array(); foreach( $images as $imageID => $imagePost ) { $img[] = wp_get_attachment_image_src($imageID); } $thumb = array_pop($img); $thumb_h = intval( (int) $settings['thumbnail'] * (int) $thumb[2] / (int) $thumb[1] ); $excerpt = apply_filters( 'sideposts_thumbnail', '<img src="'. $thumb[0] .'" width="'. $settings['thumbnail'] .'" height="'. $thumb_h .'" class="alignleft" />') . $excerpt; } return $excerpt; }Forum: Plugins
In reply to: Retreive First Image From PostI host my images externally (flickr) so cannot use timthumb – is there
a) a different method of resizing that might work instead (the resizer in the ‘sideposts’ plugin works, maybe a hack on that?)
or
b) i wondered if there was a hack you could make on your (fantastic) catch_that_image function that would insert a ‘_t’ onto the name of the image before the ‘.jpg’ as thats the syntax flickr uses to generate a thumbnail. Even then it might not work, just an idea…
Forum: Fixing WordPress
In reply to: conditional image thumbnail on main blog pageThanks simon –
Unfortunately I tried putting your code into my functions.php and got this error whenever i tried to do anything else:
Warning: Cannot modify header information – headers already sent by (output started at /home/MY SITE NAME/wp-content/themes/geex3m/functions.php:433) in /home/MY SITE NAME/wp-admin/theme-editor.php on line 62
also the first code looks like it should work really well but doesn’t
Im sure it’s something im doing wrong… that warning message has got me worried though. I have now got rid of the code but it’s still doing it.