-
Use the Download button on www.cursor.com web site. It will download the
NAME.AppImagefile. -
Copy the .AppImage file to your Applications directory
cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImageUse the Download button on www.cursor.com web site. It will download the NAME.AppImage file.
Copy the .AppImage file to your Applications directory
cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage| /** | |
| * This code should be added to functions.php of your theme | |
| **/ | |
| function my_woocommerce_catalog_orderby( $args ) { | |
| $args['meta_key'] = '_stock_status'; | |
| $args['orderby'] = array( 'meta_value' => 'ASC', 'date' => 'DESC' ); | |
| return $args; | |
| } | |
| add_filter( 'woocommerce_get_catalog_ordering_args', 'my_woocommerce_catalog_orderby' ); |
| <?php | |
| /* | |
| * example usage: $results = reset_role_WPSE_82378( 'subscriber' ); | |
| * per add_role() (WordPress Codex), $results "Returns a WP_Role object | |
| * on success, null if that role already exists." | |
| * | |
| * possible $role values: | |
| * 'administrator' | |
| * 'editor' | |
| * 'author' |