Search the Wiki

Viewing 71 to 80 of 337 items

Bulk delete WordPress posts

Taken from WP Stackexchange Don’t try to Bulk delete WordPress posts with SQL. There is post information is multiple tables. You will end up with orphan data scattered throughout the database. While it is possible to write the JOINs you’d need to delete everything, the SQL could be complex. Create a simple Loop and use the  Full Article…

0

How To Remove Error Notices Using WordPress’ WP_DEBUG

As seen here: http://wycks.wordpress.com/2013/12/05/how-to-remove-error-notices-using-wordpresss-wp_debug/ In your `wp-content` folder create a new folder called `mu-plugins` and in that folder create a php file with the error level you want, for example: If you are using PHP 5.5 +, you will get deprecated noticed for WordPress’s mysql_* functions, you can turn them off using: Or for something really  Full Article…

0

How to Force Eject a Stuck CD or DVD in OS X

Taken from here: http://guides.macrumors.com/Force_Eject_a_Stuck_CD_or_DVD There are a few different options on the page listed above. What worked for me was this: Open ‘Disk Utility’ and choose the disc you wish to eject in the left-hand pane, then click on the Eject button.

0

Enqueue/Include neutral urls for http and/or https in WordPress

Taken from here: http://wordpress.stackexchange.com/a/81897/13712 URLs must have a https or http protocol for WordPress to enqueue them. FIf possible you should use get_template_directory_uri() (for parent themes) or get_stylesheet_directory_uri() (for child themes) as both of these handle SSL if necedssary. Here’s an example: If you can’t enqueue your own local script/s and have to enqueue from an  Full Article…

0

OS X – applescript to move all windows onto the screen

When switching from multiple monitors to a single monitor, some windows may be inaccessible due to being off the screen. They can be brought back by knowing the keyboard shortcuts for moving windows, but that’s a pain. Here’s an applescript that will bring them all back onto the visible screen:

0

How to change your WordPress.org password

This appeared to not be possible for a while, hence creating this note on where it is hidden away once you are logged into WordPress.org. After some more looking, and a bit of searching, I found that the View your profile link can be found specifically on the WordPress.org Forums. Notice that the View your profile is at the top right  Full Article…

0

WooCommerce Breadcrumbs – Add categories

Customers generally prefer product breadcrumbs that show the steps it took to get to the product they are viewing, so they can backtrack easily. Breadcrumbs, if you aren’t sure, are the row of links above the main content, below the header, that look like: Home > Catalog > Clothes > Men’s > Shirts > Blue  Full Article…

0

Ordered List CSS Styles

Original here: http://codeitdown.com/ordered-list-css-styles/ Styling ordered list numbers with CSS is not as simple as one might think because there is no CSS selector to target list numbers. Styling them is only possible with a simple CSS3 technique that uses a counter to replace the default numbers. Styled numbers will only be visible in CSS3 browsers ,  Full Article…

0