jhsu79
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Delicious for WordPress] not showing bookmarks past…Works great. Thanks!
Forum: Plugins
In reply to: [Plugin: Article Templates] EnhancementsSecond that!
Forum: Plugins
In reply to: [Plugin: Post Templates] Plugin not working anymore – discontinued?Article templates works great, thanks for the suggestion!
Forum: Plugins
In reply to: [Plugin: Post Templates] Plugin not working anymore – discontinued?I’m having same problem, sux.
Forum: Plugins
In reply to: Disable attachment page?I am looking for the same solution. Using gallery short code with lightbox plugin for images, but the link to image-file gets converted to attachment.php link.
Forum: Plugins
In reply to: Multiple columns?Forum: Themes and Templates
In reply to: a tip: how to limit the maximum size of pictures in a themeWordPress resizes your images when you upload via media library, you can see the multiple image sizes in your uploads folder. The plugin I listed allows you to easily define what sizes you want WP to resize to.
I use it this way so I can upload the original size I want, but when showing in the post page I can choose to have the medium size format shown and then click for full view. It saves page load time for the viewer and process time for me.
Forum: Fixing WordPress
In reply to: HELP – how to shorten the_titleFound an even better php function to strip characters without loosing words:
Copy and paste this into your theme_folder/functions.php file:
//function to call and print shortened post title function the_title_shorten($len,$rep='...') { $title = the_title('','',false); $shortened_title = textLimit($title, $len, $rep); print $shortened_title; } //shorten without cutting full words (Thank You Serzh 'https://us2.php.net/manual/en/function.substr.php#83585') function textLimit($string, $length, $replacer) { if(strlen($string) > $length) return (preg_match('/^(.*)\W.*$/', substr($string, 0, $length+1), $matches) ? $matches[1] : substr($string, 0, $length)) . $replacer; return $string; }
And then call it in your template file:
<?php the_title_shorten(15,'...'); ?>
Forum: Fixing WordPress
In reply to: wordTube problems hereIs it possible to have more than one instance of the player in a post? I tried and all I got was
[media id=2]
appearing after the first video.Forum: Themes and Templates
In reply to: a tip: how to limit the maximum size of pictures in a themeHere’s a good plugin for you guys. Be nice!
Thanks for this plugin! Works great.
I found a few quirks, but I don’t think it can be helped by the plugin, but it might help others if they are having problems getting it to work.
First, you have to enter a category or post for the settings to take hold, if you leave those fields blank the settings won’t save.
Second, it does not affect images that have already been uploaded. It only works for images after the setting has been applied. I’m assuming this is because wordpress creates actual files of the different image sizes at time of upload.
Thanks again! Works well with Cleaner Gallery and the gallery short code.
Forum: Fixing WordPress
In reply to: Attach image to post from media libraryI figured out how to make sure the image is attached to the post’s gallery on upload, you have to make sure the post is published first and it will be included in the post’s gallery.
Still, being able to attach a file through the media library would be really helpful and extend the function of the gallery shortcode greatly, it would mean you could put your shortcode in there and then swap images in and out of the post’s gallery by attaching it or not through the media library.
Forum: Fixing WordPress
In reply to: Attach image to post from media libraryI really like the idea of using the media library to manage images and then using the [gallery] shortcode.
I installed Cleaner Gallery which helps a lot to fill in the shortcomings of the shortcode, but I’m having the same issue as above.
Sometimes when I upload a batch of images within the post it doesn’t get attached to the post’s gallery so when I go to use the shortcode nothing appears.
There’s no way to attach the images to the post through the media library, so I have to delete the images and try uploading them again and hope they get attached properly. I think if WordPress expects the media library and gallery codes to be a standard function they need to patch some holes before people can use them consistently.