{"id":588,"date":"2015-03-26T12:11:23","date_gmt":"2015-03-26T16:11:23","guid":{"rendered":"http:\/\/baystateacademy.org\/office\/?page_id=588"},"modified":"2015-03-26T12:11:23","modified_gmt":"2015-03-26T16:11:23","slug":"raw-page-next-action","status":"publish","type":"page","link":"https:\/\/baystateacademy.net\/realestatetraining\/?page_id=588","title":{"rendered":"Raw Page Next Action"},"content":{"rendered":"<p>CurrentPostType =page<br \/>\nThis is the default page content. To change the default page content please edit the<br \/>\ndefaultpagecontent.txt file in the currentWorkingDir located at \/home\/bsaorg\/public_html\/office\/wp-admin\/defaultpagecontent.txt<br \/>\nThis is the default page contents:<\/p>\n<h3 id=\"next-actions-post-for-thursday-march-26th-2015-week-4-marketing\"><a title=\"heading link\"href=\"#next-actions-post-for-thursday-march-26th-2015-week-4-marketing\" class=\"heading-link\"><i class=\"glyphicon glyphicon-link\"><\/i><\/a>Next Actions Post For Thursday March 26th 2015 &#8211; Week 4 Marketing<sup><a title=\"scroll to top\" href=\"#scroll-top\">\u2191<\/a><\/sup><\/h3>\n<p>This will allow you to write about code in your blog page with ease. Below we display some lines of code and highlight lines 2 and 4.<\/p>\n<pre class=\"lang:default mark:2,4\" title=\"Name of Code Example\" >\r\nadd_filter( 'default_content', 'my_editor_content', 10, 2 );\r\nfunction my_editor_content( $content, $post ) {\r\n\t$currentWorkingDir =  getcwd();\r\n\t$currentPostType = $post->post_type;\r\n\t$content  = \"CurrentPostType =\". $currentPostType . \"\\n\";\r\n<\/pre>\n<p><a href=\"https:\/\/getcomposer.org\/download\/\">Composer Download link <\/a><\/p>\n<ol>\n<h3 id=\"here-is-an-ordered-list\"><a title=\"heading link\"href=\"#here-is-an-ordered-list\" class=\"heading-link\"><i class=\"glyphicon glyphicon-link\"><\/i><\/a>Here Is An Ordered List<sup><a title=\"scroll to top\" href=\"#scroll-top\">\u2191<\/a><\/sup><\/h3>\n<li>List item 1<\/li>\n<li>List item 2<\/li>\n<li>List item 3<\/li>\n<\/ol>\n<h3 id=\"here-are-two-columns-in-a-post-with-no-table-just-css\"><a title=\"heading link\"href=\"#here-are-two-columns-in-a-post-with-no-table-just-css\" class=\"heading-link\"><i class=\"glyphicon glyphicon-link\"><\/i><\/a>Here Are Two Columns in A Post With No Table Just CSS<sup><a title=\"scroll to top\" href=\"#scroll-top\">\u2191<\/a><\/sup><\/h3>\n<div class=\"postcolumnpanel\">\n<div class=\"post2columnsleft\">\n\tColumn 1 info here<br \/>\n\tColumn 1 info here<br \/>\n\tColumn 1 info here\n\t<\/div>\n<div class=\"post2columnsright\">\n\tColumn 2 info here<br \/>\n\tColumn 2 info here<br \/>\n\tColumn 2 info here\n\t<\/div>\n<\/div>\n<!--End of postcolumnpanel-->\n<p>Here is some code<br \/>\n<code>$hellocode = \"Here is some code\";<\/code><\/p>\n<p>Here is how to print greaterthan and lessthan symbols in your wordpress post. If you would like to show the symbols like this:<br \/>\n<code><!--raw--><br \/>\nUsage: git clone --bare &lt;&lt;dirname&gt;&gt;  '&lt;&lt;dirname&gt;&gt;.git'<br \/>\n<!--\/raw--><\/code><\/p>\n<p>Then you need to use the codes for the greaterthan and lessthan symbols like this:<\/p>\n<pre>Usage: git clone --bare <!--raw--> &lt;&lt;dirname&gt;&gt;  '&lt;&lt;dirname&gt;&gt;.git' <!--\/raw--> <\/pre>\n<div class=\"postwarning\">Warning:  This is using the Raw HTML plugin to keep wordpress from encoding the < and > as lessthan and greaterthan symbols when it reads the default post content from a file. This is why you see<!--raw--> &lt;!&#8211;raw&#8211;&gt; and &lt;!&#8211;\/raw&#8211;&gt; <!--\/raw--> tags in the code above  <\/div>\n<p>Here are a bunch of post notes to make special emphasis of important facts.<\/p>\n<div class=\"postnote\"> These make sure that you do not forget <b>important points<\/b>. They make sure that <b>subtle concepts<\/b> do not confused. <\/div>\n<div class=\"postwarning\"> These notes point out common <b>mistakes<\/b> that people make.<\/div>\n<div class=\"posterror\">These show <b>dangerous activities<\/b> that could cause serious security breaches or loss of data.<\/div>\n<div class=\"postsuggestion\">This illustrates <b>best practices<\/b> to use when going about your work.<\/div>\n<div class=\"posthistory\">This makes <b>connections<\/b> to how the world got into the state that it is in. Seeing the <b>evolution of an idea<\/b> can sometimes help in its understanding.<\/div>\n<p><em>the end<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CurrentPostType =page This is the default page content. To change the default page content please edit the defaultpagecontent.txt file in the currentWorkingDir located at \/home\/bsaorg\/public_html\/office\/wp-admin\/defaultpagecontent.txt This is the default page contents: Next Actions Post For Thursday March 26th 2015 &#8211;<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/baystateacademy.net\/realestatetraining\/?page_id=588\">Read more <span class=\"screen-reader-text\">Raw Page Next Action<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[],"tags":[],"class_list":["post-588","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=\/wp\/v2\/pages\/588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=588"}],"version-history":[{"count":1,"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=\/wp\/v2\/pages\/588\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=\/wp\/v2\/pages\/588\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/baystateacademy.net\/realestatetraining\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}