Microsoft Security Essentials error codes
The table below has some common error codes from Microsoft Security Essentials.
|Error code||Possible reason for error||What to do now|
|0x80070002||There may be a problem checking for updates||Read Windows Update error 80070002 for more details|
|0x80070005||You may not have the correct privileges to continue with this action – you may need to log on as an administrator||Read Installation error 0x80070005 for more details|
|0x80070643||This is a generic error code – there be an undiagnosed problem with your security software||Reboot your computer and try again|
|0x8004FF06||You may have a newer version of the software installed||You need to uninstall all versions of the software. The following articles can help you uninstall a program:
You should then re-install your program
Other Microsoft security software error codes
The table below has some common error codes that you may get when using other Microsoft security software. You can also try searching the Microsoft Community Forums for help.
|Error code||Possible reason for error||What to do now|
|0x80070424||There may be a problem installing updates||Read Error 0x80070424 for more details|
|0x800700df||The file you are trying to download may exceed the allowed limit and cannot be saved – you may need to increase your file-download limit||Read 0x800700df: folder copy error for more details|
|0x800705b4||There may be a problem with your antivirus update||Read Windows Update error 800705b4 for more details|
|0x4ff02||Malware may have modified your antivirus or antimalware software – you may need to uninstall and reinstall your security software||The following articles have more information about uninstalling a program:
Then re-install your program
|0x80080005||Your computer may not be responding properly||Read Stop error code 0x80080005 for more details|
|0x80070070||You may not have enough disk space on your computer to install updates||Read Windows Update error 80070070 for more details|
|0x8007042C||There may be a problem with your Windows Firewall||Read 0x8007042c error messagefor detailed troubleshooting instructions|
|0x80240016||There may be another installation in progress – you should wait for this install to complete||Read Windows Update error 0x80240016 for more details|
|0x8024400a||There may be a connection problem between your computer and the Windows servers||Read Windows Update error 8024400a, 8024400d, or 8024400e for more details|
Good WP-Query References
WordPress Query Comprehensive Reference: CODEX:
$args = array(
Show posts associated with certain author.
'author' => 1,2,3,
(int) - use author id [use minus (-) to exclude authors by ID ex.
'author' => -1,-2,-3,]
'author_name' => 'luetkemj',
string) - use 'user_nicename'(NOT name) Category Parameters:
Show posts associated with certain categories.
'cat' => 5, //(int) - use category id. 'category_name' => 'staff', '<a title="news" href="http://updateox.com/tag/news/">news</a>', //(string) - use category slug (NOT name). 'category__and' => array( 2, 6 ), //(array) - use category id. 'category__in' => array( 2, 6 ), //(array) - use category id. 'category__not_in' => array( 2, 6 ), //(array) - use category id.Tag Parameters:
Show posts associated with certain tags.
'tag' => 'cooking', //(string) - use tag slug. 'tag_id' => 5, //(int) - use tag id. 'tag__and' => array( 2, 6), //(array) - use tag ids. 'tag__in' => array( 2, 6), //(array) - use tag ids. 'tag__not_in' => array( 2, 6), //(array) - use tag ids. 'tag_slug__and' => array( 2, 6), //(array) - use tag slugs. 'tag_slug__in' => array( 2, 6), //(array) - use tag slugs.Taxonomy Parameters:
Show posts associated with certain taxonomy.
//Important Note: tax_query takes an array of tax query arguments arrays (it takes an array of arrays) //This construct allows you to query multiple taxonomies by using the relation parameter in the first (outer) array to
describe the boolean relationship between the taxonomy queries.
'tax_query' => array( //(array) - use taxonomy parameters (available with Version 3.1). 'relation' => 'AND', //(string) - Possible values are 'AND' or 'OR' and is the equivalent of ruuning a JOIN for each taxonomy array( 'taxonomy' => 'color', //(string) - Taxonomy. 'field' => 'slug', //(string) - Select taxonomy term by ('id' or 'slug') 'terms' => array( 'red', 'blue' ), //(int/string/array) - Taxonomy term(s). 'include_children' => true, //(bool) - Whether or not to include children for hierarchical taxonomies. Defaults to true. 'operator' => 'IN' //(string) - Operator to test. Possible values are 'IN', 'NOT IN', 'AND'. ), array( 'taxonomy' => 'actor', 'field' => 'id', 'terms' => array( 103, 115, 206 ), 'include_children' => false, 'operator' => 'NOT IN' ) ),Post & Page Parameters:
Display content based on post and page parameters.
'p' => 1, //(int) - use post id. 'name' => 'hello-world', //(string) - use post slug. 'page_id' => 1, //(int) - use page id. 'pagename' => 'sample-page', //(string) - use page slug. 'pagename' => 'contact_us/canada', //(string) - Display child page using the slug of the parent and the child page, separated ba slash 'post_parent' => 1, //(int) - use page id. Return just the child Pages. 'post__in' => array(1,2,3), //(array) - use post ids. Specify posts to retrieve. 'post__not_in' => array(1,2,3), //(array) - use post ids. Specify post NOT to retrieve.//NOTE: you cannot combine 'post__in' and 'post__not_in' in the same query //////Type & Status Parameters - Show posts associated with certain type or status.
'post_type' => array( //(string / array) - use post types. Retrieves posts by Post Types, default value is 'post'; 'post', // - a post. 'page', // - a page. 'revision', // - a revision. 'attachment', // - an attachment. The default WP_Query sets 'post_status'=>'published', but atchments default to 'post_status'=>'inherit' so you'll need to set the status to 'inherit' or 'any'. 'any', // - retrieves any type except revisions and types with 'exclude_from_search' set to true. 'my-post-type' // - Custom Post Types (e.g. movies) ), 'post_status' => array( //(string / array) - use post status. Retrieves posts by Post Status, default value i'publish'. 'publish', // - a published post or page. 'pending', // - post is pending review. 'draft', // - a post in draft status. 'auto-draft' // - a newly created post, with no content. 'future' // - a post to publish in the future. 'private' // - not visible to users who are not logged in. 'inherit' // - a revision. see get_children. 'trash' // - post is in trashbin (available with Version 2.9). 'any' // - retrieves any status except those from post types with 'exclude_from_search' set to true. ),Pagination Parameters
'none'– No order (available with Version 2.8).
'ID'– Order by post id. Note the captialization.
'author'– Order by author.
'title'– Order by title.
'date'– Order by date. //’modified’ – Order by last modified date.
'parent'– Order by post/page parent id. //’rand’ – Random order.
- ‘comment_count’ – Order by number of comments (available with Version 2.9).
'menu_order'– Order by Page Order. Used most often for Pages (Order field in the EdiPage Attributes box) and for Attachments (the integer fields in the Insert / Upload MediGallery dialog), but could be used for any post type with distinct ‘menu_order’ values (theall default to 0).
meta_value'– Note that a ‘meta_key=keyname’ must also be present in the query. Note alsthat the sorting will be alphabetical which is fine for strings (i.e. words), but can bunexpected for numbers (e.g. 1, 3, 34, 4, 56, 6, etc, rather than 1, 3, 4, 6, 34, 56 as yomight naturally expect).
'meta_value_num'– Order by numeric meta value (available with Version 2.8). Also notthat a ‘meta_key=keyname’ must also be present in the query. This value allows for numericasorting as noted above in ‘meta_value’.
Sticky Post Parameters
Show Sticky Posts or ignore them.
'ignore_sticky_posts' => false,: (bool) - ignore sticky posts or not. Default value is false, don't ignore. Ignore/excludsticky posts being included at the beginning of posts returned, but the sticky post will still be returned in the natural order othat list of posts returned. //NOTE: For more info on sticky post queries see: http://codex.wordpress.org/Class_Reference/WP_Query#Sticky_Post_Parameters Time Parameters:
Show posts associated with a certain time period.
'year' => 2012,//(int) – 4 digit year (e.g. 2011).
'monthnum' => 3,//(int) – Month number (from 1 to 12).
'w' => 25,//(int) – Week of the year (from 0 to 53). Uses the MySQL WEEK command. The mode is dependenon the “start_of_week” option.
'day' => 17,//(int) – Day of the month (from 1 to 31).
'hour' => 13,//(int) – Hour (from 0 to 23).
'minute' => 19,//(int) – Minute (from 0 to 60).
'second' => 30,//(int) – Second (0 to 60).
Custom Field Parameters:
Show posts associated with a certain custom field.
'meta_key' => 'key', //(string) - Custom field key. 'meta_value' => 'value', //(string) - Custom field value. 'meta_value_num' => 10, //(number) - Custom field value. 'meta_compare' => '=', //(string) - Operator to test the 'meta_value'. Possible values are '!=', '>', '>=', '<', or ='. Default value is '='. 'meta_query' => array( //(array) - Custom field parameters (available with Version 3.1). array( 'key' => 'color', //(string) - Custom field key. 'value' => 'blue' //(string/array) - Custom field value (Note: Array support is limited to a compare value of 'IN', 'NOT IN', 'BETWEEN', or 'NOT BETWEEN') 'type' => 'CHAR', //(string) - Custom field type. Possible values are 'NUMERIC', 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED'. Default value is 'CHAR'. 'compare' => '=' //(string) - Operator to test. Possible values are '=', '!=', '>', '>=', '<', '<=', 'LIKE', 'NOT LIKE', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. Default value is '='. ), array( 'key' => 'price', 'value' => array( 1,200 ), 'compare' => 'NOT LIKE' )Permission Parameters-
Display published posts, as well as private posts, if the user has the appropriate capability:
'perm' => 'readable':
(string) Possible values are 'readable', 'editable' (possible more ie all capabilitiealthough I have not tested)
Parameters relating to caching
'no_found_rows' => false, :
(bool) Default is false. WordPress uses SQL_CALC_FOUND_ROWS in most queries in order timplement pagination. Even when you don’t need pagination at all. By Setting this parameter to true you are telling wordPress not tcount the total rows and reducing load on the DB. Pagination will NOT WORK when this parameter is set to true.
For more information see get_posts-and-query_posts-functions
'cache_results' => true, //
(bool) Default is true
'update_post_term_cache' => true, :
(bool) Default is true
'update_post_meta_cache' => true
(bool) Default is true
NOTE: Caching is a good thing. Setting these to false is generally not advised. For more info on usage see Class_Reference
Post Field Parameters Not sure what these do. For more info see:
Filters For more information on available Filters see Filters Reference
$the_query = new WP_Query( $args );The Loop
if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); // Do Stuff endwhile; endif;Reset Post Data
Jonathan Trager and Sara Thomas met while shopping for gloves in New York. Though buying for their respective lovers, the magic was right and a night of Christmas shopping turned into romance. Jon wanted to explore things further but Sara wasn’t sure their love was meant to be. They decided to test fate by splitting up and seeing if destiny brought them back together… Many years later, having lost each other that night, both are engaged to be married. Still, neither can shake the need to give fate one last chance to reunite them.
Jon enlists the help of his best man to track down the girl he can’t forget starting at the store where they met. Sara asks her new age musician fiance for a break before the wedding and, with her best friend in tow, flies from California to New York hoping destiny will bring her soul-mate back. Near-misses and classic Shakespearean confusion bring the two close to meeting a number of times but fate will have the final word on whether it was meant to be.
A couple reunite years after the night they first met, fell in love, and separated, convinced that one day they’d end up together.
Enabling Support for Post Thumbnails
Themes have to declare their support for post images before the interface for assigning these images will appear on the Edit Post and Edit Page screens. They do this by putting the following in their functions.php file:
add_theme_support( 'post-thumbnails' );
Setting a Post Thumbnail
If your theme was successful in adding support for Post Thumbnails the “Featured Image” metabox will be visible on the on the Edit Post and Edit Page screens. If it isn’t, make sure “Featured Image” is enabled in the screen options on the top right.
After clicking the “Set featured image” link follow the same steps as inserting images in Posts and Pages. But instead of the “Insert into Post” button use the “Use as featured image” link next to it, to set the Post Thumbnail.