{"id":166,"date":"2009-06-22T15:43:23","date_gmt":"2009-06-22T13:43:23","guid":{"rendered":"http:\/\/kavdesign.net\/wordpress\/?p=166"},"modified":"2010-04-28T14:51:00","modified_gmt":"2010-04-28T12:51:00","slug":"%d0%ba%d0%b0%d0%ba-%d0%b4%d0%b0-%d1%81%d0%ba%d1%80%d0%b8%d0%b5%d0%bc-%d1%81%d1%8a%d0%b4%d1%8a%d1%80%d0%b6%d0%b0%d0%bd%d0%b8%d0%b5%d1%82%d0%be-%d0%bd%d0%b0-%d0%bf%d1%8a%d1%80%d0%b2%d0%b0%d1%82%d0%b0","status":"publish","type":"post","link":"https:\/\/www.kavdesign.net\/blog\/coding\/%d0%ba%d0%b0%d0%ba-%d0%b4%d0%b0-%d1%81%d0%ba%d1%80%d0%b8%d0%b5%d0%bc-%d1%81%d1%8a%d0%b4%d1%8a%d1%80%d0%b6%d0%b0%d0%bd%d0%b8%d0%b5%d1%82%d0%be-%d0%bd%d0%b0-%d0%bf%d1%8a%d1%80%d0%b2%d0%b0%d1%82%d0%b0\/","title":{"rendered":"How to hide the content on the front page of a Joomla site?"},"content":{"rendered":"<p><!--:bg-->To do this open the the your 1.5. Joomla template\u00a0 index.php<\/p>\n<p>find this line of code:<\/p>\n<p><code>&lt;jdoc:include type=\"component\" \/&gt;<\/code><\/p>\n<p>and change it to this:<\/p>\n<p><code>&lt;?php if (JRequest::getVar('view') != 'frontpage'): ?&gt;<br \/>\n&lt;div&gt;<br \/>\n&lt;jdoc:include type=\"component\" \/&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;?php endif ?&gt;<\/code><\/p>\n<p><!--more--><strong>Another way:<\/strong><br \/>\n<code><br \/>\n&lt;?php if(!$tmpTools-&gt;isFrontPage()) : ?&gt;<br \/>\nsth...<br \/>\n&lt;?php endif ; ?&gt;<\/code><\/p>\n<p><strong>Third way:)<\/strong><br \/>\n<code><br \/>\n&lt;?php $Itemid = JRequest::getInt('Itemid');<br \/>\nif ($Itemid != 1): ?&gt;<br \/>\nsth...<br \/>\n&lt;?php endif ; ?&gt;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To do this open the the your 1.5. Joomla template\u00a0 index.php find this line of code: &lt;jdoc:include type=&#8221;component&#8221; \/&gt; and change it to this: &lt;?php<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/www.kavdesign.net\/blog\/coding\/%d0%ba%d0%b0%d0%ba-%d0%b4%d0%b0-%d1%81%d0%ba%d1%80%d0%b8%d0%b5%d0%bc-%d1%81%d1%8a%d0%b4%d1%8a%d1%80%d0%b6%d0%b0%d0%bd%d0%b8%d0%b5%d1%82%d0%be-%d0%bd%d0%b0-%d0%bf%d1%8a%d1%80%d0%b2%d0%b0%d1%82%d0%b0\/\">Continue reading<span class=\"screen-reader-text\">How to hide the content on the front page of a Joomla site?<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[9,29],"tags":[35],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-coding","category-joomla","tag-template","entry"],"_links":{"self":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":7,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":268,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions\/268"}],"wp:attachment":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}