Digging into Wordpress book

The whole site looks great, except that I need to use the “Recent Posts” widget and it’s double spacing the lines on every recent post. How can I change it to single line spacing?

Where would I go on there to make the change, and how?

Please – no “portal” sites, “coder” sites (whatever that means) or “project management” sites. Thanks!

Best reply by dhvrm:

There are several “Recent Posts” plung-ins for WordPress, several of which use the name “Recent Posts”, so it’s difficult to determine which you are using.

Also, you don’t indicate if you have used the widget tool in the Dashboard to place the widget, or if you have hard-coded PHP to place it, which makes it difficult to tell you how to fix the issue.

Finally, without seeing the HTML being produced by the widget, we can’t tell you how to style the elements to reduce the spacing.

1. Get the actual name of the plugin. Better yet, post a link to it, either in the WordPress Codex or the developer’s site.

2. Repost this as a new question and include a link to your blog so we can see what it’s doing.

In WordPress, I would like to use one widget to put it on one sidebar, but not to be displayed in every webpage but in a specific template page. And also, to be editable! Thanks in advance

Best reply by Darron Burow:

ONLY if your site is hosted on your own webhost! i.e your using the wordpress.org download and your sites at www.yoursite.com, NOT hosting on wordpress.com (i.e. yoursite.wordpress.com).

If so, Yes you can but you need to feel a little comfortable editing PHP or you’ll need to download the widget logic plugin: (Recommended)

http://wordpress.org/extend/plugins/widget-logic/

Each widget is different, but you’ll need to go to that specific active widget, edit the code to show the instance you want. or use the the plugin which will give you the optin to change where your widgets are displayed. Here are your choices:

Display only on the home page: is_home()
Display only on individual posts: is_single()
Display only on pages: is_page()
Display on archive pages (category, tag, etc.): is_archive()
Display on search results pages: is_search()
Display on all pages except the home page: !is_home()
Display on “this” or “that” page: is_page(‘this’) || is_page(‘that’)

If you need more help, or more specifics, you can reach me at my webrats blog site

http://webrats.wordpress.com

¿Do you like this page?

Follow us in Facebook

© 2010 Wordpress Ring Suffusion theme by Sayontan Sinha

Switch to our mobile site