{"id":362,"date":"2006-11-14T12:07:29","date_gmt":"2006-11-14T10:07:29","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/downloads\/wordpress-as-cms\/"},"modified":"2007-03-30T09:37:34","modified_gmt":"2007-03-30T08:37:34","slug":"wordpress-as-cms","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2006\/11\/wordpress-as-cms\/","title":{"rendered":"WordPress as CMS"},"content":{"rendered":"<p>I have read many useful (and also some less useful) comments how to squeeze WordPress to work as a CMS.<\/p>\n<p>I did not want to make any major changes to scripts that would be lost after an upgrade. I did not want to have extra plugins to change home (for example by creating an overriding home.cfm). I did not want to have any new categories. I did not want to change permalink structure. I still need my directory plugin to work, I still need the blog (some redirects even loose the blog address!) and I wanted to keep the RSS feed.<\/p>\n<p>After several hours I came up with an very simple solution: Take a standard page and rename its title and slug to &#8220;Home&#8221; &#8211; assign a special &#8220;Home&#8221; template &#8211; redirect htaccess to this page. The only trick is to make the &#8220;Home&#8221; template work: it is basically a copy of the <em>index.cfm<\/em> in your WordPress theme directory where the line calling <em>loop.php<\/em> is being replaced with a slightly modifed loop code.<\/p>\n<p><a href=\"https:\/\/www.wjst.de\/blog\/wp-content\/plugins\/scripts\/myblog.php\">myblog.php<\/a><br \/>\n|wj_myblog.php|<\/p>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 07.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>I have read many useful (and also some less useful) comments how to squeeze WordPress to work as a CMS. I did not want to make any major changes to scripts that would be lost after an upgrade. I did not want to have extra plugins to change home (for example by creating an overriding &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2006\/11\/wordpress-as-cms\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress as CMS<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[1],"class_list":["post-362","post","type-post","status-publish","format-standard","hentry","category-genetics-biology","tag-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":0,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}