{"id":224,"date":"2009-11-20T13:27:32","date_gmt":"2009-11-20T11:27:32","guid":{"rendered":"http:\/\/kavdesign.net\/wordpress\/?p=224"},"modified":"2009-11-20T13:30:00","modified_gmt":"2009-11-20T11:30:00","slug":"how-to-get-page-title-for-joomla-1-5","status":"publish","type":"post","link":"https:\/\/www.kavdesign.net\/blog\/coding\/how-to-get-page-title-for-joomla-1-5\/","title":{"rendered":"How to get page title for Joomla 1.5"},"content":{"rendered":"<p>This is the code:<\/p>\n<pre><span style=\"color: #000000; font-weight: bold;\">&lt;?php<\/span>\r\n\r\n<span style=\"color: #0000ff;\">$mydoc<\/span> =&amp; JFactory::<span style=\"color: #006600;\">getDocument<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n<span style=\"color: #0000ff;\">$mytitle<\/span> = <span style=\"color: #0000ff;\">$mydoc<\/span>-&gt;<span style=\"color: #006600;\">getTitle<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">?&gt;<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is the code: &lt;?php $mydoc =&amp; JFactory::getDocument(); $mytitle = $mydoc-&gt;getTitle(); ?&gt;<\/p>\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":[52,51,53],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-coding","category-joomla","tag-item-title","tag-joomla-1-5","tag-title","entry"],"_links":{"self":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/224","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=224"}],"version-history":[{"count":4,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":227,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions\/227"}],"wp:attachment":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}