{"id":150,"date":"2013-03-09T00:41:58","date_gmt":"2013-03-08T16:41:58","guid":{"rendered":"http:\/\/harnv.nublue.com\/wp\/?p=150"},"modified":"2013-03-18T22:28:19","modified_gmt":"2013-03-18T14:28:19","slug":"my-introduction-to-wordpress","status":"publish","type":"post","link":"http:\/\/harnv.nublue.com\/?p=150","title":{"rendered":"My Introduction to WordPress"},"content":{"rendered":"<p>On a recent visit with my mum and her husband I was discussing a website that they are involved with for the Southern Highlands University of the Third Age (U3A) <a title=\"http:\/\/sohiu3a.org.au\" href=\"http:\/\/sohiu3a.org.au\" target=\"_blank\">http:\/\/sohiu3a.org.au<\/a>. He mentioned that the site is managed using wordpress which I had only ever heard of in respect to the <a title=\"WordPress.com\" href=\"http:\/\/wordpress.com\" target=\"_blank\">WordPress.com<\/a> site. A quick bit of research led me to <a title=\"Wordpress.org\" href=\"http:\/\/wordpress.org\" target=\"_blank\">WordPress.Org<\/a> and suggested that I&#8217;d be very interested.<\/p>\n<p>All I can say since then is that I&#8217;ve been very impressed. The download and install via my hosting company was incredibly painless using Softaculous, and getting some basic content up, customising a child template based on the default &#8220;twentytwelve&#8221; that it ships with was rather simple. Even getting some of my existing PHP code to work as a custom page and connect to a pre-existing database was relatively simple.<\/p>\n<p>For further information on how to setup a child them and customise it within WordPress use the more link below.<\/p>\n<p><!--more--><\/p>\n<h3>Setting up a Child Theme<\/h3>\n<p>A child theme is the simplest way to make some customisations to the behaviour of a WordPress site without having to worry about losing your changes in a future upgrade of your theme. The basics are very simple:<\/p>\n<ol>\n<li>Create a directory for your new Child Theme in the &#8220;themes&#8221; directory of your wordpress installation. This is likely <code>www\/wp_content\/themes<\/code>.<\/li>\n<li>Create or copy a properly formatted &#8220;styles.css&#8221; in this directory.\u00a0 The simplest way to do this is to copy and paste the following code into this file:<code><code>\/*<br \/>\nTheme Name: Nublue<br \/>\nTheme URI: http:\/\/harnv.nublue.com\/<br \/>\nDescription: Child theme based on Twenty Twelve for nublue.com customisations<br \/>\nAuthor: James McMahon<br \/>\nAuthor URI: http:\/\/harnv.nublue.com\/about\/<br \/>\nTemplate: twentytwelve<br \/>\nVersion: 0.1.0<br \/>\n*\/<\/code><\/code>@import url(&#8220;..\/twentytwelve\/style.css&#8221;);<\/li>\n<li>Update the comments in the lines above to reflect your details.<\/li>\n<li>Note that the @import statement is important so that you inherit all the styles that are part of your parent theme.<\/li>\n<li>Start customising your theme by adding custom CSS elements, or creating new page templates for use with existing or new scripts, forms etc.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>On a recent visit with my mum and her husband I was discussing a website that they are involved with for the Southern Highlands University of the Third Age (U3A) http:\/\/sohiu3a.org.au. He mentioned that the site is managed using wordpress which I had only ever heard of in respect to the WordPress.com site. A quick [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,7,8],"tags":[],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-how-to","category-software","category-wordpress"],"_links":{"self":[{"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=150"}],"version-history":[{"count":5,"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":153,"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions\/153"}],"wp:attachment":[{"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/harnv.nublue.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}