diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 6c77b9b..649a749 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -91,18 +91,18 @@ class Home extends BaseController // } // featured - try { - $mysql = "SELECT id, post_title, post_content,post_date,comment_count - FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263"; - $query = $this->db->query($mysql); - - $rowF = $query->getResultArray(); - // print_r( $rowF ); - // $r = $this->db->query($mysql); - $data["blog_featured"] = $rowF[0]; - } catch (Exception $ex) { - - } +// try { +// $mysql = "SELECT id, post_title, post_content,post_date,comment_count +// FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263"; +// $query = $this->db->query($mysql); +// +// $rowF = $query->getResultArray(); +// // print_r( $rowF ); +// // $r = $this->db->query($mysql); +// $data["blog_featured"] = $rowF[0]; +// } catch (Exception $ex) { +// +// } $siteData = []; $out = $this->APIcall('GET', 'https://blogdata.chiefsoft.net/blogdata/chiefsoft', []); // https://blogdata.chiefsoft.net/