wordpressãCMSã¨ãã¦å©ç¨ããã¨ããã«ã¹ã¿ã æ稿ã¿ã¤ããã«ã¹ã¿ã ã¿ã¯ã½ããã¼ãæ±ããã¨ãå¢ãã¦ããã¨æãã¾ããåã¿ã¯ã½ããã¼ãã¨ã«è¡¨ç¤ºãåãæ¿ãããå ´åãªã©ã«ãWordpresså ¬å¼ã®ãã³ãã¬ã¼ãé層ãã£ã¼ããåç §ããã¨ä¾¿å©ã§ãã if (is_category(9)) { // ã«ãã´ãª 9 ã«å½ã¦ã¯ã¾ãã¨ã include(TEMPLATEPATH . '/single2.php'); } else { // ä»ã®ã«ãã´ãªã®æ稿ã®ã¨ã include(TEMPLATEPATH . '/single1.php'); } ?> âwordpress codex ã®ããã¼ãã®ä½æãã®ã¯ã¨ãªãã¼ã¹ã®ãã³ãã¬ã¼ãã御覧ãã ããã ãã®å ´åãcategory.phpã¨ãindex.phpã¨ãã§åå²ãã¦ãããã°ããããããã®ã§ãã includeã«includeãéãã¦åç §ãç¹°ãè¿ãããã£
{{#tags}}- {{label}}
{{/tags}}