{"id":46622,"date":"2019-10-03T03:01:59","date_gmt":"2019-10-02T17:01:59","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=46622"},"modified":"2019-10-02T14:34:52","modified_gmt":"2019-10-02T04:34:52","slug":"wordpress-landing-page-custom-fields-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-landing-page-custom-fields-tutorial\/","title":{"rendered":"WordPress Landing Page Custom Fields Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/#linkhints\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"WordPress Landing Page Custom Fields Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp_cf_nonsingle.jpg\" title=\"WordPress Landing Page Custom Fields Tutorial\"   \/><\/a><p class=\"wp-caption-text\">WordPress Landing Page Custom Fields Tutorial<\/p><\/div>\n<p>WordPress blog PHP logic, such as used behind the scenes of <a title='WordPress Custom Fields Primer Tutorial' href='#wpcfpt'>WordPress Custom Fields Primer Tutorial<\/a>, as far as its <a target=_blank title='The WordPress theme Loop' href='https:\/\/www.wpbeginner.com\/wp-tutorials\/wordpress-custom-fields-101-tips-tricks-and-hacks\/'>&#8220;loop&#8221; arrangements<\/a> go, separates into two modes, those being &#8230;<\/p>\n<ul>\n<li>single blog posting mode of access that suited yesterday&#8217;s changes to the WordPress TwentyTen themed blog&#8217;s &#8220;single.php&#8221; modifications (for URLs like https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=[postID] or https:\/\/www.rjmprogramming.com.au\/ITblog\/[post-slug-permalink]) which distinguish themselves that during the &#8220;loop&#8221; logic of &#8220;single.php&#8221; the PHP $post object exists (and so the <b>$post-&gt;ID<\/b> of &#8220;$enclosurev = get_post_meta(<b>$post-&gt;ID<\/b>, &#8216;linksofuse&#8217;, true);&#8221; below makes sense) &#8230; whereas, today &#8230;<\/li>\n<li>multiple blog posting non-search, non-tag, non-category mode of access suits, instead, (just before) the last reference to &#8220;&lt;?php the_content(&#8221; within its &#8220;&lt;?php while ( have_posts() ) : the_post(); ?gt; &#8230; innards &#8230; &lt;?php endwhile; \/\/ end of the loop. ?&gt;&#8221; code snippet of WordPress TwentyTen themed blog&#8217;s &#8220;loop.php&#8221; (we found out, again, via &#8220;&lt;?php echo &#8216;yoo hoo!&#8217;; ?&gt;&#8221; experiments) modifications (for URL like https:\/\/www.rjmprogramming.com.au\/ITblog\/) which replace the <strike>&#8220;$enclosurev = get_post_meta(<b>$post-&gt;ID<\/b>, &#8216;linksofuse&#8217;, true);&#8221;<\/strike> with &#8220;$enclosurev = get_metadata(&#8216;post&#8217;, <b>get_the_ID()<\/b>, &#8216;linksofuse&#8217;, true);&#8221; (because in &#8220;loop.php&#8221; (last incarnation of &#8220;&lt;?php the_content(&#8220;) the $post object does not exist)<\/li>\n<\/ul>\n<p>In summary, the intervention code directly before &#8220;loop.php&#8221;&#8216;s &#8220;&lt;?php while ( have_posts() ) : the_post(); ?&gt; &#8230; innards &#8230; &lt;?php endwhile; \/\/ end of the loop. ?&gt;&#8221;&#8216;s last incarnation of &#8220;&lt;?php the_content(&#8221; goes, for us &#8230;<\/p>\n<p><code><br \/>\n&lt;?php<br \/>\n$encsuffix='';<br \/>\n$enclosurev = get_metadata('post', get_the_ID(), 'linksofuse', true);<br \/>\n<br \/> <br \/>\nif ($enclosurev) {<br \/>\nif (strpos($enclosurev, \"-\") !== false || strpos($enclosurev, \",\") !== false || strpos($enclosurev, \"\/\/\") !== false) {<br \/>\n$encs=explode(\",\", $enclosurev);<br \/>\nfor ($iqs=0; $iqs&lt;sizeof($encs); $iqs++) {<br \/>\n  if ($encsuffix == \"\") { $encsuffix=\"&lt;select id='linkhints' class='linkhints' title='Our link hints for this blog posting' style='margin-top:-30px;margin-right:20px;float:right;display:inline-block;width:60px;' onchange=\\\"if (this.value.length &gt; 0) { window.open(this.value,'_blank'); }\\\"&gt;&lt;option value=''&gt;&amp;#128161;&lt;\/option&gt;&lt;\/select&gt;\"; }<br \/>\n  if (strpos($encs[$iqs], \"\/\/\") !== false) {<br \/>\n   $enctitle=\"URL \" . $encs[$iqs];<br \/>\n   $enccont=@file_get_contents(\"http:\/\/\" . explode(\"\/\/\", $encs[$iqs])[1]);<br \/>\n   if (strpos($enccont, \"&lt;\/title&gt;\") !== false) {<br \/>\n     $enctitle=explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0])[-1 + sizeof(explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0]))];<br \/>\n   }<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n  } else if (strpos($encs[$iqs], \"-\") !== false) {<br \/>\n   $encsm=explode(\"-\", $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs] . \"'&gt;&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   $enctitle=strtoupper(substr($encsm[0],0,1)) . strtolower(substr($encsm[0],1));<br \/>\n   for ($jqs=1; $jqs&lt;sizeof($encsm); $jqs++) {<br \/>\n     $enctitle.=\" \" . strtoupper(substr($encsm[$jqs],0,1)) . strtolower(substr($encsm[$jqs],1));<br \/>\n   }<br \/>\n   $encsuffix=str_replace(\"&gt;&lt;\/option&gt;&lt;\/select&gt;\", \"&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n  } else {<br \/>\n   if (substr($encs[$iqs],0,1) &gt;= '0' && substr($encs[$iqs],0,1) &lt;= '9') {<br \/>\n   $enctitle=\"Blog Posting \" . $encs[$iqs];<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=\" . $encs[$iqs]);<br \/>\n   if (strpos($enccont, \"&lt;\/title&gt;\") !== false) {<br \/>\n     $enctitle=explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0])[-1 + sizeof(explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0]))];<br \/>\n   }<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\/?p=\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"\/tag\/\") !== false) {<br \/>\n   $enctitle=\"Blog Tag \" . str_replace(\"-\",\" \",str_replace(\"\/tag\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"\/category\/\") !== false) {<br \/>\n   $enctitle=\"Blog Category \" . str_replace(\"-\",\" \",str_replace(\"\/category\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"tag\/\") !== false) {<br \/>\n   $enctitle=\"Blog Tag \" . str_replace(\"-\",\" \",str_replace(\"tag\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"category\/\") !== false) {<br \/>\n   $enctitle=\"Blog Category \" . str_replace(\"-\",\" \",str_replace(\"category\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n  }<br \/>\n  }<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n echo $encsuffix;<br \/>\n?&gt;<br \/>\n<\/code><\/p>\n<p>And so, again, we say &#8230;<\/p>\n<blockquote><p>\nI spy with my little eye something beginning with &#8230; <span class=linkhints>&#128161;<\/span><br \/>\nYes, <span class=linkhints>&#128161;<\/span><br \/>\nUp above, <span class=linkhints>&#128161;<\/span>\n<\/p><\/blockquote>\n<p> &#8230; and which a click on the blog image today gets you to, a webpage of <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/#linkhints\" title=\"Click picture\">all this blog&#8217;s recent posts<\/a>.<\/p>\n<hr>\n<p id='wpcfpt'>Previous relevant <a target=_blank title='WordPress Custom Fields Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-custom-fields-primer-tutorial\/'>WordPress Custom Fields Primer 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-custom-fields-primer-tutorial\/#linkhints\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"WordPress Custom Fields Primer Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp_cf.jpg\" title=\"WordPress Custom Fields Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">WordPress Custom Fields Primer Tutorial<\/p><\/div>\n<blockquote><p>\nI spy with my little eye something beginning with &#8230; <span class=linkhints>&#128161;<\/span><br \/>\nYes, <span class=linkhints>&#128161;<\/span><br \/>\nUp above, <span class=linkhints>&#128161;<\/span>\n<\/p><\/blockquote>\n<p><code><br \/>\nAw ... what a bright idea?!  How come I click on the light bulb (<span class=linkhints>&#128161;<\/span>) and it has dropdown options unique to this blog post?<br \/>\n<\/code><\/p>\n<blockquote><p>\nGlad you asked.  <a target=_blank title='?' href='https:\/\/www.youtube.com\/watch?v=uQeS8S80Lps'>And all because &#8230;<\/a>\n<\/p><\/blockquote>\n<p>Let&#8217;s talk about WordPress blog <a target=_blank title='WordPress Custom Fields' href='https:\/\/wordpress.org\/support\/article\/custom-fields\/'>Custom Fields<\/a>, and an associated <a target=_blank title='Great link' href='https:\/\/www.wpbeginner.com\/wp-tutorials\/wordpress-custom-fields-101-tips-tricks-and-hacks\/'>great link we stumbled upon<\/a>.  We followed its advice to change Theme code &#8230; yay!!!!  Except this time, it wasn&#8217;t (good ol&#8217;) header.php that changed for our Custom Field foray (<font size=2>we&#8217;ve codenamed &#8220;Operation 4A&#8221;<\/font> <font size=1>&#8230; tee hee<\/font>).<\/p>\n<p>Working to a plan like this, often the first question is (especially with event-driven programming code) &#8220;Where is the intervention point?&#8221;.<\/p>\n<blockquote cite='https:\/\/www.wpbeginner.com\/wp-tutorials\/wordpress-custom-fields-101-tips-tricks-and-hacks\/'><p>\nYou will need to enter your custom fields code inside the WordPress loop.<br \/>\nLook for the line that looks like this:<br \/>\n<br \/>\n&lt;?php while ( have_posts() ) : the_post(); ?&gt;<br \/>\nYou want to make sure that you add your code before the following line:<br \/>\n<br \/>\n&lt;?php endwhile; \/\/ end of the loop. ?&gt;\n<\/p><\/blockquote>\n<p> &#8230; good advice, and looking in the themes &#8220;twentyten&#8221; folder several PHP files had these two.  But trial and error (just placing &lt;?php echo &#8216;yoo hoo!&#8217;; ?&gt;) we found that &#8220;single.php&#8221; could be tweaked to change the WordPress blog webpage here, and intervene.  Place the intervention near &#8220;endwhile&#8221; and it goes down the bottom of the post&#8217;s content, and near &#8220;while ( have_posts() ) : the_post();&#8221; you get it up near the top of the post&#8217;s content (the placement we opted for).<\/p>\n<p>Working to a plan like this, often the next question is &#8220;What do you want to do now that you know where to intervene?&#8221; and here we decided we wanted a dropdown way to navigate to links that are related to the content in one of 5 ways &#8230;<\/p>\n<ul>\n<li>a number corresponds to a posting number webpage at the WordPress (TwentyTen themed) blog here<\/li>\n<li>a &#8220;-&#8221; (no spaces) delimited single &#8220;slug&#8221; word corresponds to this WordPress blog permalink<\/li>\n<li>&#8220;tag\/[tag-words]&#8221; corresponds to this WordPress [tag-words] tag lookup<\/li>\n<li>&#8220;category\/[category-words]&#8221; corresponds to this WordPress [category-words] category lookup<\/li>\n<li>absolute URL will add to dropdown and try to navigate there<\/li>\n<\/ul>\n<p> &#8230; to allow the user to &#8220;read up&#8221; on the posting to follow, perhaps.<\/p>\n<p>And so &#8230; &#8220;How come I click on the light bulb and it has dropdown options unique to this blog post?&#8221;<\/p>\n<p>The intervention code in &#8220;single.php&#8221; directly under &#8220;&lt;?php while ( have_posts() ) : the_post(); ?&gt;&#8221; &#8230;<\/p>\n<p><code><br \/>\n&lt;?php<br \/>\n$encsuffix='';<br \/>\n$enclosurev = get_post_meta($post-&gt;ID, 'linksofuse', true);<br \/>\n<br \/>\nif ($enclosurev) {<br \/>\nif (strpos($enclosurev, \"-\") !== false || strpos($enclosurev, \",\") !== false || strpos($enclosurev, \"\/\/\") !== false) {<br \/>\n$encs=explode(\",\", $enclosurev);<br \/>\nfor ($iqs=0; $iqs&lt;sizeof($encs); $iqs++) {<br \/>\n  if ($encsuffix == \"\") { $encsuffix=\"&lt;select id='linkhints' class='linkhints' title='Our link hints for this blog posting' style='margin-right:20px;float:right;display:inline-block;width:60px;' onchange=\\\"if (this.value.length &gt; 0) { window.open(this.value,'_blank'); }\\\"&gt;&lt;option value=''&gt;&amp;#128161;&lt;\/option&gt;&lt;\/select&gt;\"; }<br \/>\n  if (strpos($encs[$iqs], \"\/\/\") !== false) {<br \/>\n   $enctitle=\"URL \" . $encs[$iqs];<br \/>\n   $enccont=@file_get_contents(\"http:\/\/\" . explode(\"\/\/\", $encs[$iqs])[1]);<br \/>\n   if (strpos($enccont, \"&lt;\/title&gt;\") !== false) {<br \/>\n     $enctitle=explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0])[-1 + sizeof(explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0]))];<br \/>\n   }<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n  } else if (strpos($encs[$iqs], \"-\") !== false) {<br \/>\n   $encsm=explode(\"-\", $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs] . \"'&gt;&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   $enctitle=strtoupper(substr($encsm[0],0,1)) . strtolower(substr($encsm[0],1));<br \/>\n   for ($jqs=1; $jqs&lt;sizeof($encsm); $jqs++) {<br \/>\n     $enctitle.=\" \" . strtoupper(substr($encsm[$jqs],0,1)) . strtolower(substr($encsm[$jqs],1));<br \/>\n   }<br \/>\n   $encsuffix=str_replace(\"&gt;&lt;\/option&gt;&lt;\/select&gt;\", \"&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n  } else {<br \/>\n   if (substr($encs[$iqs],0,1) &gt;= '0' && substr($encs[$iqs],0,1) &lt;= '9') {<br \/>\n   $enctitle=\"Blog Posting \" . $encs[$iqs];<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=\" . $encs[$iqs]);<br \/>\n   if (strpos($enccont, \"&lt;\/title&gt;\") !== false) {<br \/>\n     $enctitle=explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0])[-1 + sizeof(explode(\"&gt;\", explode(\"&lt;\/title&gt;\", $enccont)[0]))];<br \/>\n   }<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\/?p=\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"\/tag\/\") !== false) {<br \/>\n   $enctitle=\"Blog Tag \" . str_replace(\"-\",\" \",str_replace(\"\/tag\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"\/category\/\") !== false) {<br \/>\n   $enctitle=\"Blog Category \" . str_replace(\"-\",\" \",str_replace(\"\/category\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"tag\/\") !== false) {<br \/>\n   $enctitle=\"Blog Tag \" . str_replace(\"-\",\" \",str_replace(\"tag\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n   } else if (strpos($encs[$iqs], \"category\/\") !== false) {<br \/>\n   $enctitle=\"Blog Category \" . str_replace(\"-\",\" \",str_replace(\"category\/\",\"\",$encs[$iqs]));<br \/>\n   $enccont=@file_get_contents(\"https:\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs]);<br \/>\n   $encsuffix=str_replace(\"&lt;\/select&gt;\", \"&lt;option value='\" . \"\/\/www.rjmprogramming.com.au\/ITblog\/\" . $encs[$iqs] . \"'&gt;\" . $enctitle . \"&lt;\/option&gt;&lt;\/select&gt;\", $encsuffix);<br \/>\n  }<br \/>\n  }<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n?&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; looks for an optionally filled in blog posting Custom Field called &#8220;linksofuse&#8221; for a comma separated list of links as per the 5 types of definitions above, and shows these as dropdown option values under that light bulb (<span class=linkhints>&#128161;<\/span>) under the blog posting title before the blog posting content (that includes the blog posting image we always have).<\/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='#d46604' onclick='var dv=document.getElementById(\"d46604\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/intervention\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d46604' 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='#d46622' onclick='var dv=document.getElementById(\"d46622\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/landing-page\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d46622' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress blog PHP logic, such as used behind the scenes of WordPress Custom Fields Primer Tutorial, as far as its &#8220;loop&#8221; arrangements go, separates into two modes, those being &#8230; single blog posting mode of access that suited yesterday&#8217;s changes &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-landing-page-custom-fields-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[1887,3102,2305,367,385,3103,2882,680,1807,3104,849,2273,917,932,970,997,1866,1154,1268,1319,1324,1325,1456],"class_list":["post-46622","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-codex","tag-custom-field","tag-customize","tag-dropdown","tag-emoji","tag-field","tag-intervention","tag-landing-page","tag-link","tag-loop-blog","tag-object","tag-option","tag-permalink","tag-php","tag-post","tag-programming","tag-select","tag-slug","tag-theme","tag-tutorial","tag-twentyten","tag-twentyten-theme","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/46622"}],"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=46622"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/46622\/revisions"}],"predecessor-version":[{"id":46626,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/46622\/revisions\/46626"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=46622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=46622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=46622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}