最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Add an identifier to a set of pages to access using a conditional tag

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论