WordPress Tips

 

This page is mostly for personal use. If anyone else finds it useful, help yourself

WORDPRESS CACHING

A caching plugin MUST be installed on any wordpress blog!

Otherwise there is a 90% chance the ISP will complain to you about CPU usage and / or turn off the account!

!!!!!!!!!!

W3 Cache – There are many caching plugins. This particular plugin will cache pages, database queries, and objects. It will minify pages and works with the reader’s browser cache.

It’s only drawback is that a popup begging for money will intrude on you. Donations buttons are fine. Anything that forces you to turn it off before you can work on your computer is intolerable!

DB Cache Reloaded – I like this sql database caching program better than the database cache option in W3 Cache, because this program writes a very helpful message at the bottom of the page source telling how many queries the page required to create the page and how many were cached – INDISPENSIBLE

————————–

General Plug ins

Page Links To – Point a post to a custom link. – indispensible

Widget Logic – Controls whether a widget appears on certain posts or pages. – indispensible

Next Page Buttons – Installs a Next Page Button on the editor interface – Convenience

Ozh Admin Drop Down – Moves admin menus to top of page. - indispensible

—————————-

XAMPP local blog testing

Virtual Hosts – The ‘logs” directory MUST BE CREATED BY USER for virtual hosts to work. Error is Apache will say it starts but green bar does not indicate running Apache

——————————————

YD Recent Posts Widget shortcode bug fix

@Nadia & Andrew:

You found a bug. It will be fixed in the next release of the plugin. In the meantime here is how to fix it manually:

edit the file inc/yd-rpw-widget.inc.php in hte plugin folder.

On line # 175 please change this line:

$wp_query_string = $spec_query;

to this:

$wp_query_string = html_entity_decode( $spec_query );

This will fix the issue with the ampersand (&) being html-encoded by the WordPress shortcode argument routines.

————

I put this in my style.css.
.yd_rp_widget img {
height: 100px !important;
width: auto !important;
}
The !important overrides the .yd_rp_widget img definitions made later in yd_rp.css
Note, being css, this naturally only does a scaling on presentation.

On the second question, I’m assuming you’re meaning from using the shortcode? In which case you could try something like
[yd_list_posts title='Testing']

© 2011 The Master Of Bation Suffusion theme by Sayontan Sinha