admin管理员组文章数量:1022415
For my website, i need to add a particular css file for a set of pages in wordpress which I am trying to do from functions.php.
For example: This is a set of PAGES and not of type post. All these pages have title that starts with a particular string. Is there anyway I can detect the pages by a check using the string present in the title?
Or what else are the options available to do so?
There are more than 10 pages so using is_page(id) is not a feasible solution.
For my website, i need to add a particular css file for a set of pages in wordpress which I am trying to do from functions.php.
For example: This is a set of PAGES and not of type post. All these pages have title that starts with a particular string. Is there anyway I can detect the pages by a check using the string present in the title?
Or what else are the options available to do so?
There are more than 10 pages so using is_page(id) is not a feasible solution.
本文标签: Add an identifier to a set of pages to access using a conditional tag
版权声明:本文标题:Add an identifier to a set of pages to access using a conditional tag 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745499260a2153313.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论