A. Jones
Forum Replies Created
-
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] Change font sizeThank you!
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] Change font sizeLet me know if that doesn’t do it for you.
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] Change font sizeI created a demo of this on my web site, where another user asked the same question. http://www.nomadcoder.com/thumbnail-grid-demo/
In your Custom CSS, enter the code below: Some themes have this feature built in. If not, you may need a plugin. I use Simple Custom CSS. Search for this in the WordPress Plugins.
Cut and paste below:
/*Display more title*/
.postimage-title a{
white-space: pre-wrap!important; /* css-3 */
white-space: -moz-pre-wrap!important; /* Mozilla, since 1999 */
white-space: -pre-wrap!important; /* Opera 4-6 */
white-space: -o-pre-wrap!important; /* Opera 7 */
word-wrap: break-word!important; /* Internet Explorer 5.5+ */
}
End Cut and Paste aboveSimilarly in your Custom CSS plugin,
You might want to give your title a fixed height. This will keep the thumbnails wrapping correctly. If you check the link on my web page, you will see that they are NOT wrapping correctly. You may have to adjust the height until it fits your needs.
.postimage-title
{
height: 30px;
}To change the font, add this line with the desired font size to the .postimage-title a section that you cut and paste above code above. Obviously, you should change ‘whatever’ to the desired font size.
font-size:whatever!important;
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] how to link css into head instead of body?This appears to have been fixed in wordpress. I am seeing style sheets loaded into the header now, but I’ve also moved the loading of the stylesheet.
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] How Can I CentreLet me know how it goes.
Forum: Fixing WordPress
In reply to: wp_enqueue_styles not doing anything…It looks like this issue was fixed recently in WordPress.
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] How Can I CentrePlease upgrade to version 2.0 and follow the instructions on the readme page.
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] WidthIt looks great!
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] RandomThank you! Please rate the plugin. It helps!
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] WidthSorry for the delay. Do you want to center the entire grid? I will be updating the code this week.
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] How Can I CentreHello,
You have uncovered a flaw in the code! I will be providing an update in a few days.
Thanks!
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] TagsHi,
Try using the tag name instead of the tag id.
Example:
[thumbnailgrid tag=’php’]
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] how to link css into head instead of body?Thank you very much for sharing that! By the way, WordPress temporarily removed my plugin for a little while because I was using yourdomain.com. It turns out that that domain links to a spammy site and you should be using the much safer domain example.com as an example instead.
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] Using shortcode in single.php?Thank you!
Forum: Plugins
In reply to: [Featured Image Thumbnail Grid] Using shortcode in single.php?I’m not sure, I’ve never used do_shortcode but maybe this will work. I replaced the quotes containing your string with double quotes.
echo do_shortcode( “[thumbnailgrid cat=’4′ posts=’12’ type=’post’ order_by=’date’ order=’ASC’]” );
Usually I would use single quotes to contain the text and double quotes in the text but it should work the other way around too.
echo do_shortcode( ‘[thumbnailgrid cat=”4″ posts=”12″ type=”post” order_by=”date” order=”ASC”]’ );