Useful Wordpress Links + PHP commands

This page is for my own use, but you may find it interesting if you are developing on WordPress. –KDR

Function reference
https://codex.wordpress.org/Function_Reference#Post.2C_Custom_Post_Type.2C_Page.2C_Attachment_and_Bookmarks_Functions

WP_Query

https://codex.wordpress.org/Class_Reference/WP_Query

WP_Query $args

https://www.billerickson.net/code/wp_query-arguments/

Get Posts
https://developer.wordpress.org/reference/functions/get_posts/
Get Page by Title
https://stackoverflow.com/questions/21040938/get-wordpress-post-by-post-title

Get Post Content

https://wordpress.stackexchange.com/questions/9667/get-wordpress-post-content-by-post-id

PHP commands

get_class([Object]);

Chromium

Ctrl-O as in “oh” to open local file browser

AMP project

https://www.ampproject.org/

 

Setup WordPress Interactive Shell

https://jondavidjohn.com/interactive-wordpress-php-shell/

 

Install WordPress on Ubuntu 16

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04

Be sure to give your machine/ServerName a “.dev” extension so WP doesn’t complain when you sign up.

Postfix mail is at /var/mail/username