{"id":40022,"date":"2018-08-09T03:01:23","date_gmt":"2018-08-08T17:01:23","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=40022"},"modified":"2018-08-08T18:22:09","modified_gmt":"2018-08-08T08:22:09","slug":"wordpress-responsive-twentyten-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-responsive-twentyten-primer-tutorial\/","title":{"rendered":"WordPress Responsive TwentyTen Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a title='WordPress Responsive TwentyTen Primer Tutorial' href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/responsive_twentyten.pdf\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"WordPress Responsive TwentyTen Primer Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/responsive_twentyten.jpg\" title=\"WordPress Responsive TwentyTen Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">WordPress Responsive TwentyTen Primer Tutorial<\/p><\/div>\n<p>The blog you are reading got a makeover today.  We installed an excellent WordPress <a target=_blank title='Plugin information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Plug-in_(computing)'>Plugin<\/a> called &#8220;Responsive TwentyTen&#8221; by Todd Halfpenny that &#8230;<\/p>\n<blockquote><p>\nMakes your TwentyTen themed site have a responsive and fluid layout. Making it ideal for for viewing across a whole range of devices and screen sizes (i.e iPhones, Android, iPads)\n<\/p><\/blockquote>\n<p> &#8230; and our verdict is, even on the WordPress 4.1.1 version of the WordPress Blog the plugin was not tested on, it improves the smaller screen mobile device look of the blog considerably, so thanks a lot.<\/p>\n<p>Sometimes with responsive design that you test on a non-mobile laptop, you&#8217;ll see a different pattern of TLS Handshaking going on in the status bar of your web browser, and we certainly see that happening here.<\/p>\n<p>While we were at it, some heights and widths involving &#8220;px&#8221; (pixel) settings we&#8217;ve stopped happening for the smaller mobile devices.<\/p>\n<p>The other implication for this blog is that we no longer use the stylesheet of the Twenty Fifteen theme anymore &#8230; goodbye 15 hello <font size=5>10<\/font>.<\/p>\n<p>We&#8217;ve also turned off some scrolling we used to do on the mobile platforms, now that the content &#8220;above the fold&#8221; is controlled so much better.<\/p>\n<p>We hope you like <a title='WordPress Responsive TwentyTen Primer Tutorial' href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/responsive_twentyten.jpg\" title=\"Tutorial picture\">the changes<\/a>, as shown below in &#8220;diff&#8221; form.<\/p>\n<p><code><br \/>\n# diff header.php header_preplugin.php<br \/>\n180c180<br \/>\n&lt; &lt;link rel=\"stylesheet\" type=\"text\/css\" media=\"all\" href=\"&lt;?php $iphone = strpos($_SERVER['HTTP_USER_AGENT'],'iPhone');  $android = strpos($_SERVER['HTTP_USER_AGENT'],'Android');   $blackberry = strpos($_SERVER['HTTP_USER_AGENT'],'BlackBerry');  $ipod = strpos($_SERVER['HTTP_USER_AGENT'],'iPod');  $ipad = strpos($_SERVER['HTTP_USER_AGENT'],'iPJUNKad');  if (1 == 2 && ($ipad || $iphone || $android || $ipod || $blackberry)) { echo '\/\/www.rjmprogramming.com.au\/ITblog\/wp-content\/themes\/twentyfifteen\/style.css'; } else { bloginfo( 'stylesheet_url' ); } ?&gt;\" \/&gt;<br \/>\n---<br \/>\n&gt; &lt;link rel=\"stylesheet\" type=\"text\/css\" media=\"all\" href=\"&lt;?php $iphone = strpos($_SERVER['HTTP_USER_AGENT'],'iPhone');  $android = strpos($_SERVER['HTTP_USER_AGENT'],'Android');   $blackberry = strpos($_SERVER['HTTP_USER_AGENT'],'BlackBerry');  $ipod = strpos($_SERVER['HTTP_USER_AGENT'],'iPod');  $ipad = strpos($_SERVER['HTTP_USER_AGENT'],'iPJUNKad');  if ($ipad || $iphone || $android || $ipod || $blackberry) { echo '\/\/www.rjmprogramming.com.au\/ITblog\/wp-content\/themes\/twentyfifteen\/style.css'; } else { bloginfo( 'stylesheet_url' ); } ?&gt;\" \/&gt;<br \/>\n1421c1421<br \/>\n&lt;   if (partopokay != \"\" && 1 == 7) {<br \/>\n---<br \/>\n&gt;   if (partopokay != \"\") {<br \/>\n1778d1777<br \/>\n&lt;   if (!navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n1779a1779<br \/>\n&gt;<br \/>\n1800,1804d1799<br \/>\n&lt;<br \/>\n&lt;<br \/>\n&lt;   }<br \/>\n&lt;<br \/>\n&lt;<br \/>\n2329,2338d2323<br \/>\n&lt; function mlater() {<br \/>\n&lt;   if (1 == 1 || navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n&lt;   var xstih=document.getElementById('site-title').innerHTML;<br \/>\n&lt;   if (xstih.indexOf(\"up\" + \"top\") == -1) {<br \/>\n&lt;     document.getElementById('site-title').innerHTML+='&lt;a id=\"avs\" style=\"text-decoration:none;font-size:40px;\" href=# onmouseover=\"getVisualSynopsis(event);\" onmouseout=\"yehbut();\"  ontouchstart=\"getVisualSynopsis(event);\" ontouchend=\"yehbut();\"  onclick=\" uptop(); \" title=\"... you can wait for the long hover functionality about Visual Synopsis (Slideshows)\"&gt;&amp;#127910;&lt;\/a&gt;&nbsp;&lt;a style=\"cursor:pointer;text-decoration:none;font-size:40px;\" onclick=\"popselid();\" title=\"Filter Content via Div ID\"&gt;&amp;#10135;&lt;\/a&gt;&nbsp;&lt;a style=\"cursor:pointer;text-decoration:none;visibility:hidden;font-size:40px;\" title=\"Blog post contents reduced to summary\" id=\"eds\" onclick=\"pre_details_summary();\"&gt;&amp;#10134;&lt;\/a&gt;' + printscreen(0);<br \/>\n&lt;     if (document.URL.indexOf(\"visualsynopsis=\") != -1) document.getElementById('avs').click();<br \/>\n&lt;   }<br \/>\n&lt;   }<br \/>\n&lt; }<br \/>\n&lt;<br \/>\n2340,2341d2324<br \/>\n&lt;   if (navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n&lt;   mlater();<br \/>\n2344,2347d2326<br \/>\n&lt;   } else {<br \/>\n&lt;   img_alt();  \/\/ Make sure all img have alt (=title)<br \/>\n&lt;   mlater();<br \/>\n&lt;   }<br \/>\n2360,2363d2338<br \/>\n&lt;   if (1 == 1) {<br \/>\n&lt;   setTimeout(mlater,2000);<br \/>\n&lt;   } else {<br \/>\n&lt;   if (!navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n2366c2341<br \/>\n&lt;     document.getElementById('site-title').innerHTML+='&lt;a id=\"avs\" style=\"text-decoration:none;font-size:40px;\" href=# onmouseover=\"getVisualSynopsis(event);\" onmouseout=\"yehbut();\"  ontouchstart=\"getVisualSynopsis(event);\" ontouchend=\"yehbut();\"  onclick=\" uptop(); \" title=\"... you can wait for the long hover functionality about Visual Synopsis (Slideshows)\"&gt;&amp;#127910;&lt;\/a&gt;&nbsp;&lt;a style=\"cursor:pointer;text-decoration:none;font-size:40px;\" onclick=\"popselid();\" title=\"Filter Content via Div ID\"&gt;&amp;#10135;&lt;\/a&gt;&nbsp;&lt;a style=\"cursor:pointer;text-decoration:none;visibility:hidden;font-size:40px;\" title=\"Blog post contents reduced to summary\" id=\"eds\" onclick=\"pre_details_summary();\"&gt;&amp;#10134;&lt;\/a&gt;' + printscreen(0);<br \/>\n---<br \/>\n&gt;     document.getElementById('site-title').innerHTML+='&lt;a id=\"avs\" style=\"text-decoration:none;\" href=# onmouseover=\"getVisualSynopsis(event);\" onmouseout=\"yehbut();\"  ontouchstart=\"getVisualSynopsis(event);\" ontouchend=\"yehbut();\"  onclick=\" uptop(); \" title=\"... you can wait for the long hover functionality about Visual Synopsis (Slideshows)\"&gt;&amp;#127910;&lt;\/a&gt;&nbsp;&lt;a style=\"cursor:pointer;text-decoration:none;\" onclick=\"popselid();\" title=\"Filter Content via Div ID\"&gt;&amp;#10135;&lt;\/a&gt;&nbsp;&lt;a style=\"cursor:pointer;text-decoration:none;visibility:hidden;\" title=\"Blog post contents reduced to summary\" id=\"eds\" onclick=\"pre_details_summary();\"&gt;&amp;#10134;&lt;\/a&gt;' + printscreen(0);<br \/>\n2368,2369d2342<br \/>\n&lt;   }<br \/>\n&lt;   }<br \/>\n3531c3504<br \/>\n&lt;          ourps[iourps].innerHTML=ourps[iourps].innerHTML.replace(isbnis, \"&lt;a target=_blank title='ISBN lookup' href='HTTP:\/\/www.lookupbyisbn.com\/Search\/Book\/\" + isbnis.replace(\/\\-\/g,'') + \"\/1'&gt;(&zwj;\" + isbnis + \")&lt;\/a&gt;\");<br \/>\n---<br \/>\n&gt;          ourps[iourps].innerHTML=ourps[iourps].innerHTML.replace(isbnis, \"&lt;a target=_blank title='ISBN lookup' href='HTTP:\/\/www.lookupbyisbn.com\/Search\/Book\/\" + isbnis.replace(\/\\-\/g,'') + \"\/1'&gt;&zwj;\" + isbnis + \"&lt;\/a&gt;\");<br \/>\n<\/code><\/p>\n<p>Feel free to leave comments as you wish!<\/p>\n<p><b><i>Did you know?<\/i><\/b><\/p>\n<p>Installing Plugins on WordPress is pretty easy, as long as you&#8217;ve done the research into whether your WordPress version and WordPress theme support the plugin.   Like all WordPress configuration steps start, the procedure starts with &#8230;<\/p>\n<ol>\n<li>Login to the WordPress website you administer at the URL &#8230;<br \/>\n<code><br \/>\nhttps:\/\/[UrlOfWordPressHomePage]\/wp-admin<br \/>\n<\/code><br \/>\n &#8230; and correctly enter in your WordPress administration user username and password &#8230; then &#8230;<\/li>\n<li>at the WordPress admin area Dashboard page, often down the left there are menus and perhaps one says &#8220;Plugin&#8221; or has a plug icon, so click\/touch this &#8230;<\/li>\n<li>in the menu select Add New &#8230;<\/li>\n<li>enter into the &#8220;Search Plugins&#8221; textbox words to find your plugin of interest, that being <a target=_blank title='WordPress Responsive TwentyTen Primer Tutorial' href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/responsive_twentyten.pdf\" title=\"Click picture\">&#8220;Responsive TwentyTen&#8221; for us<\/a>, and then click the &#8220;Search Plugins&#8221; button &#8230;<\/li>\n<li>we clicked the Details link to find out more (or you could just click the &#8220;Install&#8221; link) and then click the &#8220;Install Now&#8221; button if you are satisfied &#8230;<\/li>\n<li>if all went well a new webpage opens and you can click the &#8220;Activate&#8221; link there to make the plugin&#8217;s functionality live<\/li>\n<li>to see the results the WordPress website at the URL &#8230;<br \/>\n<code><br \/>\nhttps:\/\/[UrlOfWordPressHomePage]\/<br \/>\n<\/code><br \/>\n &#8230; will be using the new plugin&#8217;s functionality<\/li>\n<\/ol>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d40022' onclick='var dv=document.getElementById(\"d40022\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/wordpress\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d40022' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The blog you are reading got a makeover today. We installed an excellent WordPress Plugin called &#8220;Responsive TwentyTen&#8221; by Todd Halfpenny that &#8230; Makes your TwentyTen themed site have a responsive and fluid layout. Making it ideal for for viewing &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-responsive-twentyten-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[151,2645,281,322,327,795,956,2644,1991,2256,1211,1268,1319,2646,1324,1325,2257,1456],"class_list":["post-40022","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-blog","tag-browser","tag-css","tag-device","tag-did-you-know","tag-mobile","tag-plugin","tag-responsive","tag-responsive-design","tag-screen","tag-stylesheet","tag-theme","tag-tutorial","tag-twentyfifteen","tag-twentyten","tag-twentyten-theme","tag-width","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/40022"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=40022"}],"version-history":[{"count":6,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/40022\/revisions"}],"predecessor-version":[{"id":40028,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/40022\/revisions\/40028"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=40022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=40022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=40022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}