{"id":63651,"date":"2024-05-18T03:01:45","date_gmt":"2024-05-17T17:01:45","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=63651"},"modified":"2024-05-17T20:46:47","modified_gmt":"2024-05-17T10:46:47","slug":"wordpress-blog-thread-story-background-gradients-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-background-gradients-tutorial\/","title":{"rendered":"WordPress Blog Thread Story Background Gradients Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/story_wp_ring_binder_background.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Blog Thread Story Background Gradients Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/story_wp_ring_binder_background.jpg\" title=\"WordPress Blog Thread Story Background Gradients Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Blog Thread Story Background Gradients Tutorial<\/p><\/div>\n<p>Today we&#8217;re nuancing the &#8220;storybook&#8221; styling we developed in yesterday&#8217;s <a title='WordPress Blog Thread Story Border SVG Image Tutorial' href='#wpbtsbsvgit'>WordPress Blog Thread Story Border SVG Image Tutorial<\/a> where you may have been wondering about the <font color=purple>papers<\/font> part to codeline &#8230;<\/p>\n<p><code><br \/>\n  $atofind=\"\\n atofind.className='storybook <font color=purple>papers<\/font>'; \\n atofind.oncontextmenu=function(event){ event.target.style.zoom='' + eval(0.05 + eval('' + event.target.style.zoom)); }; \\n\";<br \/>\n<\/code><\/p>\n<p>?  Well, that was to do with how we wanted to not only make &#8230;<\/p>\n<ul>\n<li>the left hand border have that &#8220;ring binder&#8221; feel &#8230; but we also wanted &#8230;<\/li>\n<li>some sort of effect applied to the &#8220;storybook&#8221; background as some sort of feel whereby we might think &#8220;paper&#8221;<\/li>\n<\/ul>\n<p>We did not want to involve any images or CSS that was too complicated.  We came across <a target=_blank title='Useful webpage, thanks' href='https:\/\/www.30secondsofcode.org\/css\/s\/10-css-background-patterns\/'>this excellent webpage<\/a> and it gave us the inspiration for <font color=blue>new such CSS styling<\/font> &#8230;<\/p>\n<p>&lt;style&gt;<br \/>\n<code><br \/>\n  .storybook {<br \/>\n        border-image: url('data:image\/svg+xml,&lt;svg style=\"font-size:26px;background-color:rgb(255,255,240,0.8);border-right:1px solid black;\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"&gt;&lt;text style=\"opacity:0.5;\" x=\"15%\" y=\"80%\"&gt;\u260c&lt;\/text&gt;&lt;rect x=\"18.5\" y=\"0\" width=\"1.5\" height=\"20\" stroke-width=\"1.5\" stroke=\"black\" fill=\"black\"&gt;&lt;\/rect&gt;&lt;\/svg&gt;');<br \/>\n        border-image-slice: 0 0 0 100;<br \/>\n        border-image-width: 20px;<br \/>\n        border-image-outset: 1px;<br \/>\n        border-image-repeat: repeat;<br \/>\n        padding-left: 20px;<br \/>\n  }<br \/>\n<br \/>\n&lt;?php<br \/>\nif (isset($_GET['putpaper']) || 1 == 1) { \/\/ thanks to https:\/\/www.30secondsofcode.org\/css\/s\/10-css-background-patterns\/<br \/>\n  echo \"  <font color=blue>.papers {<br \/>\n  background-color: #fefefe;<br \/>\n  background-image: linear-gradient(<br \/>\n      30deg,<br \/>\n      rgba(83,148,253,0.05) 12%,<br \/>\n      transparent 12.5%,<br \/>\n      transparent 87%,<br \/>\n      rgba(83,148,253,0.05) 87.5%,<br \/>\n      rgba(83,148,253,0.05)<br \/>\n    ),<br \/>\n    linear-gradient(<br \/>\n      150deg,<br \/>\n      rgba(83,148,253,0.05) 12%,<br \/>\n      transparent 12.5%,<br \/>\n      transparent 87%,<br \/>\n      rgba(83,148,253,0.05) 87.5%,<br \/>\n      rgba(83,148,253,0.05)<br \/>\n    ),<br \/>\n    linear-gradient(<br \/>\n      30deg,<br \/>\n      rgba(83,148,253,0.05) 12%,<br \/>\n      transparent 12.5%,<br \/>\n      transparent 87%,<br \/>\n      rgba(83,148,253,0.05) 87.5%,<br \/>\n      rgba(83,148,253,0.05)<br \/>\n    ),<br \/>\n    linear-gradient(<br \/>\n      150deg,<br \/>\n      rgba(83,148,253,0.05) 12%,<br \/>\n      transparent 12.5%,<br \/>\n      transparent 87%,<br \/>\n      rgba(83,148,253,0.05) 87.5%,<br \/>\n      rgba(83,148,253,0.05)<br \/>\n    ),<br \/>\n    linear-gradient(<br \/>\n      60deg,<br \/>\n      rgba(83,148,253,0.05) 25%,<br \/>\n      transparent 25.5%,<br \/>\n      transparent 75%,<br \/>\n      rgba(83,148,253,0.05) 75%,<br \/>\n      rgba(83,148,253,0.05)<br \/>\n    ),<br \/>\n    linear-gradient(<br \/>\n      60deg,<br \/>\n      rgba(83,148,253,0.05) 25%,<br \/>\n      transparent 25.5%,<br \/>\n      transparent 75%,<br \/>\n      rgba(83,148,253,0.05) 75%,<br \/>\n      rgba(83,148,253,0.05)<br \/>\n    );<br \/>\n  background-size: 48px 84px;<br \/>\n  background-position:<br \/>\n    0 0,<br \/>\n    0 0,<br \/>\n    24px 42px,<br \/>\n    24px 42px,<br \/>\n    0 0,<br \/>\n    24px 42px;<br \/>\n} <\/font><br \/>\n\";<br \/>\n}<br \/>\n?&gt;<br \/>\n<\/code><br \/>\n&lt;\/style&gt;<\/p>\n<p> &#8230; helped out by tweaked header.php Javascript code &#8230;<\/p>\n<p>&lt;?php echo &#8221;<br \/>\n<code><br \/>\n  function storyizecollect() {<br \/>\n    var divsall=document.getElementsByTagName('div');<br \/>\n    for (var ivd=0; ivd&lt;divsall.length; ivd++) {<br \/>\n      if (divsall[ivd].outerHTML.split('&gt;')[0].indexOf(' post type-post ') != -1) {<br \/>\n        threaddivs.push('' + divsall[ivd].id);<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n<br \/>\n  function storyresize(atoo) {<br \/>\n    atoo.style.width='' + atoo.getAttribute('data-w') + 'px';<br \/>\n    \/\/atoo.style.height='' + atoo.getAttribute('data-h') + 'px';<br \/>\n    atoo.style.backgroundColor='rgba(255,155,55,0.3)';<br \/>\n    atoo.style.overflow='hidden';<br \/>\n    return atoo;<br \/>\n  }<br \/>\n<br \/>\n  function storyreorder(atofind) {<br \/>\n    var hrparts=[], hroh='', reorderedcontent='', hrih='', hrdone=false, hrplus='';<br \/>\n    var atobr=atofind.getBoundingClientRect();<br \/>\n    if (('' + atofind.getAttribute('data-w')) == '0') {<br \/>\n    atofind.setAttribute('data-w',('' + atobr.width));<br \/>\n    atofind.setAttribute('data-h',('' + atobr.height));<br \/>\n    }<br \/>\n    atofind.setAttribute('data-st',('' + document.body.scrollTop));<br \/>\n    for (var ivd=0; ivd&lt;threaddivs.length; ivd++) {<br \/>\n      if (document.getElementById(threaddivs[ivd])) {<br \/>\n        if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) {<br \/>\n    atofind.setAttribute('data-done', 'y');<br \/>\n    if (navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n    var pwis=0;<br \/>\n    if (navigator.userAgent.match(\/iPad\/i)) {<br \/>\n    pwis=eval('' + document.getElementById('primary').getBoundingClientRect().width);<br \/>\n    }<br \/>\n    atofind.style.width='' + eval(-40 + eval('' + document.getElementById('container').getBoundingClientRect().width) - pwis) + 'px';<br \/>\n    } else {<br \/>\n    atofind.style.width='' + eval(-40 + eval('' + document.getElementById('container').getBoundingClientRect().width) - eval('' + document.getElementById('primary').getBoundingClientRect().width)) + 'px';<br \/>\n    }<br \/>\n    atofind.style.color='rgb(70,70,70)';<br \/>\n    atofind.style.textShadow='-0.5px 0.5px 0.5px #952dff';<br \/>\n    atofind.style.overflow='scroll';<br \/>\n    atofind.style.borderLeft='1px dashed red';<br \/>\n    atofind.style.WebkitOverflowScrolling='touch';<br \/>\n    &lt;?php echo $atofind; ?&gt;<br \/>\n          if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf('&lt;hr title=') != -1) { hrplus=' title='; }<br \/>\n          hrparts=document.getElementById(threaddivs[ivd]).innerHTML.split('&lt;hr' + hrplus);<br \/>\n          if (eval('' + hrparts.length) &gt; 1) {<br \/>\n            hrih='&lt;hr' + hrplus + hrparts[1].split('&gt;')[0] + '&gt;';<br \/>\n            if (hrih.indexOf('\/&gt;') == -1 && document.getElementById(threaddivs[ivd]).innerHTML.indexOf('&lt;\/hr&gt;') != -1) {<br \/>\n              hrih+='&lt;\/hr&gt;';<br \/>\n            }<br \/>\n            hroh='&lt;hr' + hrplus + hrparts[1].split('&gt;')[0].replace(\/\\\/\/g,'') + '&gt;&lt;\/hr&gt;';<br \/>\n          }<br \/>\n          if (hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') != -1 && hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') &lt; 100) {<br \/>\n          reordercontent='&lt;div style=display:none;&gt;' + hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'') + '&lt;\/div&gt;';<br \/>\n          } else {<br \/>\n          reordercontent=hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'');<br \/>\n          }<br \/>\n          for (var iivd=eval(-2 + eval('' + hrparts.length)); iivd&gt;=0; iivd--) {<br \/>\n          if (hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') != -1 && hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') &lt; 100) {<br \/>\n            reordercontent+=hroh.replace('&lt;hr','&lt;hr style=\"display:none;\"');<br \/>\n            reordercontent='&lt;div style=display:none;&gt;' + hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'') + '&lt;\/div&gt;';<br \/>\n          } else {<br \/>\n            reordercontent+=hroh;<br \/>\n            reordercontent+=reordercontent=hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'');<br \/>\n          }<br \/>\n          }<br \/>\n    if (reordercontent != '') {<br \/>\n          hrdone=true;<br \/>\n    atofind.innerHTML+='&lt;br&gt;&lt;details title=\"Thread story ...\" open&gt;&lt;summary title=\"Thread story ...\"&gt;&lt;\/summary&gt;&lt;br&gt;' + reordercontent + '&lt;\/details&gt;';<br \/>\n    reordercontent='';<br \/>\n    }<br \/>\n        }<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n  <br \/>\nfunction storymember(inoh) {<br \/>\n  if (inoh.indexOf('&lt;div data-w=') == 0) { return true; }<br \/>\n  if (inoh.indexOf('&lt;details') == 0) { return true; }<br \/>\n  if (inoh.indexOf('&lt;div class=\"entry-content\"') == 0) { return true; }<br \/>\n  return false;<br \/>\n}<br \/>\n<\/code><br \/>\n&#8220;; ?&gt;<\/p>\n<p> &#8230; to create a more convincing effect for the user, we&#8217;re hoping!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-background-gradients-tutorial\/'>WordPress Blog Thread Story Background Gradients Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wpbtsbsvgit'>Previous relevant <a target=_blank title='WordPress Blog Thread Story Border SVG Image Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-border-svg-image-tutorial\/'>WordPress Blog Thread Story Border SVG Image Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/story_wp_ring_binder.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Blog Thread Story Border SVG Image Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/story_wp_ring_binder.jpg\" title=\"WordPress Blog Thread Story Border SVG Image Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Blog Thread Story Border SVG Image Tutorial<\/p><\/div>\n<p>The border-image CSS property, used well, can be a really powerful web design tool.  We decided to show a user they were in, like, &#8220;storybook mode&#8221; reading our blog, further to yesterday&#8217;s <a title='WordPress Blog Thread Story Mode Tutorial' href='#wpbtsmt'>WordPress Blog Thread Story Mode Tutorial<\/a>, by applying a new &#8230;<\/p>\n<ul>\n<li><a target=_blank href='https:\/\/www.w3schools.com\/cssref\/css3_pr_border-image.php' title='CSS border-image property information from W3schools'>border-image<\/a> &#8230; ala &#8220;ring binder&#8221; (via use of &#9740; &amp;#9740; &#8220;conjunction&#8221; emoji symbol), only on the left &#8230; via (header.php, <a target=_blank title=? href='https:\/\/www.youtube.com\/watch?v=e9_7GcQeiqw&#038;t=2m37s'>again<\/a>) &#8230;<\/li>\n<li>SVG &#8230;<\/li>\n<li>text<\/li>\n<\/ul>\n<p> &#8230; using new CSS styling &#8230;<\/p>\n<p>&lt;style&gt;<br \/>\n<code><br \/>\n  .storybook {<br \/>\n        border-image: url('data:image\/svg+xml,&lt;svg style=\"font-size:20px;\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"&gt;&lt;text x=\"10%\" y=\"80%\"&gt;\u260c&lt;\/text&gt;&lt;\/svg&gt;');<br \/>\n        border-image-slice: 0 0 0 100;<br \/>\n        border-image-width: 20px;<br \/>\n        border-image-outset: 2px;<br \/>\n        border-image-repeat: repeat;<br \/>\n        padding-left: 20px;<br \/>\n  }<br \/>\n<\/code><br \/>\n&lt;\/style&gt;<\/p>\n<p> &#8230; referenced in a newly introduced PHP variable &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n  $atofind=\"\\n atofind.className='storybook papers'; \\n atofind.oncontextmenu=function(event){ event.target.style.zoom='' + eval(0.05 + eval('' + event.target.style.zoom)); }; \\n\";<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p> &#8230; used in &#8220;storybook&#8221; class specific Javascript &#8230;<\/p>\n<p>&lt;?php echo &#8221;<br \/>\n<code><br \/>\n  function storyizecollect() {<br \/>\n    var divsall=document.getElementsByTagName('div');<br \/>\n    for (var ivd=0; ivd&lt;divsall.length; ivd++) {<br \/>\n      if (divsall[ivd].outerHTML.split('&gt;')[0].indexOf(' post type-post ') != -1) {<br \/>\n        threaddivs.push('' + divsall[ivd].id);<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n<br \/>\n  function storyresize(atoo) {<br \/>\n    atoo.style.width='' + atoo.getAttribute('data-w') + 'px';<br \/>\n    \/\/atoo.style.height='' + atoo.getAttribute('data-h') + 'px';<br \/>\n    atoo.style.backgroundColor='rgba(255,155,55,0.3)';<br \/>\n    atoo.style.overflow='hidden';<br \/>\n    return atoo;<br \/>\n  }<br \/>\n<br \/>\n  function storyreorder(atofind) {<br \/>\n    var hrparts=[], hroh='', reorderedcontent='', hrih='', hrdone=false, hrplus='';<br \/>\n    var atobr=atofind.getBoundingClientRect();<br \/>\n    if (('' + atofind.getAttribute('data-w')) == '0') {<br \/>\n    atofind.setAttribute('data-w',('' + atobr.width));<br \/>\n    atofind.setAttribute('data-h',('' + atobr.height));<br \/>\n    }<br \/>\n    atofind.setAttribute('data-st',('' + document.body.scrollTop));<br \/>\n    for (var ivd=0; ivd&lt;threaddivs.length; ivd++) {<br \/>\n      if (document.getElementById(threaddivs[ivd])) {<br \/>\n        if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) {<br \/>\n    atofind.setAttribute('data-done', 'y');<br \/>\n    if (navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n    var pwis=0;<br \/>\n    if (navigator.userAgent.match(\/iPad\/i)) {<br \/>\n    pwis=eval('' + document.getElementById('primary').getBoundingClientRect().width);<br \/>\n    }<br \/>\n    atofind.style.width='' + eval(-40 + eval('' + document.getElementById('container').getBoundingClientRect().width) - pwis) + 'px';<br \/>\n    } else {<br \/>\n    atofind.style.width='' + eval(-40 + eval('' + document.getElementById('container').getBoundingClientRect().width) - eval('' + document.getElementById('primary').getBoundingClientRect().width)) + 'px';<br \/>\n    }<br \/>\n    atofind.style.overflow='scroll';<br \/>\n    atofind.style.borderLeft='1px dashed red';<br \/>\n    atofind.style.WebkitOverflowScrolling='touch';<br \/>\n    &lt;?php echo $atofind; ?&gt;<br \/>\n          if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf('&lt;hr title=') != -1) { hrplus=' title='; }<br \/>\n          hrparts=document.getElementById(threaddivs[ivd]).innerHTML.split('&lt;hr' + hrplus);<br \/>\n          if (eval('' + hrparts.length) &gt; 1) {<br \/>\n            hrih='&lt;hr' + hrplus + hrparts[1].split('&gt;')[0] + '&gt;';<br \/>\n            if (hrih.indexOf('\/&gt;') == -1 && document.getElementById(threaddivs[ivd]).innerHTML.indexOf('&lt;\/hr&gt;') != -1) {<br \/>\n              hrih+='&lt;\/hr&gt;';<br \/>\n            }<br \/>\n            hroh='&lt;hr' + hrplus + hrparts[1].split('&gt;')[0].replace(\/\\\/\/g,'') + '&gt;&lt;\/hr&gt;';<br \/>\n          }<br \/>\n          if (hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') != -1 && hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') &lt; 100) {<br \/>\n          reordercontent='&lt;div style=display:none;&gt;' + hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'') + '&lt;\/div&gt;';<br \/>\n          } else {<br \/>\n          reordercontent=hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'');<br \/>\n          }<br \/>\n          for (var iivd=eval(-2 + eval('' + hrparts.length)); iivd&gt;=0; iivd--) {<br \/>\n          if (hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') != -1 && hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') &lt; 100) {<br \/>\n            reordercontent+=hroh.replace('&lt;hr','&lt;hr style=\"display:none;\"');<br \/>\n            reordercontent='&lt;div style=display:none;&gt;' + hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'') + '&lt;\/div&gt;';<br \/>\n          } else {<br \/>\n            reordercontent+=hroh;<br \/>\n            reordercontent+=reordercontent=hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'');<br \/>\n          }<br \/>\n          }<br \/>\n    if (reordercontent != '') {<br \/>\n          hrdone=true;<br \/>\n    atofind.innerHTML+='&lt;br&gt;&lt;details title=\"Thread story ...\" open&gt;&lt;summary title=\"Thread story ...\"&gt;&lt;\/summary&gt;&lt;br&gt;' + reordercontent + '&lt;\/details&gt;';<br \/>\n    reordercontent='';<br \/>\n    }<br \/>\n        }<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n  <br \/>\nfunction storymember(inoh) {<br \/>\n  if (inoh.indexOf('&lt;div data-w=') == 0) { return true; }<br \/>\n  if (inoh.indexOf('&lt;details') == 0) { return true; }<br \/>\n  if (inoh.indexOf('&lt;div class=\"entry-content\"') == 0) { return true; }<br \/>\n  return false;<br \/>\n}<br \/>\n<\/code><br \/>\n&#8220;; ?&gt; <\/p>\n<p> &#8230; &#8220;retweaked&#8221; reworking of the &#8220;blog posting thread&#8221; order from oldest through to most recent, like a &#8220;story&#8221; view of the &#8220;blog posting thread&#8221; ideas and development.  You might notice that we often start a &#8220;thread&#8221; involving the word &#8220;Primer&#8221; in the blog posting title.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-border-svg-image-tutorial\/'>WordPress Blog Thread Story Border SVG Image Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wpbtsmt'>Previous relevant <a target=_blank title='WordPress Blog Thread Story Mode Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-mode-tutorial\/'>WordPress Blog Thread Story Mode Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress_blog_thread_story_mode.gif\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Blog Thread Story Mode Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress_blog_thread_story_mode.gif\" title=\"WordPress Blog Thread Story Mode Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Blog Thread Story Mode Tutorial<\/p><\/div>\n<p>We feel a &#8220;tweak&#8221; coming on.  It&#8217;s been a while since the last such &#8220;tweak&#8221;.  We&#8217;re talking about doing the frequent &#8230;<\/p>\n<ul>\n<li><font size=1>good ol&#8217;<\/font> &#8220;tweaking&#8221; of header.php &#8230; owned by our &#8230;<\/li>\n<li><font size=1>wordpress.org<\/font> based WordPress Blog &#8230;<\/li>\n<li><font size=1>theme<\/font> TwentyTen &#8230; means by which we &#8230;<\/li>\n<li><font size=1>can &#8220;tweak&#8221; in the morning, at supper time, and in small cubicles<\/font> the look and feel and &#8220;way it works&#8221; aspects to the blog you are reading<\/li>\n<\/ul>\n<p>Yes, it&#8217;s mainly header.php we use, though do remember functions.php, footer.php, 404.php and some plugins as well, but the &#8220;tweaking&#8221; of header.php is the easiest, for most jobs.<\/p>\n<p>Picking up from the, largely, document.body onload event interventions we make happen this way, we latch onto a previous intervention, and &#8220;retweak&#8221; that (past work related to <a title='WordPress Is Mentioned By Less Recently Modified Tutorial' href='#wpimblrmt'>WordPress Is Mentioned By Less Recently Modified Tutorial<\/a>), today, to add &#8230;<\/p>\n<p><code><br \/>\nNew \"Story Mode\" display of a thread of WordPress blog postings<br \/>\n<\/code><\/p>\n<p> &#8230; this use of &#8220;thread&#8221; not being a technical term, rather how we describe how we string together related blog postings (that usually follow each other reverse chronologically (ie. latest blog posting first)) into, what we term, a &#8220;blog posting thread&#8221;.<\/p>\n<p>But yesterday, suddenly, it dawned on us, that this &#8220;blog posting thread&#8221; can be confusing for readers coming in to the discussion half way through, or near the end, so why not offer them a new &#128214; (&amp;#128214; &#8230; ie. story) based (adding to a global <font color=blue>var threaddivs=[];<\/font> statement part) &#8230;<\/p>\n<p>&lt;?php echo &#8221;<br \/>\n<code><br \/>\n  <font color=blue>function storyizecollect() {<br \/>\n    var divsall=document.getElementsByTagName('div');<br \/>\n    for (var ivd=0; ivd&lt;divsall.length; ivd++) {<br \/>\n      if (divsall[ivd].outerHTML.split('&gt;')[0].indexOf(' post type-post ') != -1) {<br \/>\n        threaddivs.push('' + divsall[ivd].id);<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n<br \/>\n  function storyresize(atoo) {<br \/>\n    \/\/atoo.style.width='' + atoo.getAttribute('data-w') + 'px';<br \/>\n    \/\/atoo.style.height='' + atoo.getAttribute('data-h') + 'px';<br \/>\n    atoo.style.backgroundColor='rgba(255,155,55,0.3)';<br \/>\n    atoo.style.overflow='hidden';<br \/>\n    return atoo;<br \/>\n  }<br \/>\n<br \/>\n  function storyreorder(atofind) {<br \/>\n    var hrparts=[], hroh='', reorderedcontent='', hrih='', hrdone=false, hrplus='';<br \/>\n    var atobr=atofind.getBoundingClientRect();<br \/>\n    atofind.setAttribute('data-w',('' + atobr.width));<br \/>\n    atofind.setAttribute('data-h',('' + atobr.height));<br \/>\n    atofind.setAttribute('data-st',('' + document.body.scrollTop));<br \/>\n    for (var ivd=0; ivd&lt;threaddivs.length; ivd++) {<br \/>\n      if (document.getElementById(threaddivs[ivd])) {<br \/>\n        if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) {<br \/>\n    atofind.setAttribute('data-done', 'y');<br \/>\n    atofind.style.overflow='scroll';<br \/>\n    atofind.style.borderLeft='1px dashed red';<br \/>\n    atofind.style.WebkitOverflowScrolling='touch';<br \/>\n    atofind.style.zoom='0.4';<br \/>\n          if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf('&lt;hr title=') != -1) { hrplus=' title='; }<br \/>\n          hrparts=document.getElementById(threaddivs[ivd]).innerHTML.split('&lt;hr' + hrplus);<br \/>\n          if (eval('' + hrparts.length) &gt; 1) {<br \/>\n            hrih='&lt;hr' + hrplus + hrparts[1].split('&gt;')[0] + '&gt;';<br \/>\n            if (hrih.indexOf('\/&gt;') == -1 && document.getElementById(threaddivs[ivd]).innerHTML.indexOf('&lt;\/hr&gt;') != -1) {<br \/>\n              hrih+='&lt;\/hr&gt;';<br \/>\n            }<br \/>\n            hroh='&lt;hr' + hrplus + hrparts[1].split('&gt;')[0].replace(\/\\\/\/g,'') + '&gt;&lt;\/hr&gt;';<br \/>\n          }<br \/>\n          if (hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') != -1 && hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') &lt; 100) {<br \/>\n          reordercontent='&lt;div style=display:none;&gt;' + hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'') + '&lt;\/div&gt;';<br \/>\n          } else {<br \/>\n          reordercontent=hrparts[eval(-1 + eval('' + hrparts.length))].replace(hrih.replace('&lt;hr' + hrplus,''),'');<br \/>\n          }<br \/>\n          for (var iivd=eval(-2 + eval('' + hrparts.length)); iivd&gt;=0; iivd--) {<br \/>\n          if (hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') != -1 && hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'').indexOf('If this' + ' was interesting ') &lt; 100) {<br \/>\n            reordercontent+=hroh.replace('&lt;hr','&lt;hr style=\"display:none;\"');<br \/>\n            reordercontent='&lt;div style=display:none;&gt;' + hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'') + '&lt;\/div&gt;';<br \/>\n          } else {<br \/>\n            reordercontent+=hroh;<br \/>\n            reordercontent+=reordercontent=hrparts[iivd].replace(hrih.replace('&lt;hr' + hrplus,''),'');<br \/>\n          }<br \/>\n          }<br \/>\n    if (reordercontent != '') {<br \/>\n          hrdone=true;<br \/>\n    atofind.innerHTML+='&lt;br&gt;&lt;details title=\"Thread story ...\" open&gt;&lt;summary title=\"Thread story ...\"&gt;&lt;\/summary&gt;&lt;br&gt;' + reordercontent + '&lt;\/details&gt;';<br \/>\n    reordercontent='';<br \/>\n    }<br \/>\n        }<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n<br \/> <br \/>\nfunction storymember(inoh) {<br \/>\n  if (inoh.indexOf('&lt;div data-w=') == 0) { return true; }<br \/>\n  if (inoh.indexOf('&lt;details') == 0) { return true; }<br \/>\n  return false;<br \/>\n}<br \/>\n<\/font><br \/>\n<br \/>\nfunction is_mentioned_by() {<br \/>\n  \/\/rppspana=docgetclass(\"widget-title\", \"h3\");<br \/>\n  var zspare,xspare,xxspare,ximb,xpspana=docgetclass(\"entry-title\", \"h2\");  \/\/ search URL returns<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) {<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline-block;border:3px solid rgba(255,165,0,0.4); background-color:rgba(255,255,0,0.3); \" id=cc' + zspare + '&gt;&lt;a target=_blank style=\"cursor:pointer;display:inline-block;text-decoration:none; font-size:12px;\" ondblclick=\"dblrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" ' + oncm + '\"rcrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase ... double click ' + oncmt + ' for blog posting image involvement ... to (the gist of) ' + (xspare) + '\" id=tcc' + zspare + '&gt;&amp;#9986;&lt;\/a&gt;&lt;a target=_blank style=\"background: rgba(0,255,0,0.3); background: -webkit-linear-gradient(left top, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -o-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -moz-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: linear-gradient(to bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); cursor:pointer;display:inline-block;text-decoration:none;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1); font-size:12px;\" ondblclick=\"dblrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" ' + oncm + '\"rcrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase ... double click ' + oncmt + ' for blog posting image involvement ... to (the gist of) ' + (xspare) + '\" id=ttcc' + zspare + '&gt;&amp;#127939;&amp;#127998;&amp;#8205;&amp;#9792;&amp;#65039;&amp;#127939;&amp;#127996;&amp;#8205;&amp;#9794;&amp;#65039;&lt;\/a&gt;&lt;iframe style=display:none; id=icc' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline; background-color:rgba(255,255,0,0.3);\" id=d' + zspare + '&gt;&lt;a style=\"cursor:pointer;display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\" preresize_font(this); document.getElementById(this.id.replace(String.fromCharCode(116),String.fromCharCode(105))).src=' + \"'\" + '\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + ';  setTimeout(precheckclass,3000);  \" title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&amp;#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n     <font color=blue>xpspana[ximb].innerHTML+=' &lt;div data-w=\"0\" data-h=\"0\" data-st=\"0\" data-style=\"-webkit-overflow-scrolling:touch;overflow:scroll;\" data-done=\"\" onclick=\" if (' + \"('' + \" + 'event.target.id) == this.id || 1 == 1) { if (this.getAttribute(' + \"'data-done'\" + ').length == 0) { storyreorder(this); } else if (storymember(event.target.outerHTML)) { this.style.zoom=1.0; storyresize(this).innerHTML=' + \"'&amp;#128214;'\" + '; this.setAttribute(' + \"'data-done',''\" + ');  window.scrollTo(0,this.getAttribute(' + \"'data-st'\" + '));  } } \" title=\"Reorder thread blog postings to read like a story ...\" style=\"display:inline-block; text-decoration:none; cursor:pointer; background-color:rgba(255,155,55,0.3);\" id=r' + zspare + '&gt;&amp;#128214;&lt;\/div&gt;';<\/font><br \/>\n   }<br \/>\n  }<br \/>\n  xpspana=docgetclass(\"entry-title\", \"h1\");      \/\/ real blog postings<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) {<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline-block;border:3px solid rgba(255,165,0,0.4); background-color:rgba(255,255,0,0.3); \" id=cc' + zspare + '&gt;&lt;a target=_blank style=\"cursor:pointer;display:inline-block;text-decoration:none; font-size:12px;\" ondblclick=\"dblrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" ' + oncm + '\"rcrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase ... double click ' + oncmt + ' for blog posting image involvement ... to (the gist of) ' + (xspare) + '\" id=tcc' + zspare + '&gt;&amp;#9986;&lt;\/a&gt;&lt;a target=_blank style=\"background: rgba(0,255,0,0.3); background: -webkit-linear-gradient(left top, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -o-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -moz-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: linear-gradient(to bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); cursor:pointer;display:inline-block;text-decoration:none;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1); font-size:12px;\" ondblclick=\"dblrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" ' + oncm + '\"rcrplatern(' + String.fromCharCode(39) + xspare + String.fromCharCode(39) + ');\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase ... double click ' + oncmt + ' for blog posting image involvement ... to (the gist of) ' + (xspare) + '\" id=ttcc' + zspare + '&gt;&amp;#127939;&amp;#127998;&amp;#8205;&amp;#9792;&amp;#65039;&amp;#127939;&amp;#127996;&amp;#8205;&amp;#9794;&amp;#65039;&lt;\/a&gt;&lt;iframe style=display:none; id=icc' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline; background-color:rgba(255,255,0,0.3);\" id=d' + zspare + '&gt;&lt;a style=\"cursor:pointer;display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\" preresize_font(this); document.getElementById(this.id.replace(String.fromCharCode(164),String.fromCharCode(151))).src=' + \"'\" + '\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + '; \"  setTimeout(precheckclass,3000);  title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&amp;#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n     <font color=blue>xpspana[ximb].innerHTML+=' &lt;div data-w=\"0\" data-h=\"0\" data-st=\"0\" data-style=\"-webkit-overflow-scrolling:touch;overflow:scroll;\" data-done=\"\" onclick=\" if (' + \"('' + \" + 'event.target.id) == this.id || 1 == 1) { if (this.getAttribute(' + \"'data-done'\" + ').length == 0) { storyreorder(this); } else if (storymember(event.target.outerHTML)) { this.style.zoom=1.0;  storyresize(this).innerHTML=' + \"'&amp;#128214;'\" + '; this.setAttribute(' + \"'data-done',''\" + '); window.scrollTo(0,this.getAttribute(' + \"'data-st'\" + '));  } } \" title=\"Reorder thread blog postings to read like a story ...\" style=\"display:inline-block; text-decoration:none; cursor:pointer; background-color:rgba(255,155,55,0.3);\" id=r' + zspare + '&gt;&amp;#128214;&lt;\/div&gt;';<\/font><br \/>\n   }<br \/>\n  }<br \/>\n  <font color=blue>storyizecollect();<\/font><br \/>\n}<br \/>\n<\/code><br \/>\n&#8220;; ?&gt; <\/p>\n<p> &#8230; reworking of the &#8220;blog posting thread&#8221; order from oldest through to most recent, like a &#8220;story&#8221; view of the &#8220;blog posting thread&#8221; ideas and development.  You might notice that we often start a &#8220;thread&#8221; involving the word &#8220;Primer&#8221; in the blog posting title.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-mode-tutorial\/'>WordPress Blog Thread Story Mode Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wpimblrmt'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Less Recently Modified Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-less-recently-modified-tutorial\/'>WordPress Is Mentioned By Less Recently Modified Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/imb_month.gif\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Less Recently Modified Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/imb_month.gif\" title=\"WordPress Is Mentioned By Less Recently Modified Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Less Recently Modified Tutorial<\/p><\/div>\n<p>Supposing you came in here paying scant attention to the Blog Posting Title and its Animated GIF Tutorial picture I&#8217;d like to set you the challenge to look at the build up to organizing the use of the theme for today&#8217;s tutorial, and you try to anticipate what that may be?   Up to the challenge?  We hope so, because, with respect to the recent <a title='WordPress Is Mentioned By Recently Modified Tutorial' href='#wpimbrmt'>WordPress Is Mentioned By Recently Modified Tutorial<\/a>&#8216;s &#8230;<\/p>\n<ul>\n<li>MySql SQL &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n $res = mysql_query(\"SELECT \" . $tname . \".post_title, \" . $tname . \".guid, \" . $tname . \".post_content, LOCATE('\" . $ourtitle . \"',\" . $tname . \".post_content) as tfind, LOCATE('\" . $ourother . \"',\" . $tname . \".post_title) as tother, \" . $tname . \".post_date as post_date FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND (1 = 1 OR LOWER(\" . $tname . \".post_title) != LOWER('\" . $ourtitle . \"')) \" . \"<br \/>\nAND (\" . $tname . \".post_content like CONCAT(CONCAT('%?p=',\" . $tname . \".guid), '%') \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',permalinkit($ourtitle)) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourother) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourtitle) . \"%') \" . \" UNION SELECT \" . $tname . \".post_title, \" . $tname . \".post_content as guid, ' ' as post_content, <i>-1 as tfind, <font color=purple>-1<\/font> as tother<\/i>, \" . $tname . \".post_modified as post_date FROM \" . $tname . \" WHERE \" . $tname . \".post_status = 'publish' AND \" . $tname . \".post_modified &gt; NOW() - INTERVAL 1 <font color=purple>WEEK<\/font> \" . \" UNION SELECT 'Code Download Table' as post_title, \" . $tname . \".post_content as guid, '' as post_content, 1 as tfind, 0 as tother, CURTIME() as post_date FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND LOWER(\" . $tname . \".post_title) = LOWER('\" . $ourtitle . \"') \" . \"<br \/>\nAND \" . $tname . \".post_content like '%GETME%' ORDER BY post_date \");<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; we <font color=purple>changed it<\/font> <font color=blue>to be<\/font> &#8230;<br \/>\n &lt;?php<br \/>\n<code><br \/>\n$res = mysql_query(\"SELECT \" . $tname . \".post_title, \" . $tname . \".guid, \" . $tname . \".post_content, LOCATE('\" . $ourtitle . \"',\" . $tname . \".post_content) as tfind, LOCATE('\" . $ourother . \"',\" . $tname . \".post_title) as tother, \" . $tname . \".post_date as post_date FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND (1 = 1 OR LOWER(\" . $tname . \".post_title) != LOWER('\" . $ourtitle . \"')) \" . \"<br \/>\nAND (\" . $tname . \".post_content like CONCAT(CONCAT('%?p=',\" . $tname . \".guid), '%') \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',permalinkit($ourtitle)) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourother) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourtitle) . \"%') \" . \" UNION SELECT \" . $tname . \".post_title, \" . $tname . \".post_content as guid, ' ' as post_content, <i>-1 as tfind, <font color=blue>(-480 + TIMESTAMPDIFF(MINUTE,NOW(),\" . $tname . \".post_modified))<\/font> as tother<\/i>, \" . $tname . \".post_modified as post_date FROM \" . $tname . \" WHERE \" . $tname . \".post_status = 'publish' AND \" . $tname . \".post_modified &gt; NOW() - INTERVAL 1 <font color=blue>MONTH<\/font> \" . \" UNION SELECT 'Code Download Table' as post_title, \" . $tname . \".post_content as guid, '' as post_content, 1 as tfind, 0 as tother, CURTIME() as post_date FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND LOWER(\" . $tname . \".post_title) = LOWER('\" . $ourtitle . \"') \" . \"<br \/>\nAND \" . $tname . \".post_content like '%GETME%' ORDER BY post_date \");<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; to fit in with &#8230;\n<\/li>\n<li>we changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php-----GETME\" title=\"is_mentioned_by.php\">the modified<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php-----GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a>&#8216;s SQL result set logic &#8220;if logic framework&#8221; &#8230; <font color=purple>from<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n  while (($r_array = mysql_fetch_row($res))) {<br \/>\n   if ($r_array[3] == \"-1\" && <font color=purple>strtolower($r_array[3]) == strtolower($r_array[4])<\/font>) {<br \/>\n      \/\/ this is a member of the modified list (via middle UNION SELECT) of the MySQL SQL query result set<br \/>\n   } else if (strtolower($r_array[0]) == strtolower($ourtitle)) {<br \/>\n      \/\/ matches current post logic goes here<br \/>\n   } else {<br \/>\n      \/\/ does not match current post logic goes here<br \/>\n   }<br \/>\n  }<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; <font color=blue>to<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n  while (($r_array = mysql_fetch_row($res))) {<br \/>\n   if ($r_array[3] == \"-1\" && <font color=blue>strpos((\"\" . $r_array[4]), \"-\") !== false<\/font>) {<br \/>\n      \/\/ this is a member of the modified (and less recently modified) list (via middle UNION SELECT) of the MySQL SQL query result set<br \/>\n   } else if (strtolower($r_array[0]) == strtolower($ourtitle)) {<br \/>\n      \/\/ matches current post logic goes here<br \/>\n   } else {<br \/>\n      \/\/ does not match current post logic goes here<br \/>\n   }<br \/>\n  }<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; turning a &#8220;binary&#8221; piece of logic into a &#8220;ternary&#8221; (and above) one &#8230; as well as, for good ol&#8217; header.php we add some global Javascript var<font size=1>iables<\/font> &#8230;<br \/>\n<code><br \/>\n var coption='option';<br \/>\n var cdisabled='disabled';<br \/>\n var chidden='hidden';<br \/>\n var cblank='_blank';<br \/>\n<\/code>\n<\/li>\n<\/ul>\n<p>Is it apparent to you now what we are using to achieve some new &#8220;Less Recently Modified Tutorial&#8221; list data onto the &#8220;Recently Modified Tutorial&#8221; list data of below?  But how do we go about doing that, that has been an enthusiasm around here, of recent times?  What if we could say &#8230;<\/p>\n<ul>\n<li>we changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php-----GETME\" title=\"is_mentioned_by.php\">the modified<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php-----GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a>&#8216;s SQL result set logic &#8220;within that top if logic&#8221; &#8230; <font color=purple>from<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n    if ($secresult == \"\") {<br \/>\n      $secresult=\"&nbsp;&lt;span id=xdrpl&gt;&lt;select style=\\\"background-color:orange;display:inline-block;width:80px;\\\" id=mr\" . permalinkit($ourtitle) . \" onchange=<font color=purple>window.open(this.value,\\\"_blank\\\");<\/font> title=\\\"Modified recently (over last week)\\\"&gt;&lt;option value=\\\"\\\"&gt;Modified&lt;\/option&gt;&lt;\/select&gt;&lt;\/span&gt;&nbsp;\";<br \/>\n    }<br \/>\n    $secresult=str_replace('&gt;Modified&lt;\/option&gt;','&gt;Modified&lt;\/option&gt;&lt;option value=https:\/\/www.rjmprogramming.com.au\/ITblog\/' . permalinkit($r_array[0]) . '&gt;' . $r_array[0] . '&lt;\/option&gt;', $secresult);<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; <font color=blue>to<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n    if ($secresult == \"\") {<br \/>\n      $secresult=\"&nbsp;&lt;span id=xdrpl&gt;&lt;select style=\\\"background-color:orange;display:inline-block;width:80px;\\\" id=mr\" . permalinkit($ourtitle) . \" onchange=<font color=blue>\\\"if (this.value.trim().length == 0) { var optslst=document.getElementsByTagName(coption); for (var ioptslst=0; ioptslst&lt;optslst.length; ioptslst++) { if (optslst[ioptslst].outerHTML.indexOf(this.value) != -1) {  if (optslst[ioptslst].outerHTML.indexOf(cdisabled) != -1) { optslst[ioptslst].removeAttribute(cdisabled); }  if (optslst[ioptslst].outerHTML.indexOf(chidden) != -1) { optslst[ioptslst].removeAttribute(chidden); }  }  } } else { window.open(this.value,cblank); }\\\"<\/font> title=\\\"Modified recently (over last week)\\\"&gt;&lt;option value=\\\"\\\"&gt;Modified&lt;\/option&gt;&lt;\/select&gt;&lt;\/span&gt;&nbsp;\";<br \/>\n    }<br \/>\n    <font color=blue>if ($r_array[4] &lt;= -11520) {<br \/>\n    $blks=(40 - floor((0 - $r_array[4]) \/ (24 * 60)));<br \/>\n    $optv='&lt;option value=\"\"&gt;Enable and show through to ' . (40 - $blks) . ' days';<br \/>\n    $altv=' title=\"\"';<br \/>\n    for ($iblks=0; $iblks&lt;$blks; $iblks++) {<br \/>\n    $altv=str_replace(' title=\"', ' title=\" ', $altv);<br \/>\n    $optv=str_replace(' value=\"', ' value=\" ', $optv);<br \/>\n    }<br \/>\n    if (strpos($secresult, $optv) !== false) { $secresult=str_replace($optv . \" ... \",$optv . \" ... \" . $r_array[0] . \" and \",$secresult);  $optv=\"\"; } else { $optv .= \" ... \" . $r_array[0] . \"&lt;\/option&gt;\"; }<br \/>\n    $secresult=str_replace('&gt;Modified&lt;\/option&gt;','&gt;Modified&lt;\/option&gt;' . $optv . '&lt;option' . $altv . ' value=https:\/\/www.rjmprogramming.com.au\/ITblog\/' . permalinkit($r_array[0]) . '<b> disabled hidden<\/b>&gt;' . $r_array[0] . '&lt;\/option&gt;', $secresult);<br \/>\n    } else {<\/font><br \/>\n    $secresult=str_replace('&gt;Modified&lt;\/option&gt;','&gt;Modified&lt;\/option&gt;&lt;option value=https:\/\/www.rjmprogramming.com.au\/ITblog\/' . permalinkit($r_array[0]) . '&gt;' . $r_array[0] . '&lt;\/option&gt;', $secresult);<br \/>\n    <font colour=blue>}<\/font><br \/>\n<\/code><br \/>\n?&gt;\n<\/li>\n<li>and does the <font color=blue><b> disabled hidden<\/b><\/font> above tell you more?\n<\/ul>\n<p>Yes, back with the recent <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-circuit-quiz-animated-emoji-tutorial\/' title='Emoji Circuit Quiz Animated Emoji Tutorial'>Emoji Circuit Quiz Animated Emoji Tutorial<\/a> you might recall &#8230;<\/p>\n<blockquote cite='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-circuit-quiz-animated-emoji-tutorial\/'><p>\nWe\u2019ve also long been interested in HTML select (dropdown) element option (subelement) disabling and\/or hiding (statically or dynamically (as with today\u2019s Javascript work)), and today, for the first time for us, we put this into action\n<\/p><\/blockquote>\n<p> &#8230; and we&#8217;ve found a new (probably you&#8217;d say, &#8220;more apt&#8221;) use of this idea.  We differentiate the &#8230;<\/p>\n<ul>\n<li>arguably more potent &#8220;week&#8217;s worth&#8221; of modified postings list (as per <a title='WordPress Is Mentioned By Recently Modified Tutorial' href='#wpimbrmt'>WordPress Is Mentioned By Recently Modified Tutorial<\/a>&#8216;s situation) &#8230; still as is, and &#8220;singly selectable&#8221; &#8230; with &#8230;<\/li>\n<li>new less potent (you could argue) &#8220;older than one week and up to one month&#8221; of modified postings list that can be made &#8220;singly selectable&#8221; by the user (but don&#8217;t start that way, because they initially have <a target=_blank title='Global hidden attribute' href='https:\/\/www.w3schools.com\/tags\/att_hidden.asp'>&#8220;hidden&#8221;<\/a> and <a target=_blank title='Global disabled attribute' href='https:\/\/www.w3schools.com\/tags\/att_disabled.asp'>&#8220;disabled&#8221;<\/a> option element attributes set) &#8230; and &#8230;<\/li>\n<li>in order to save space and honour those platforms that really render the &#8220;hidden&#8221; option tags we add &#8220;older than one week and up to one month&#8221; blog posting titles onto the &#8220;selectable day age&#8221; ones (all causing a select (dropdown) element value property of blank (if trimmed &#8230; ie. their length matches (40 &#8211; number of days age)) so that that new Javascript onchange logic can just look for a select element value existing in an option (list) member outerHTML property in order to decide whether to remove the &#8220;disabled&#8221; and &#8220;hidden&#8221; properties initially populated into those option &#8220;older than one week and up to one month&#8221; elements<\/li>\n<\/ul>\n<p>Now can we recommend turning off the &#8220;scant attention&#8221; and having a look at today&#8217;s <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/imb_month.gif\">animated GIF tutorial picture<\/a> showing a bit of how this new functionality works in practice here at the WordPress TwentyTen themed blog you are reading up with the <font size=15 style='border:2px solid yellow;'>&#9758;<\/font> emoji button (you click) above.<\/p>\n<p>For biassed moi, just another reason to keep on admiring and using the ever useful HTML select (dropdown) element in our web applications.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-less-recently-modified-tutorial\/'>WordPress Is Mentioned By Less Recently Modified Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wpimbrmt'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Recently Modified Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-recently-modified-tutorial\/'>WordPress Is Mentioned By Recently Modified Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_recent_then.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Recently Modified Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_recent_then.jpg\" title=\"WordPress Is Mentioned By Recently Modified Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Recently Modified Tutorial<\/p><\/div>\n<p>Administering this blog there are two major criteria that would cause a blog posting&#8217;s modified date to change, that being &#8230;<\/p>\n<ol>\n<li>at this blog we schedule one new blog post per day &#8230; and &#8230;<\/li>\n<li>as we see things, on an ad hoc basis, we&#8217;ll make changes<\/li>\n<\/ol>\n<p> &#8230; but that &#8220;Recent Posts&#8221; widget you see at this blog only reflects blog post criteria 1 above.  Supposing you are following a thread of blog posts or an old blog post, try out the code and see that there is something amiss.  How could this possibly be so!  Yes, <a target=_blank title='?' href='https:\/\/www.youtube.com\/watch?v=3MqYE2UuN24'>humanity <strike>rains<\/strike><\/a>reigns, and we are scouring the postings you might visit <a target=_blank title='?' href='https:\/\/www.youtube.com\/watch?v=civzfZ_3uVc'>to see what you might see<\/a>, as a basis for revisits to code of the past.<\/p>\n<p>And pretty naturally, if we find an issue, and can do something about it, with that category 2 blog posting type above, we may change one or other or both of &#8230;<\/p>\n<ul>\n<li>the underlying code of said category 2 blog posting &#8230; and\/or, as applicable &#8230;<\/li>\n<li>the blog posting content of said category 2 blog posting<\/li>\n<\/ul>\n<p> &#8230; the latter of which will cause that blog posting&#8217;s modified date to change, and as of today, adding onto yesterday&#8217;s <a title='WordPress Is Mentioned By Posting Order Tutorial' href='#wpimbpot'>WordPress Is Mentioned By Posting Order Tutorial<\/a>, your clicking of &#8220;Is Mentioned By&#8221; <span style=\"font-size:24px;cursor:pointer;display:inline;text-decoration:none;background-color:orange;font-color:red;border:2px solid yellow;\">\u261e<\/span> &#8220;emoji button&#8221; above to change the &#8220;Recent Posts&#8221; widget title to &#8220;Recent <select style=display:inline-block;><option>Modified<\/option><\/select> Posts&#8221;, that (select element) dropdown populated in chronological order by a week&#8217;s worth of modified date changes at this blog.   Using this, you may get an update to something you cannot figure, else <a target=_blank href='mailto:rmetcalfe@rjmprogramming.com.au?subject=About%20Blog%20Posting%20...'>drop us a line<\/a>.<\/p>\n<p>What needed to change for this?  Well, first off, we&#8217;d like to thank the inspiration of <a target=_blank title='27 Handy SQL Query Hacks for WordPress' href='https:\/\/makeawebsitehub.com\/sql-query-hacks-wordpress\/'>27 Handy SQL Query Hacks for WordPress<\/a> for the means by which <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php----GETME\" title=\"is_mentioned_by.php\">we changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php----GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a>&#8216;s central SQL SELECT (DML) statement should receive a <font color=blue>new UNION clause as per<\/font> &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n $res = mysql_query(\"SELECT \" . $tname . \".post_title, \" . $tname . \".guid, \" . $tname . \".post_content, LOCATE('\" . $ourtitle . \"',\" . $tname . \".post_content) as tfind, LOCATE('\" . $ourother . \"',\" . $tname . \".post_title) as tother, \" . $tname . \".post_date as post_date FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND (1 = 1 OR LOWER(\" . $tname . \".post_title) != LOWER('\" . $ourtitle . \"')) \" . \"<br \/>\nAND (\" . $tname . \".post_content like CONCAT(CONCAT('%?p=',\" . $tname . \".guid), '%') \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',permalinkit($ourtitle)) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourother) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourtitle) . \"%') \" . \" UNION SELECT \" . $tname . \".post_title, \" . $tname . \".post_content as guid, ' ' as post_content, <i>-1 as tfind, -1 as tother<\/i>, \" . $tname . \".post_modified as post_date FROM \" . $tname . \" WHERE \" . $tname . \".post_status = 'publish' AND \" . $tname . \".post_modified &gt; NOW() - INTERVAL 1 WEEK \" . \" UNION SELECT 'Code Download Table' as post_title, \" . $tname . \".post_content as guid, '' as post_content, 1 as tfind, 0 as tother, CURTIME() as post_date FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND LOWER(\" . $tname . \".post_title) = LOWER('\" . $ourtitle . \"') \" . \"<br \/>\nAND \" . $tname . \".post_content like '%GETME%' ORDER BY post_date \");<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p> &#8230; that <font color=blue><i>-1 as tfind, -1 as tother<\/i><\/font> an intentional ploy to fit in with a <font color=purple>new &#8220;if&#8221; clause in the PHP (that loops through database record reads of the MySql SQL query above) as per<\/font> &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n <font color=purple>$secresult=\"\";<\/font><br \/>\n if ($res == 0) {<br \/>\n  if (1 == 2) echo(\"&lt;b&gt;Error \" . mysql_errno() . \": \" . mysql_error() . \"&lt;\/b&gt;\");<br \/>\n } else if (mysql_num_rows($res) == 0) {<br \/>\n  if (1 == 2) echo(\"&lt;b&gt;Query executed successfully&lt;\/b&gt;\");<br \/>\n  $retval=$delim;<br \/>\n  $retval = str_replace(\" }\", \" parent.document.getElementById('d\" . permalinkit($ourtitle)  . \"').innerHTML='&lt;select style=background-color:yellow; id=\" . permalinkit($ourtitle) . \" onchange=window.open(this.value,\\\"_blank\\\"); title=\\\"Is mentioned by\\\"&gt;&lt;option value=\\\"\\\"&gt;Sadly, this tutorial is not mentioned by any others, yet&lt;\/option&gt;&lt;\/select&gt;'; }\", $retval);<br \/>\n } else {<br \/>\n  while (($r_array = mysql_fetch_row($res))) {<br \/>\n   <font color=purple>if ($r_array[3] == \"-1\" && strtolower($r_array[3]) == strtolower($r_array[4])) {<br \/>\n    if ($secresult == \"\") {<br \/>\n      $secresult=\"&nbsp;&lt;span id=xdrpl&gt;&lt;select style=\\\"background-color:orange;display:inline-block;width:80px;\\\" id=mr\" . permalinkit($ourtitle) . \" onchange=window.open(this.value,\\\"_blank\\\"); title=\\\"Modified recently (over last week)\\\"&gt;&lt;option value=\\\"\\\"&gt;Modified&lt;\/option&gt;&lt;\/select&gt;&lt;\/span&gt;&nbsp;\";<br \/>\n    }<br \/>\n    $secresult=str_replace('&gt;Modified&lt;\/option&gt;','&gt;Modified&lt;\/option&gt;&lt;option value=https:\/\/www.rjmprogramming.com.au\/ITblog\/' . permalinkit($r_array[0]) . '&gt;' . $r_array[0] . '&lt;\/option&gt;', $secresult);<br \/>\n   }<\/font> else if (strtolower($r_array[0]) == strtolower($ourtitle)) {<br \/>\n    $isize++;<br \/>\n    $retval = str_replace(\" }\", \" isize++; theseopts=theseopts.replace(' size=' + eval(-1 + isize) + ' ', ' size=' + isize + ' ').replace('&gt;','&gt;&lt;option value=https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . permalinkit($r_array[0]) . \" selected&gt;\" . $r_array[0] . pluckfirstreal($r_array[2]) . \"&lt;\/option&gt;'); }\", $retval);<br \/>\n   } else {<br \/>\n    $pdate = $r_array[1];<br \/>\n    if ($retval == \"\") {<br \/>\n      $retval=$delim;<br \/>\n      $retval = str_replace(\" }\", \" var theseoptions='&lt;select style=background-color:yellow; id=\" . permalinkit($ourtitle) . \" onchange=window.open(this.value,\\\"_blank\\\"); title=\\\"Is mentioned by\\\"&gt;&lt;option value=\\\"\\\"&gt;This tutorial is mentioned by ...&lt;\/option&gt;&lt;\/select&gt;'; }\", $retval);<br \/>\n      $retval = str_replace(\" }\", \" var theseopts='&lt;select si' + 'ze=0 style=width:100%;background-color:#f0f0f0; class=select_ms id=z\" . permalinkit($ourtitle) . \" onchange=changed(this.value,ocb); title=\\\"Is part of a blog posting thread ... and you can select multiple tutorials to show\\\"<font color=purple>&gt;&lt;\/selec' + 't&gt;';<\/font> }\", $retval);<br \/>\n    }<br \/>\n    if ($r_array[3] != \"0\") $retval = str_replace(\" }\", \" theseoptions=theseoptions.replace('&lt;\/select&gt;','&lt;option value=https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . permalinkit($r_array[0]) . \"&gt;\" . $r_array[0] . \"&lt;\/option&gt;&lt;\/select&gt;'); }\", $retval);<br \/>\n    if ($criteria != \"\") {<br \/>\n      if (str_replace($criteria, \"\", $r_array[0]) != $r_array[0] && $r_array[4] != \"0\") {<br \/>\n        $found = true;<br \/>\n        $isize++;<br \/>\n        $retval = str_replace(\" }\", \" isize++; theseopts=theseopts.replace(' size=' + eval(-1 + isize) + ' ', ' size=' + isize + ' ').replace('&gt;','&gt;&lt;option value=https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . permalinkit($r_array[0]) . \"&gt;\" . $r_array[0] . pluckfirstreal($r_array[2]) . \"&lt;\/option&gt;'); }\", $retval);<br \/>\n      }<br \/>\n    }<br \/>\n   }<br \/>\n  }<br \/>\n  if ($retval != \"\") {<br \/>\n    if (!$found) {<br \/>\n      $retval = str_replace(\" }\", \" theseopts='';  }\", $retval);<br \/>\n    } else {<br \/>\n      $retval = str_replace(\" }\", \" theseoptions+=('&nbsp;' + theseopts);   }\", $retval);<br \/>\n    }<br \/>\n    $retval = str_replace(\" }\", \" parent.document.getElementById('d\" . permalinkit($ourtitle)  . \"').innerHTML=theseoptions; parent.checkclass(\\\"\\\"); }\", $retval);<br \/>\n  }<br \/>\n }<br \/>\n mysql_close($link);   \/\/ close the MySql database connection<br \/>\n if ($retval != \"\") {<br \/>\n    <font color=purple>if ($secresult != \"\") {<br \/>\n      $retval=str_replace(\"&gt;&lt;\/selec' + 't&gt;';\", \"&gt;&lt;\/selec' + 't&gt;' + '\" . $secresult . \"'; \", $retval);<br \/>\n    }<\/font><br \/>\n    echo $retval;  \/\/ this get communicated back to TwentyTen theme's header.php changes as explained below ...<br \/>\n }<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p> &#8230; teaming up with this blog&#8217;s TwentyTen theme&#8217;s (good ol&#8217;) header.php changes (to suit above) <font color=olive>that go<\/font> &#8230;<\/p>\n<p>&lt;?php<br \/>\n<code><br \/>\n<font color=olive>var rppspana=null;<\/font><br \/>\n<br \/>\n<font color=olive>function rpcheck() {<br \/>\n  if (rppspana == null) {<br \/>\n    var h3sare=document.getElementsByTagName('h3');<br \/>\n    for (var ih3sare=0; ih3sare&lt;h3sare.length; ih3sare++) {<br \/>\n      if (('' + h3sare[ih3sare].innerHTML).indexOf('cent Post') != -1) { rppspana=h3sare[ih3sare]; }<br \/>\n    }<br \/>\n  }<br \/>\n  if (rppspana != null && document.getElementById('xdrpl')) {<br \/>\n  if (rppspana.innerHTML.indexOf('cent Post') != -1 && document.getElementById('xdrpl').innerHTML != '') {<br \/>\n    var dx=document.getElementById('xdrpl').innerHTML;<br \/>\n    document.getElementById('xdrpl').innerHTML='';<br \/>\n    rppspana.innerHTML=rppspana.innerHTML.replace('cent Post', 'cent ' + dx + ' Post');<br \/>\n  } else {<br \/>\n    setTimeout(rpcheck, 4000);<br \/>\n  }<br \/>\n  } else if (document.getElementById('xdrpl')) {<br \/>\n    setTimeout(rpcheck, 4000);<br \/>\n  } else if (rppspana != null) {<br \/>\n    setTimeout(rpcheck, 4000);<br \/>\n  }<br \/>\n}<\/font><br \/>\n<br \/>\nfunction preresize_font(aois) {<br \/>\n   <font color=olive>setTimeout(rpcheck, 3000);<\/font><br \/>\n   zzzspare=aois.id.replace('t','d');<br \/>\n   resize_font();<br \/>\n}<br \/>\n<br \/>\nfunction is_mentioned_by() {<br \/>\n  var zspare,xspare,xxspare,ximb,xpspana=docgetclass(\"entry-title\", \"h2\");  \/\/ search URL returns<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) {<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline-block;border:3px solid rgba(255,165,0,0.4); background-color:rgba(255,255,0,0.3); \" id=cc' + zspare + '&gt;&lt;a target=_blank style=\"cursor:pointer;display:inline-block;text-decoration:none; font-size:12px;\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase to (the gist of) ' + (xspare) + '\" id=tcc' + zspare + '&gt;&#9986;&lt;\/a&gt;&lt;a target=_blank style=\"background: rgba(0,255,0,0.3); background: -webkit-linear-gradient(left top, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -o-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -moz-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: linear-gradient(to bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); cursor:pointer;display:inline-block;text-decoration:none;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1); font-size:12px;\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase to (the gist of) ' + (xspare) + '\" id=ttcc' + zspare + '&gt;&#127939;&#127998;&#8205;&#9792;&#65039;&#127939;&#127996;&#8205;&#9794;&#65039;&lt;\/a&gt;&lt;iframe style=display:none; id=icc' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline; background-color:rgba(255,255,0,0.3);\" id=d' + zspare + '&gt;&lt;a style=\"cursor:pointer;display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\"<font color=olive> preresize_font(this);<\/font> document.getElementById(this.id.replace(String.fromCharCode(116),String.fromCharCode(105))).src=' + \"'\" + '\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + ';  setTimeout(precheckclass,3000);  \" title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n   }<br \/>\n  }<br \/>\n  xpspana=docgetclass(\"entry-title\", \"h1\");      \/\/ real blog postings<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) {<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline-block;border:3px solid rgba(255,165,0,0.4); background-color:rgba(255,255,0,0.3); \" id=cc' + zspare + '&gt;&lt;a target=_blank style=\"cursor:pointer;display:inline-block;text-decoration:none; font-size:12px;\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase to (the gist of) ' + (xspare) + '\" id=tcc' + zspare + '&gt;&#9986;&lt;\/a&gt;&lt;a target=_blank style=\"background: rgba(0,255,0,0.3); background: -webkit-linear-gradient(left top, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -o-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: -moz-linear-gradient(bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); background: linear-gradient(to bottom right, rgba(0,255,0,0.3), rgba(255,255,0,0.3)); cursor:pointer;display:inline-block;text-decoration:none;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1); font-size:12px;\" href=\/\/www.rjmprogramming.com.au\/slideshow.html?title=' + encodeURIComponent(xspare) + '  \" title=\"Cut to the Chase to (the gist of) ' + (xspare) + '\" id=ttcc' + zspare + '&gt;&#127939;&#127998;&#8205;&#9792;&#65039;&#127939;&#127996;&#8205;&#9794;&#65039;&lt;\/a&gt;&lt;iframe style=display:none; id=icc' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n     xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline; background-color:rgba(255,255,0,0.3);\" id=d' + zspare + '&gt;&lt;a style=\"cursor:pointer;display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\"<font color=olive> preresize_font(this);<\/font> document.getElementById(this.id.replace(String.fromCharCode(164),String.fromCharCode(151))).src=' + \"'\" + '\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + '; \"  setTimeout(precheckclass,3000);  title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n   }<br \/>\n  }<br \/>\n}<br \/>\n<\/code><br \/>\n?&gt;<\/p>\n<p> &#8230; to move this newly created &#8220;Modified&#8221; (select element) dropdown from the Blog Posting content area over to the title of the Recent Posts widget to become that  &#8220;Recent <select style=display:inline-block;><option>Modified<\/option><\/select> Posts&#8221; dropdown populated with a week&#8217;s worth of modified date changed blog posting titles that if selected navigate the user onto that blog posting.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/new-wordpress-is-mentioned-by-recently-modified-tutorial\/'>WordPress Is Mentioned By Recently Modified Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wpimbpot'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Posting Order Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-posting-order-tutorial\/'>WordPress Is Mentioned By Posting Order Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_thread_order.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Posting Order Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_thread_order.jpg\" title=\"WordPress Is Mentioned By Posting Order Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Posting Order Tutorial<\/p><\/div>\n<p>We are revisiting the WordPress Blog &#8220;Is Mentioned By&#8221; functionality talked about at <a title='WordPress Is Mentioned By Posting Thread Tutorial' href='#wpimbptt'>WordPress Is Mentioned By Posting Thread Tutorial<\/a> for a few reasons &#8230;<\/p>\n<ol>\n<li>the order of blog postings that could end up on dropdowns as a result of this PHP code was not always chronological &#8230; and &#8230;<\/li>\n<li>the  &#8230;  &#8220;glimpse into&#8221; wording on the dropdown options told us (the users) nothing &#8230; and &#8230;<\/li>\n<li>the navigation off a user selected dropdown option was flaky and sporadic<\/li>\n<\/ol>\n<p> &#8230; so let&#8217;s talk about these in more depth below &#8230;<\/p>\n<ol>\n<li>the order of blog postings that could end up on dropdowns as a result of this PHP code was not always chronological &#8230; so &#8230; <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php---GETME\" title=\"is_mentioned_by.php\">we changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php---GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a>&#8216;s central bit of SELECT (DML) SQL <font color=blue>as per<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n $res = mysql_query(\"SELECT \" . $tname . \".post_title, \" . $tname . \".guid, \" . $tname . \".post_content, LOCATE('\" . $ourtitle . \"',\" . $tname . \".post_content) as tfind, LOCATE('\" . $ourother . \"',\" . $tname . \".post_title) as tother<font color=blue>, \" . $tname . \".post_date as post_date<\/font> FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND (1 = 1 OR LOWER(\" . $tname . \".post_title) != LOWER('\" . $ourtitle . \"')) \" . \"<br \/>\nAND (\" . $tname . \".post_content like CONCAT(CONCAT('%?p=',\" . $tname . \".guid), '%') \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',permalinkit($ourtitle)) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourother) . \"%' \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourtitle) . \"%') UNION SELECT 'Code Download Table' as post_title, \" . $tname . \".post_content as guid, '' as post_content, 1 as tfind, 0 as tother<font color=blue>, CURTIME() as post_date<\/font> FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND LOWER(\" . $tname . \".post_title) = LOWER('\" . $ourtitle . \"') \" . \"<br \/>\nAND \" . $tname . \".post_content like '%GETME%'<font color=blue> ORDER BY post_date<\/font> \");<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; noting that ORDER BY clause fields should appear in the (SELECT) column list, and we chose to put it at the end (of that list) to avoid any array indexing code changes\n<\/li>\n<li>the  &#8230;  &#8220;glimpse into&#8221; wording on the dropdown options told us (the users) nothing &#8230;  so &#8230; <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php---GETME\" title=\"is_mentioned_by.php\">we changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php---GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a>&#8216;s &#8220;function pluckfirstreal&#8221; <font color=blue>as per<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\n function pluckfirstreal($pcont) {<br \/>\n   <font color=blue>$xpcont=$pcont;<br \/>\n   if (strpos($xpcont, \"[\/caption]&lt;\/p&gt;\") !== false) {<br \/>\n     $xpcont=explode(\"[\/caption]&lt;\/p&gt;\", $pcont)[1];<br \/>\n   } else if (strpos($xpcont, \"[\/caption]\") !== false) {<br \/>\n     $xpcont=explode(\"[\/caption]\", $pcont)[1];<br \/>\n   }<\/font><br \/>\n   $paras = explode(\"&lt;\/p\", str_replace(\"&lt;p\", \"&lt;\/p\", $<font color=blue>x<\/font>pcont));<br \/>\n   if (sizeof($paras) &gt; 2) {<br \/>\n     $oth = explode(\"&lt;\", $paras[1]);<br \/>\n     $retval = \" ... \";<br \/>\n     for ($i=0; $i&lt;sizeof($oth); $i++) {<br \/>\n      $huh = explode(\"&gt;\", $oth[$i]);<br \/>\n      $retval .= str_replace(\"'\", \"`\", str_replace(\"}\", \" \", str_replace(\"{\", \" \", $huh[-1 + sizeof($huh)])));<br \/>\n     }<br \/>\n     return substr($retval,0,200);<br \/>\n   }<br \/>\n   return \"\";<br \/>\n }<br \/>\n<\/code><br \/>\n?&gt;\n<\/li>\n<li>the navigation off a user selected dropdown option was flaky and sporadic &#8230; so &#8230; in (good ol&#8217;) header.php of the WordPress Blog TwentyTen theme folder <font color=blue>we changed<\/font> &#8230;<br \/>\n&lt;?php<br \/>\n<code><br \/>\nfunction changed(inval,intxt) {<br \/>\n  <font color=blue>if (1 == 1 || navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n   if (callwhat.length == 0) {<br \/>\n     parentwino(inval,intxt.toLowerCase(),'');<br \/>\n   }<br \/>\n  }<\/font><br \/>\n     if (callwhat.length &gt; 1) {<br \/>\n       if (prevxcmd != \"\") {<br \/>\n         eval(prevxcmd);<br \/>\n       } else if (prevcmd != \"\") {<br \/>\n         eval(prevcmd.replace(\"''\",\"'top=50,left=50,width=600,height=600'\"));<br \/>\n       }<br \/>\n       prevxcmd=\"parentwino('\" + inval + \"','\" + intxt.toLowerCase() + \"','top=50,left=50,width=600,height=600')\";<br \/>\n       prevcmd=\"\";<br \/>\n     } else if (callwhat.length == 1) {<br \/>\n     if (sitlist.indexOf(',') != -1) {<br \/>\n     prevcmd=\"\";<br \/>\n     prevxcmd=\"\";<br \/>\n     var invala=sitlist.split(',');<br \/>\n     for (var ip=0; ip&lt;invala.length; ip++) {<br \/>\n       if (prevxcmd != \"\") {<br \/>\n         eval(prevxcmd);<br \/>\n       } else if (prevcmd != \"\") {<br \/>\n         eval(prevcmd.replace(\"''\",\"'top=50,left=50,width=600,height=600'\"));<br \/>\n       }<br \/>\n       prevxcmd=\"parentwino('\" + invala[ip] + \"','\" + intxt.toLowerCase() + \"','top=50,left=50,width=600,height=600')\";<br \/>\n       prevcmd=\"\";<br \/>\n     }<br \/>\n     } else if (1 == 1) {<br \/>\n     parentwino(inval,intxt.toLowerCase(),'');<br \/>\n     } else {<br \/>\n       if (prevcmd != \"\") {<br \/>\n         eval(prevcmd);<br \/>\n       } else if (prevxcmd != \"\") {<br \/>\n         eval(prevxcmd.replace(\"'top=50,left=50,width=600,height=600'\", \"''\"));<br \/>\n       }<br \/>\n       prevcmd=\"parentwino('\" + inval + \"','\" + intxt.toLowerCase() + \"','')\";<br \/>\n       prevxcmd=\"\";<br \/>\n     }<br \/>\n     }<br \/>\n}<br \/>\n<br \/>\n<font color=blue>function antiaway() {<br \/>\n  if (document.getElementById('hfloater') && document.getElementById('aaway')) {<br \/>\n    document.getElementById('hfloater').innerHTML=document.getElementById('hfloater').innerHTML.replace(' ' + document.getElementById('aaway').outerHTML, '');<br \/>\n  }<br \/>\n}<\/font><br \/>\n<br \/>\nfunction parentwino(a, b, c) {<br \/>\n  <font color=blue>var woisp=null, eqas=null;<\/font><br \/>\n  if (c == \"\") {<br \/>\n    <font color=blue>try {<br \/>\n    if (woisp == null && document.getElementById('hfloater')) { \/\/ && !navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n      document.getElementById('hfloater').innerHTML+=' &lt;a id=\"aaway\" target=\"_blank\" href=\"' + a + '\" style=\"display:none;\"&gt;WOpen&lt;\/a&gt;';<br \/>\n      document.getElementById('aaway').click();<br \/>\n      setTimeout(antiaway, 4300);<br \/>\n    } else {<br \/>\n      woisp=window.open(a,b);<br \/>\n    }<br \/>\n    } catch(eqas) {<br \/>\n      woisp=null;<br \/>\n    }<\/font><br \/>\n    return <font color=blue>woisp; \/\/<\/font>window.open(a,b);<br \/>\n<br \/>\n  } <font color=blue>else {<br \/>\n  try {<br \/>\n  if (woisp == null && document.getElementById('hfloater')) { \/\/ && !navigator.userAgent.match(\/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile\/i)) {<br \/>\n      document.getElementById('hfloater').innerHTML+=' &lt;a id=\"aaway\" target=\"_blank\" href=\"' + a + '\" style=\"display:none;\"&gt;WOpen&lt;\/a&gt;';<br \/>\n      document.getElementById('aaway').click();<br \/>\n      setTimeout(antiaway, 4300);<br \/>\n  } else {<br \/>\n      woisp=window.open(a,b,c);<br \/>\n  }<br \/>\n  } catch(eqas) {<br \/>\n      woisp=null;<br \/>\n  }<br \/>\n  }<\/font><br \/>\n  return <font color=blue>woisp; \/\/<\/font>window.open(a,b,c);<br \/>\n}<br \/>\n<\/code><br \/>\n?&gt;<br \/>\n &#8230; helping reduce the amount of Javascript window.open we call (and use)\n<\/li>\n<p>To try this, try the <span style=\"font-size:24px;cursor:pointer;display:inline;text-decoration:none;background-color:orange;font-color:red;border:2px solid yellow;\">\u261e<\/span> &#8220;emoji button&#8221; above.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-posting-order-tutorial\/'>WordPress Is Mentioned By Posting Order Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wpimbptt'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Posting Thread Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-posting-thread-tutorial\/'>WordPress Is Mentioned By Posting Thread Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_thread.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Posting Thread Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_thread.jpg\" title=\"WordPress Is Mentioned By Posting Thread Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Posting Thread Tutorial<\/p><\/div>\n<p>At this blog we are keen for users to learn one off ideas and on occasions linked &#8220;threaded&#8221; (or blog postings of a theme) ones.<\/p>\n<p>The last WordPress Blog (TwentyTen theme) &#8220;Is Mentioned by&#8221; functionality is good for certain scenarios, but what if you arrive at a blog posting that is part of a &#8220;threaded&#8221; series of blog postings?  We normally show you older ones and that&#8217;s fine.  But I&#8217;m not so much talking about the avid reader here who follows it &#8220;hot off the press&#8221; but more the users finding things off search engines, coming to this blog, and the posting they get to may not be the last in the &#8220;thread&#8221;.  Below the blog posting they log in at, the reader can read all the information of the past to do with the thread, but what of getting it into context, relative to the entire &#8220;thread&#8221; up to that point, or out more recently &#8220;beyond&#8221; it?  Well, that is the purpose of today&#8217;s extension of functionality to the WordPress Blog &#8220;Is Mentioned by&#8221; functionality we last finished up discussing with <a title='WordPress Is Mentioned By Code Download Progress Tutorial' href='#wimbcdpt'>WordPress Is Mentioned By Code Download Progress Tutorial<\/a> as shown below.<\/p>\n<p>Surprisingly the WordPress Blog TwentyTen theme&#8217;s header.php does not need to change to make this happen. The PHP that queries the WordPress MySql database can handle all the change today, and ended up looking like <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php---GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a> changing <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php---GETME\" title=\"is_mentioned_by.php\">this way<\/a>.<\/p>\n<p>The method is to &#8230;<\/p>\n<ul>\n<li>query the MySql database with a more complex query that results in data for &#8230;<\/li>\n<li>&#8220;is mentioned by&#8221; and &#8220;is part of a blog posting thread&#8221; are represented by two separate dropdowns &#8230; and &#8230;<\/li>\n<li>in order to show you the context of the current blog posting in a blog posting &#8220;thread&#8221; we have an HTML select <i>size<\/i> property set to the number of dropdown records &#8230; alas, mobile platforms do not honour the <o>size<\/i> property regarding their display of dropdowns &#8230; display and set the <i>selected<\/i> property to the current blog posting&#8217;s entry, with this entry consisting of &#8230;<\/li>\n<li>a blog posting title and the first paragraph of content are put into the &#8220;is part of a blog posting thread&#8221; dropdown option text to enhance the context for the user, shown this list with the most recent posting first down in reverse chronological order to the older blog posting of the &#8220;thread&#8221; down the bottom<\/li>\n<\/ul>\n<p>Below in <b>bold<\/b> is how the MySql query got more complex &#8230;<\/p>\n<p><code><br \/>\n $res = mysql_query(\"SELECT \" . $tname . \".post_title, \" . $tname . \".guid, \" . $tname . \".post_content<b>, LOCATE('\" . $ourtitle . \"',\" . $tname . \".post_content) as tfind, LOCATE('\" . $ourother . \"',\" . $tname . \".post_title) as tother<\/b> FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND (<b>1 = 1 OR <\/b>LOWER(\" . $tname . \".post_title) != LOWER('\" . $ourtitle . \"')) \" . \"<br \/>\nAND (\" . $tname . \".post_content like CONCAT(CONCAT('%?p=',\" . $tname . \".guid), '%') \" . \"<br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',permalinkit($ourtitle)) . \"%' \" . \"<br \/>\n<b>OR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourother) . \"%' \" . \"<\/b><br \/>\nOR \" . $tname . \".post_content like '%\" . str_replace('youllneverfindthis','%',$ourtitle) . \"%') UNION SELECT 'Code Download Table' as post_title, \" . $tname . \".post_content as guid, '' as post_content<b>, 1 as tfind, 0 as tother<\/b> FROM \" . $tname . \"<br \/>\nWHERE \" . $tname . \".post_status = 'publish' \" . \"<br \/>\nAND LOWER(\" . $tname . \".post_title) = LOWER('\" . $ourtitle . \"') \" . \"<br \/>\nAND \" . $tname . \".post_content like '%GETME%'\");<br \/>\n<\/code><\/p>\n<p> where the (new) variable <i>$ourother<\/i> is set to being the first few words of the blog posting title.<\/p>\n<p>In order to &#8220;pluck out&#8221; one paragraph from the content (of variable <i>$pcont<\/i>) we use &#8230;<\/p>\n<p><code><br \/>\n function pluckfirstreal($pcont) {<br \/>\n   $paras = explode(\"&lt;\/p\", str_replace(\"&lt;p\", \"&lt;\/p\", $pcont));<br \/>\n   if (sizeof($paras) &gt; 2) {<br \/>\n     $oth = explode(\"&lt;\", $paras[1]);<br \/>\n     $retval = \" ... \";<br \/>\n     for ($i=0; $i&lt;sizeof($oth); $i++) {<br \/>\n      $huh = explode(\"&gt;\", $oth[$i]);<br \/>\n      $retval .= str_replace(\"'\", \"`\", str_replace(\"}\", \" \", str_replace(\"{\", \" \", $huh[-1 + sizeof($huh)])));<br \/>\n     }<br \/>\n     return substr($retval,0,200);<br \/>\n   }<br \/>\n   return \"\";<br \/>\n }<br \/>\n<\/code><\/p>\n<p> &#8230; to append to the blog posting title as the user&#8217;s dropdown text for contextual purposes.<\/p>\n<p><b><i>Stop Press<\/i><\/b><\/p>\n<p>Was this a <a target=_blank title='?' href='https:\/\/www.youtube.com\/watch?v=BL59cKiFTV4'>Bad Day at Black Rock<\/a>?  We revisit this work with <a target=_blank title='WordPress Is Mentioned By Posting Order Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-posting-order-tutorial\/'>WordPress Is Mentioned By Posting Order Tutorial<\/a>.<\/p>\n<hr>\n<p id='wimbcdpt'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Code Download Progress Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-code-download-progress-tutorial\/'>WordPress Is Mentioned By Code Download Progress Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_more.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Code Download Progress Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_more.jpg\" title=\"WordPress Is Mentioned By Code Download Progress Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Code Download Progress Tutorial<\/p><\/div>\n<p>There are various approaches with user experience (<a target=_blank title='UX information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/User_experience'>UX<\/a>) considerations regarding putting a web application user at their ease as they wait for a response.  I&#8217;m talking about where the response is coming from a separate serverside script doing something that may take a while, such as querying a database for instance, and that responder will do the work back at its parent to say it has finished its job.  Given all this, you may be asking &#8220;What is there left to worry about, with the user, if the responder is doing this?&#8221;.  Well, there is that amount of time between &#8230;<\/p>\n<ul>\n<li>clicking the action item of HTML at the parent &#8230; all the way through to &#8230;<\/li>\n<li>the responder &#8220;child&#8221;, often serverside code (for us, PHP), finishing its work and fixing the parent webpage to indicate that it has finished its work<\/li>\n<\/ul>\n<p>Now, we all hope this time period is short, and, hopefully, most of the time, it is short, and perhaps it is &#8220;overkill&#8221; to worry about doing anything here.  However there are some things to consider &#8230;<\/p>\n<ul>\n<li>if you are writing commercial software code there could well be an UX expectation that you would code for this, to keep the user informed at all times &#8230; and &#8230;<\/li>\n<li>it could be the case that the database crashes at that very &#8220;clicking&#8221; moment, and though your responder may not get back to the parent with information, at least if you&#8217;ve coded for the scenario back at the client, at least the user will know something is being attempted, even if it doesn&#8217;t appear to be succeeding, which is less frustrating than getting no information at all, which could be mistaken for software code &#8220;hanging&#8221; &#8230; definitely not a great UX feel, or look<\/li>\n<\/ul>\n<p>Now there are a variety of client code approaches for showing &#8220;progress&#8221;, such as &#8230;<\/p>\n<ul>\n<li>additional <a target=_blank title='HTML progress element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_progress.asp'>progress bar<\/a> &#8230; like <progress value=\"1\" max=\"3\"><\/progress><\/li>\n<li>additional <a target=_blank title='HTML meter element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_meter.asp'>meter<\/a> &#8230; like <meter value=\"2\" max=\"3\"><\/meter><\/li>\n<li>something you just clicked, changing appearance cyclically over time<\/li>\n<\/ul>\n<p>That last one appeals to us for a recent bit of functionality we added to this WordPress Blog you are reading, as well as for the fact that what we show &#8220;progress&#8221; on is difficult to numerically quantify as far as completion time is concerned, and so the first two above are not as suitable. We actually change the HTML div element font size to make an emoji &#8220;button&#8221; pressed &#8220;throb&#8221; while the user waits for the PHP and MySql query to respond back.  Do you remember our thread of blog posting that used to end with <a title='WordPress Is Mentioned By Code Download CSS Tutorial' href='#wimbcdct'>WordPress Is Mentioned By Code Download CSS Tutorial<\/a>?  That&#8217;s the functionality we&#8217;re talking about today, as we do at WordPress 4.1.1&#8217;s <a target=_blank title='WordPress Is Mentioned By Code Download Progress Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-code-download-progress-tutorial\/'>WordPress Is Mentioned By Code Download Progress Tutorial<\/a>.<\/p>\n<p>Now reading that previous link&#8217;s content below, you may see that we have considered the scenario of the child responder not finding any mentions and responding with &#8230;<\/p>\n<blockquote><p>\nSadly, this tutorial is not mentioned by any others, yet\n<\/p><\/blockquote>\n<p> &#8230; which is good, but it may either take a long time for the responder to work this out, or, as we&#8217;ve indicated above, the responder&#8217;s mechanism for finding out may fail, and we&#8217;re dealing with that, from the perspective of the user looking at the client webpage, and waiting for information after clicking that emoji link we introduced when we did that work in that tutorial.<\/p>\n<p>We decided to prove our method with a &#8220;proof of concept&#8221; local MAMP web server HTML and Javascript and CSS parent taking &#8230;<\/p>\n<ol>\n<li>one blog posting bit of HTML body HTML &#8230;<\/li>\n<li>the is_mentioned_by function renamed to was_is_mentioned_by and a new is_mentioned_by worked until it works, tested via the Safari web browser&#8217;s Develop menu&#8217;s Web Inspector (similar to the Firefox Firebug web inspector we tend to go on and on and on and on and on and on about at this blog)<\/li>\n<\/ol>\n<p> &#8230; that took the form of this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/imb_poc.html_GETME\" title='imb_poc.html'>imb_poc.html<\/a> &#8230; supervising the reworked PHP serverside code is_mentioned_by.php on MAMP that is, deliberately, made to &#8230;<\/p>\n<ul>\n<li>wreck the connection to MySql &#8230; and then intervene to &#8230;<\/li>\n<li>change the <a target=_blank title='PHP sleep information' href='http:\/\/php.net\/manual\/en\/function.die.php'><i>die<\/i><\/a> message to instead <a target=_blank title='PHP sleep information' href='http:\/\/php.net\/manual\/en\/function.sleep.php'><i>sleep(18)<\/i><\/a> before showing &#8220;Sadly, this tutorial is not mentioned by any others, yet&#8221; &#8230; at which time our changes should look good UX wise for the user<\/li>\n<\/ul>\n<p>We must stress this about &#8220;proof of concept&#8221;.  Don&#8217;t waste time on &#8220;proof of concept&#8221; with too much fine grain simulation of the original scenario, if it is not involved in what you are proving, that is different, and is what is being tested here.  See how it can even be that it suits the purposes of some &#8220;proof of concept&#8221; scenarios, like today&#8217;s, that you wreck the MySql connection in a progress &#8220;proof of concept&#8221; scenario, for example?<\/p>\n<p>We made these WordPress Blog changes in good ol&#8217; TwentyTen themed header.php, as we so often do, and show changed code <b>bold<\/b> below &#8230;<\/p>\n<p><code><br \/>\n&lt;script&gt;<br \/>\n<b>var ourfs=21, zzzspare='';<\/b><br \/>\n\/\/ ...<br \/>\n\/\/ lots of other Javascript code<br \/>\n\/\/ ...<br \/>\n\/\/ down to ...<br \/>\n<b><br \/>\nfunction preresize_font(aois) {<br \/>\n   zzzspare=aois.id.replace('t','d');<br \/>\n   resize_font();<br \/>\n}<br \/>\n<\/b><b><br \/>\nfunction resize_font() {<br \/>\n    ourfs=eval((ourfs + 5) % 45);<br \/>\n    if (document.getElementById(zzzspare).innerHTML.indexOf('&lt;select ') != -1) {<br \/>\n      ourfs=21;<br \/>\n    } else {<br \/>\n      setTimeout(resize_font, 500);<br \/>\n    }<br \/>\n    document.getElementById(zzzspare).style.fontSize='' + ourfs + 'px';<br \/>\n}<br \/>\n<\/b><br \/>\nfunction is_mentioned_by() {<br \/>\n  var zspare,xspare,xxspare,ximb,xpspana=docgetclass(\"entry-title\", \"h2\");<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline;\" id=d' + zspare + '&gt;&lt;a style=\"<b><font color=green>cursor:pointer;<\/font><\/b>display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\" <b>preresize_font(this);<\/b> document.getElementById(this.id.replace(String.fromCharCode(116),String.fromCharCode(105))).src=' + \"'\" + 'http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + '; \" title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n  }<br \/>\n  xpspana=docgetclass(\"entry-title\", \"h1\");<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline;\" id=d' + zspare + '&gt;&lt;a style=\"<b><font color=green>cursor:pointer;<\/font><\/b>display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\" <b>preresize_font(this);<\/b> document.getElementById(this.id.replace(String.fromCharCode(164),String.fromCharCode(151))).src=' + \"'\" + 'http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + '; \" title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n  }<br \/>\n}<br \/>\n<\/code><\/p>\n<p> &#8230; where <i>is_mentioned_by<\/i> function is called by the document.body <i>onload<\/i> event, to trigger all this.  You can see some of all this with today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by_more.jpg\">tutorial picture<\/a>, and by trying to click some of the right pointing emoji <span style='font-size:36px;'>&#9758;<\/span> &#8220;is mentioned by&#8221; functionality &#8220;buttons&#8221; you see next to Blog Posting Titles around you here at this WordPress TwentyTen themed blog, but here&#8217;s hoping you don&#8217;t see too many throbbing emojis &#8230; heaven forbid?!<\/p>\n<p><b><i>Stop Press<\/i><\/b><\/p>\n<p>More regarding this CSS <a target=_blank title='CSS cursor property information from w3schools' href='http:\/\/www.w3schools.com\/cssref\/pr_class_cursor.asp'>cursor<\/a> property <font color=green>tomorrow<\/font>.<\/p>\n<hr>\n<p id='wimbcdct'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Code Download CSS Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-code-download-css-tutorial\/'>WordPress Is Mentioned By Code Download CSS Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/getmelist_css.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Code Download CSS Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/getmelist_css.jpg\" title=\"WordPress Is Mentioned By Code Download CSS Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Code Download CSS Tutorial<\/p><\/div>\n<p>A few things come together for today&#8217;s user experience (<a target=_blank title='UX information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/User_experience'>UX<\/a>) inspired tutorial whereby &#8230;<\/p>\n<ul>\n<li>we build on yesterday&#8217;s <a href='#wimbcdnt' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-code-download-navigation-tutorial\/'>WordPress Is Mentioned By Code Download Navigation Tutorial<\/a> changes involving the Code Download Table and the GET parameter calling methods, but this time come at it from a styling perspective that would have been referenced with <a target=_blank title='PHP Blog Summary Follow Up Tutorial ' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/php-blog-summary-follow-up-tutorial\/'>PHP Blog Summary Follow Up Tutorial <\/a> &#8230; so we &#8230;<\/li>\n<li>change the PHP that creates the HTML for displaying the Code Download Table, and that is accessed by our web server at RJM Programming using the Crontab\/Curl &#8220;dynamic duo&#8221; (we often <a target=_blank title='Crontab\/Curl blog postings here' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/?s=Crontab%2FCurl&#038;stype=Search'>look at<\/a>) &#8230; that uses &#8230;<\/li>\n<li>changes to Javascript jQuery code to dynamically change CSS (we were last talking about with <a target=_blank title='Javascript jQuery More Filtering Tutorial ' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/javascript-jquery-more-filtering-tutorial\/'>Javascript jQuery More Filtering Tutorial<\/a>) &#8230; sometimes mimicing &#8230;<\/li>\n<li>CSS Complex Selector functionality (we&#8217;ve last talked about with <a target=_blank title='WordPress Blog Complex Selectors Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-complex-selectors-tutorial\/'>WordPress Blog Complex Selectors Tutorial<\/a>), but via the use of jQuery methods like <a target=_blank title='jQuery parent method information' href='https:\/\/api.jquery.com\/parent\/'><i>parent<\/i><\/a>() and <a target=_blank title='jQuery parent method information' href='https:\/\/api.jquery.com\/siblings\/'><i>siblings<\/i><\/a>() methods &#8230; and only being called, as for yesterday&#8217;s scenario, where &#8230;<\/li>\n<li>the <a target=_blank title='Location.hash information from w3schools' href='http:\/\/www.w3schools.com\/jsref\/prop_loc_hash.asp'><i>window.document.hashtag<\/i><\/a> property contains &#8220;GET<font color=black>ME&#8221;<\/font> (a navigation approach we were last exploring with <a target=_blank title='Navigation Scrolling Trapping Image Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/navigation-scrolling-trapping-image-tutorial\/'>Navigation Scrolling Trapping Image Tutorial<\/a> some time back)<\/li>\n<\/ul>\n<p> &#8230; to make what we are doing stand out more for the user, who may &#8220;swim&#8221; in a large table devoid of any styling to focus their attention.<\/p>\n<p>We&#8217;ll leave you with modified PHP, that writes out the HTML Code Download Table manipulator, you could call <a target=_blank title='getmelist.php' href='http:\/\/www.rjmprogramming.com.au\/PHP\/getme_list.php---GETME'>getmelist.php<\/a> and which changed in <a target=_blank title='getmelist.php' href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/getme_list.php---GETME'>this way<\/a> to make the Code Download Table be more usercentric with its presentation of hashtagged calls linking a WordPress Blog Posting at this blog with a particular piece of software code of interest in our <a target=_blank title='Code Download Table' href='http:\/\/www.rjmprogramming.com.au\/getmelist.htm'>Code Download Table<\/a>.<\/p>\n<p>Hope you try this functionality out for yourself.<\/p>\n<hr>\n<p id='wimbcdnt'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Code Download Navigation Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-code-download-navigation-tutorial\/'>WordPress Is Mentioned By Code Download Navigation Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/code_download_lob_directly.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Code Download Navigation Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/code_download_lob_directly.jpg\" title=\"WordPress Is Mentioned By Code Download Navigation Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Code Download Navigation Tutorial<\/p><\/div>\n<p>We&#8217;re following up on some recent WordPress navigation logic today, that we started with <a title='WordPress Is Mentioned By Navigation Primer Tutorial' href='#wimbnpt'>WordPress Is Mentioned By Navigation Primer Tutorial<\/a> as shown below, for blog posting relationships between &#8230;<\/p>\n<ul>\n<li>A blog posting being referred to &#8230; back, optionally, as a link, to &#8230;<\/li>\n<li>A blog posting that mentioned that blog posting currently being viewed<\/li>\n<\/ul>\n<p> &#8230; and looking at this premise, it stands to reason that as helpful as this concept looks on paper, if a regular reader expects a recent posting be referred to by others &#8220;hot off the press&#8221; they&#8217;d be expecting quite a lot, and though what they get in this scenario &#8230;<\/p>\n<blockquote><p>\nSadly, this tutorial is not mentioned by any others, yet\n<\/p><\/blockquote>\n<p> &#8230; probably does a good job tweaking them to the dilemma of &#8220;hot off the press&#8221; being &#8220;too recent to be referred to&#8221; it still remains a disappointment, perhaps.  So, thinking a tad laterally on this, what is going to help out here will be to particularize the scenario for what we do around here &#8230; and am sorry if this annoys, but we are showing a line of thinking here &#8230; and allow for Blog Posts that contain the word &#8220;GET<font color=black>ME&#8221;<\/font> &#8230; our favourite code download mechanism around here &#8230; to add a <a target=_blank title='Code Download Table at RJM Programming' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/all-posts\/code-download-table\/'>&#8220;Code Download Table&#8221;<\/a> dropdown option, that if selected will lob the user directly onto the RJM Programming Code Download Table entry for the first &#8220;GET<font color=black>ME&#8221;<\/font> file link found in that blog posting.  This additional scouring of the MySql database, that utilizes the SQL <a target=_blank title='SQL UNION operator information from w3schools' href='http:\/\/www.w3schools.com\/sql\/sql_union.asp'>UNION<\/a> operator (the &#8220;adding an extra clause or paragraph&#8221; SQL operator, we like to think of it as) with its query, will not be relevant to all unmentioned blog postings, but it will help those that talk about software coding, which is quite a few.<\/p>\n<p>That functionality had us looking back at how the Code Download Table was constructed in terms of its hash<a target=_blank title='Hashtagging information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Hashtag'><i>tag<\/i><\/a>ging when we discussed <a target=_blank title='PHP Blog Summary Follow Up Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/php-blog-summary-follow-up-tutorial\/'>PHP Blog Summary Follow Up Tutorial<\/a>.  In this way, we had a first try at &#8230;<\/p>\n<ul>\n<li> &#8230; using the hashtagging for a date &#8230; as you see with these changes to <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php-GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a> at the left hand column of the Code Download Table &#8230; did a couple of unit tests seeing the first one work, the second one work if you take it a day back, and the third one not work at all, at which point it tweaked with us that the date in the Code Download Table is a date reflected by the software code file&#8217;s modified date, not the WordPress Blog Posting publication date, that we can derive off our amended query &#8230; so that being less friendly than we envisaged we end up &#8230;<\/li>\n<li> &#8230; using the very interesting hashtagging that particularizes the filename, where the read file extension (minus all the &#8220;GETME&#8221; and &#8220;-&#8220;&#8216;s and &#8220;_&#8221;&#8216;s that is) is taken out of the prefix to the hashtag, and made into a suffix &#8230; like &#8220;analogue_clock.-GETMEhtml&#8221; for <a target=_blank title='Analogue Clock Timezone Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/analogue-clock-timezone-tutorial\/'>Analogue Clock Timezone Tutorial<\/a> that is exemplified in today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/code_download_lob_directly.jpg\" title='Click picture'>tutorial picture<\/a> and as you can see the changes for at this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php--GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a> link<\/li>\n<\/ul>\n<p>So it panned out to make this happen the original Code Download Table code did not need any tweaking, not good ol&#8217; WordPress TwentyTen theme header.php &#8230; just <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php--GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a> &#8230; but we hope you try out clicking some <a target=_blank title='White Right Pointing Index emoji' href='http:\/\/www.utf8icons.com\/character\/9758\/white-right-pointing-index'>&#8220;White Right Pointing Index&#8221;<\/a> emoji  &#8230;<\/p>\n<p><a onclick=\" var aiso=document.getElementById('twordp' + 'ress-is-mentioned-by-code-downloa' + 'd-navigation-tutorial'); if (aiso) { aiso.click(); location.href='#dwordpress-is-ment' + 'ioned-by-code-download-navig' + 'ation-tutorial'; } \"><font size=20 style='border:2px solid yellow;'>&#9758;<\/font><\/a><\/p>\n<p> &#8230; at this WordPress blog sometime soon.<\/p>\n<p><b><i>Did you know?<\/i><\/b><\/p>\n<p>What gives with the <i>&amp;tsp=[someBigNumber]<\/i> <a target=_blank title='GET and POST parameter information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ref_httpmethods.asp'>GET<\/a> parameter &#8230; like is yellow highlighted in today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/code_download_lob_directly.jpg\" title='Click picture'>tutorial picture<\/a> &#8230; in the &#8220;Code Download Table&#8221; lookup URLs?  This is so that we end up with different URLs each time a user accesses this functionality. This is because web browsers often try to help you out with speeding up your browsing, and use the web browser <a target=_blank title='Cache information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Cache_(computing)'>cache<\/a> to &#8220;regurgitate&#8221; a previously visited URL should that have happened since the last clearing of any web browser cache, to &#8220;slap&#8221; the cache version quickly on the screen.  But we don&#8217;t want any &#8220;slapping&#8221; to go on around our functionality today, and a way to force the web browser to reconsider the real lookup, and go back to the real web server again for data, is to make your URL be unique.  A curiosity here you can try is to use something like a local <a target=_blank title='MAMP Mac Apache\/PHP\/MySql local web server' href='http:\/\/www.mamp.info\/'>MAMP<\/a> (for Mac or <a target=_blank title='EasyPHP local Windows WAMP Apache\/PHP\/MySql web server landing page' href='http:\/\/www.easyphp.org'>EasyPHP<\/a> for Windows) local web server to, for an image file called image.jpg that is put into the Apache web server&#8217;s <a target=_blank title='Apache web server Document Root' href='https:\/\/httpd.apache.org\/docs\/2.4\/urlmapping.html#documentroot'>Document Root<\/a> &#8230;<\/p>\n<ol>\n<li>see the image in your favoured web browser with the URL http:\/\/localhost:8888\/image.jpg &#8230; then &#8230;<\/li>\n<li>change that image somehow with an image editor &#8230; and &#8230;<\/li>\n<li>refresh, or revisit the image with the URL http:\/\/localhost:8888\/image.jpg &#8230; and you&#8217;ll probably see the cached web server version &#8230; unless you haven&#8217;t got web browser caching going &#8230; so amend this to &#8230;<\/li>\n<li>revisit the image with the URL http:\/\/localhost:8888\/image.jpg?random=7456536 &#8230; and this time we think you&#8217;ll see the amended image that happened with your image editing &#8230; and yes, you can add GET parameters to your URLs even for image URLs (often, most helpfully with image URLs, actually)<\/li>\n<\/ol>\n<hr>\n<p id='wimbnpt'>Previous relevant <a target=_blank title='WordPress Is Mentioned By Navigation Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-is-mentioned-by-navigation-primer-tutorial\/'>WordPress Is Mentioned By Navigation Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Is Mentioned By Navigation Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by.jpg\" title=\"WordPress Is Mentioned By Navigation Primer Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Is Mentioned By Navigation Primer Tutorial<\/p><\/div>\n<p>We&#8217;ve written some new WordPress navigation logic today, for blog posting relationships between &#8230;<\/p>\n<ul>\n<li>A blog posting being referred to &#8230; back, optionally, as a link, to &#8230;<\/li>\n<li>A blog posting that mentioned that blog posting currently being viewed<\/li>\n<\/ul>\n<p> &#8230; done, because we see that it is not only the &#8220;vertical&#8221; type linking of blog postings into a &#8220;thread&#8221; that helps understanding &#8230; we hope &#8230; but also to jump around among commonalities between concepts (like &#8220;horizontal&#8221; &#8220;degrees of separation&#8221;), perhaps.  This functionality involves MySql database queries, and is best suited to a <i>user clicks something<\/i> (rather than pre-emptive content loading) to reach the functionality so that our database query has a post title to work with, and also so that every blog post does not overload the web server with a query ahead of time whose work may not be accessed anyway.  The <i>something<\/i> that is clicked is an HTML <a target=_blank title='HTML a tag information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_a.asp'><i>a<\/i><\/a> tag whose &#8220;look&#8221; is an <a target=_blank title='Emoji information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Emoji'>Emoji<\/a>.<\/p>\n<p>We also wrote a proof of concept, before applying that proof of concept live.  To us, a &#8220;proof of concept&#8221; is not much use if it is as involved as what it is trying to prove, and in today&#8217;s scenario we did a proof of concept for two scenarios, that being &#8230;<\/p>\n<ul>\n<li>a blog posting that was referred to by others &#8230; and &#8230;<\/li>\n<li>a blog posting that wasn&#8217;t &#8230; doh! &#8230; but if you don&#8217;t change something about the &#8220;look of things&#8221; you&#8217;ll confuse the user as to whether the web application just took notice of their click (via the <a target=_blank title='Event onclick information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ev_onclick.asp'>onclick<\/a> event) &#8230; so this is of mild importance, but we grant you that it is not as important as the first scenario&#8217;s workings<\/li>\n<\/ul>\n<p>We quite often adopt a proof of concept scenario which tests the workings of a child (often in an HTML <a target=_blank title='HTML iframe element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_iframe.asp'>iframe<\/a> element), in this case, PHP server side, piece of code, by introducing a simplified and pared down parent, in this case HTML piece of code.  At the end of successful testing you are left with a good, and close to totally suitable child piece of code, to slot into the functionality of the real and live parent code.<\/p>\n<p>That proof of concept was definitely a good &#8220;unit testing&#8221; thing to do, but nevertheless, don&#8217;t feel overconfident as you go live &#8230; living with other real &#8220;goings on&#8221; on the live website are things to consider, and test &#8230; it took us half an hour to iron out these types of issues.<\/p>\n<p>The other good thing to have on your side is a Web Inspector like on Safari, similar to the Firefox Firebug web inspector we tend to go on and on and on and on and on and on about at this blog.  We&#8217;re giving you a Safari rest on that today, and we want to show you an &#8220;early days&#8221; view &#8230;<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/is_mentioned_by.jpeg\"><\/img><\/p>\n<p> &#8230; in the proof of concept help that the Safari Web Inspector gave us, delving in under the called (by HTML parent) PHP&#8217;s actions.  This type of information makes server side programming, like you do with PHP, that much easier &#8230; much easier than ideas where you write out web server files, with information, for your own benefit, or the other one we often like, during testing, is to write information out to <i>top.document.title<\/i> or perhaps to an alert box or to use <a target=_blank title='Console.log and other writing out ideas from w3schools ... thanks' href='http:\/\/www.w3schools.com\/js\/js_output.asp'><i>console.log<\/i><\/a> (on the debugging window, down the bottom).<\/p>\n<p>You&#8217;ll never guess where we made this change to our WordPress TwentyTen themed blog?   Give up &#8230; yes, good ol&#8217; header.php changed in the <b>bold<\/b> Javascript new function way below &#8230;<\/p>\n<p><code><br \/>\n<b><br \/>\nfunction is_mentioned_by() {<br \/>\n  var zspare,xspare,xxspare,ximb,xpspana=<a target=_blank title='docgetclass introduced by WordPress Widget Container Colour Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-widget-container-colour-primer-tutorial\/'>docgetclass<\/a>(\"entry-title\", \"h2\");<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline;\" id=d' + zspare + '&gt;&lt;a style=\"display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\" document.getElementById(this.id.replace(String.fromCharCode(116),String.fromCharCode(105))).src=' + \"'\" + 'http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + '; \" title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&amp;#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n  }<br \/>\n  xpspana=docgetclass(\"entry-title\", \"h1\");<br \/>\n  for (ximb=0; ximb&lt;xpspana.length; ximb++) {<br \/>\n   xxspare=xpspana[ximb].innerHTML.replace('&lt;\/a&gt;','').split('&gt;');<br \/>\n   xspare=xxspare[eval(-1 + xxspare.length)];<br \/>\n   zspare=xspare.toLowerCase().replace(String.fromCharCode(35), \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\".\", \"\").replace(\"+\", \"\").replace(\"+\", \"\").replace(\"'\", \"\").replace('%27','').replace(\/\\\/\/g, \"\").replace(\/,\/g, \"\").replace(\"---\",\"-\").replace(\"---\",\"-\").replace(\/--\/g,\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\");<br \/>\n   if (document.body.innerHTML.indexOf('d' + zspare) == -1) xpspana[ximb].innerHTML+=' &lt;div style=\"display:inline;\" id=d' + zspare + '&gt;&lt;a style=\"display:inline;text-decoration:none; border:2px solid yellow;\" onclick=\" document.getElementById(this.id.replace(String.fromCharCode(164),String.fromCharCode(151))).src=' + \"'\" + 'http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php?title=' + encodeURIComponent(xspare) + \"'\" + '; \" title=\"' + (xspare) + ' is mentioned by ...\" id=t' + zspare + '&gt;&amp;#9758;&lt;\/a&gt;&lt;iframe style=display:none; id=i' + zspare + ' src=&gt;&lt;\/iframe&gt;&lt;\/div&gt;';<br \/>\n }<br \/>\n}<br \/>\n<\/b><br \/>\n<\/code><\/p>\n<p> &#8230; called by &#8230;<\/p>\n<p><code><br \/>\n&lt;body onload=\" checkonl(); setTimeout(initpostedoncc, 3000); widgetcon(); precc(); courseCookies();  cookie_fonts(); <b>is_mentioned_by();<\/b> \" &lt;?php body_class(); ?&gt;&gt;<br \/>\n<\/code><\/p>\n<p>Team that with some new PHP source code you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.php_GETME\" title=\"is_mentioned_by.php\">is_mentioned_by.php<\/a> and you have today&#8217;s new WordPress blog TwentyTen theme &#8220;Is Mentioned By&#8221; functionality.<\/p>\n<p>The proof of concept parent HTML was <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/is_mentioned_by.html_GETME\" title=\"is_mentioned_by.html_GETME\">is_mentioned_by.html<\/a> for your perusal.<\/p>\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='#d24409' onclick='var dv=document.getElementById(\"d24409\"); 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='d24409' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d24477' onclick='var dv=document.getElementById(\"d24477\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/hashtag\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d24477' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d24522' onclick='var dv=document.getElementById(\"d24522\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/jquery\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d24522' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d25113' onclick='var dv=document.getElementById(\"d25113\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/progress\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d25113' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d25426' onclick='var dv=document.getElementById(\"d25426\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/thread\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d25426' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d48552' onclick='var dv=document.getElementById(\"d48552\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/dropdown\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d48552' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d48570' onclick='var dv=document.getElementById(\"d48570\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/widget\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d48570' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d48730' onclick='var dv=document.getElementById(\"d48730\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/dropdown\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d48730' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d63631' onclick='var dv=document.getElementById(\"d63631\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/story\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d63631' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d63640' onclick='var dv=document.getElementById(\"d63640\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/classname\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d63640' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d63651' onclick='var dv=document.getElementById(\"d63651\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/linear-gradient\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d63651' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we&#8217;re nuancing the &#8220;storybook&#8221; styling we developed in yesterday&#8217;s WordPress Blog Thread Story Border SVG Image Tutorial where you may have been wondering about the papers part to codeline &#8230; $atofind=&#8221;\\n atofind.className=&#8217;storybook papers&#8217;; \\n atofind.oncontextmenu=function(event){ event.target.style.zoom=&#8221; + eval(0.05 + &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-thread-story-background-gradients-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,14,37],"tags":[126,151,156,2299,4752,210,4322,1870,385,652,2020,2076,4436,4753,970,972,997,4754,1203,1268,1270,1319,1324,1325,1456],"class_list":["post-63651","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-background","tag-blog","tag-book","tag-border-image","tag-chronological","tag-class","tag-classname","tag-effect","tag-emoji","tag-javascript","tag-linear-gradient","tag-order","tag-paper","tag-pjp","tag-post","tag-posting","tag-programming","tag-ring-binder","tag-story","tag-theme","tag-thread","tag-tutorial","tag-twentyten","tag-twentyten-theme","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/63651"}],"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=63651"}],"version-history":[{"count":5,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/63651\/revisions"}],"predecessor-version":[{"id":63656,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/63651\/revisions\/63656"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=63651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=63651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=63651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}