Wordpress Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with " blank pages is the theme's way of telling you "something broke dude" quick troubleshooting - `wp theme list` then `wp theme activate twentyseventeen`")
 
No edit summary
Line 1: Line 1:


blank pages is the theme's way of telling you "something broke dude"
blank pages is the theme's way of telling you "something broke dude"
quick troubleshooting - `wp theme list` then `wp theme activate twentyseventeen`
quick troubleshooting - `wp theme list` then `wp theme activate twentyseventeen`
wp-cli is your friend use it.
composer is your friend , use it.
sample composer.json:
<pre>
{
  "name": "company/project",
  "description": "Company Website",
  "type": "project",
  "repositories": [
    {
      "type": "composer",
      "url": "https://wpackagist.org"
    }
  ],
  "require": {
    "johnpbloch/wordpress": "4.7.2",
    "philippbaschke/acf-pro-installer": "^1.0",
    "humanmade/S3-Uploads": "1.1.0",
    "psy/psysh" : "~0.6",
    "symfony/process" : "3.2",
    "wpackagist-plugin/ajax-load-more": "2.13.1",
    "wpackagist-plugin/custom-post-type-ui": "1.5.1",
    "wpackagist-plugin/megamenu": "2.3.4",
    "wpackagist-plugin/timber-library": "1.2.1",
    "wpackagist-plugin/wordfence": "6.3.0",
    "wpackagist-plugin/wordpress-seo": "4.1"
  },
  "extra": {
        "wordpress-install-dir": "public_html/wp",
        "installer-paths": {
            "public_html/wp/wp-content/plugins/{$name}": [
                "type:wordpress-plugin"
            ]
        }
    }
}
</pre>

Revision as of 19:15, 31 July 2017


blank pages is the theme's way of telling you "something broke dude"

quick troubleshooting - `wp theme list` then `wp theme activate twentyseventeen`

wp-cli is your friend use it.

composer is your friend , use it.

sample composer.json:

{
  "name": "company/project",
  "description": "Company Website",
  "type": "project",
  "repositories": [
     {
       "type": "composer",
       "url": "https://wpackagist.org"
     }
  ],
  "require": {
     "johnpbloch/wordpress": "4.7.2",
     "philippbaschke/acf-pro-installer": "^1.0",
     "humanmade/S3-Uploads": "1.1.0",
     "psy/psysh" : "~0.6",
     "symfony/process" : "3.2",
     "wpackagist-plugin/ajax-load-more": "2.13.1",
     "wpackagist-plugin/custom-post-type-ui": "1.5.1",
     "wpackagist-plugin/megamenu": "2.3.4",
     "wpackagist-plugin/timber-library": "1.2.1",
     "wpackagist-plugin/wordfence": "6.3.0",
     "wpackagist-plugin/wordpress-seo": "4.1"
   },
   "extra": {
        "wordpress-install-dir": "public_html/wp",
        "installer-paths": {
            "public_html/wp/wp-content/plugins/{$name}": [
                "type:wordpress-plugin"
            ]
        }
    }
}