{"id":64,"date":"2014-04-14T20:41:04","date_gmt":"2014-04-14T19:41:04","guid":{"rendered":"http:\/\/192.168.1.84\/?p=64"},"modified":"2019-06-01T22:54:03","modified_gmt":"2019-06-01T21:54:03","slug":"configuring-wordpress","status":"publish","type":"post","link":"https:\/\/www.benningtons.net\/index.php\/configuring-wordpress\/","title":{"rendered":"Configuring WordPress"},"content":{"rendered":"<p>Following on from my post to setup a <a href=\"http:\/\/www.benningtons.net\/index.php\/raspberry-pi-web-server\/\" title=\"Raspberry Pi Web Server\" target=\"_blank\" rel=\"noopener noreferrer\">Raspberry Pi Web Server<\/a> I next needed to install a Content Management System (CMS).<br \/>\nI chose WordPress because I wanted to get the site setup quickly and, for now, I have found WordPress to be reliable and easy to use.<\/p>\n<p>I won&#8217;t provide an installation guide because <a href=\"http:\/\/www.raspberrypi.org\/learning\/web-server-wordpress\/\" title=\"http:\/\/www.raspberrypi.org\/learning\/web-server-wordpress\/\"target=\"_blank\" rel=\"noopener noreferrer\">this one is ideal<\/a>. (Start from step 4 &#8220;Download WordPress&#8221;.)<\/p>\n<p><b>Choosing a Theme:<\/b><\/p>\n<p style=\"padding-left: 30px;\">\nAfter trawling through many WordPress themes to find something simple yet interesting, I eventually picked &#8220;Terminally&#8221; by Andy Warburton. I feel at home with a green screen terminal session and that is what this theme seeks to emulate.<\/p>\n<p style=\"padding-left: 30px;\">\nBecause I haven&#8217;t setup FTP (I&#8217;d like to avoid adding too many services and open ports), I couldn&#8217;t download new themes from within the WordPress admin facility. So I used another computer to download and uncompress the theme&#8217;s zip file and then scp to copy the new terminally folder and its contents to my Pi web server.<\/p>\n<div id=\"code\">\nscp -r ~\/tmp\/terminally user@webserver:\/var\/www\/wp-content\/themes\/\n<\/div>\n<p><b>A Style for Code:<\/b><\/p>\n<p style=\"padding-left: 30px;\">\nBecause I may post examples of programs or scripts I tweaked the \/var\/www\/wp-content\/themes\/terminally\/style.css file to insert the following:<\/p>\n<p><div id=\"code\">\n#code {<br \/>\n border: solid 1px lime;<br \/>\n font-size:12px;<br \/>\n font-weight: bold;<br \/>\n color: #FFA500;<br \/>\n margin: 10px;<br \/>\n padding:10px;<br \/>\n background: #000000;<br \/>\n}\n<\/div>\n<p style=\"padding-left: 30px;\">\nGiving a nice orange on black display to distinguish any code from my notes. Well, I think it looks nice&#8230; After half a lifetime using green screens my first amber monitor was quite exotic!<\/p>\n<p style=\"padding-left: 30px;\">\nI can then use HTML to switch the &#8220;code&#8221; style on\/off with<\/p>\n<p style=\"font-weight:bold;color: #FFA500;background: #000000;\"><code>&lt;div id=\"code\"&gt;scripts and code goes here&lt;\/div&gt;<\/code><\/p>\n<p style=\"padding-left: 30px;\">\nThis probably isn&#8217;t the &#8216;correct&#8217; way to format text but it works and so it will do until I learn more.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Following on from my post to setup a Raspberry Pi Web Server I next needed to install a Content Management System (CMS). I chose WordPress because I wanted to get the site setup quickly and, for now, I have found WordPress to be reliable and easy to use. I won&#8217;t provide an installation guide because [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[32],"tags":[14,15,2,6,13],"_links":{"self":[{"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/posts\/64"}],"collection":[{"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":31,"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions\/348"}],"wp:attachment":[{"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benningtons.net\/index.php\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}