One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| <?php | |
| /** | |
| * Create a new redirect within the Yoast redirect system. | |
| * | |
| * @param string $origin_url redirecting from. | |
| * @param string $destination_url redirecting to. | |
| * @param int $type redirect code, defaults to 301. | |
| * @param string $format the format, either 'plain' or 'regex', defaults to 'plain'. | |
| * @return void | |
| */ |
| <?php | |
| $link_manager = new RP4WP_Post_Link_Manager(); | |
| $related_posts = $link_manager->get_children( get_the_ID() ); |
| # create a file C:\Users\[user]\.bashrc | |
| # add this content | |
| # add your onw aliases or changes these ones as you like | |
| # to make a dot (.bashrs) file in windows, create a file ".bashrs." (without extention) and save. windows will save it as ".bashrc" | |
| alias ls='ls -alh' | |
| alias cdnginx='cd /c/nginx && ls' | |
| alias cdmcga='cd /c/Users/[user]/sbox/node/mcga && ls' | |
| alias cdfood9='cd /c/Users/[user]/sbox/node/food9 && ls' | |
| alias cdmysql='cd /c/nginx/mysql/bin && ls' |
| DELETE | |
| FROM `wp_usermeta` | |
| WHERE `meta_key` LIKE 'meta-box%' |