Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/softbeam/hobby/wp-includes/functions.php on line 6131

Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/softbeam/hobby/wp-includes/functions.php on line 6131

Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/softbeam/hobby/wp-includes/functions.php on line 6131

Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/softbeam/hobby/wp-includes/functions.php on line 6131

get_calendar() and quotation collection

Tricks about wordpress themes and plugins:

Usually the get_calendar() function with the default argument of 1, which makes the calendar displays a little bit narrow. Just use get_calendar(0), which shows the day in the form of 3 letter instead of 1 letter and thus makes its display broad.

For random quotation, I’m using quotation collection. Acutally I can directly use the one coming with the installation: hello_dolly(), but this does not support multiline quotes.

Archives sidebar usually was displayed by month. To get a monthly post count, add show_post_count=1 after type=monthly, i.e., changing to  wp_get_archives(‘type=monthly&show_post_count=1’)