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

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 functio

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745499261a4630337.html

相关推荐

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

    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 functio

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信