D
D
Dmitry Zhukov2018-06-03 07:50:08
WordPress
Dmitry Zhukov, 2018-06-03 07:50:08

Wordpress: How to link stylesheet to only one specific template file?

How can I link a stylesheet to only one specific template file? I understand that you can create a separate header and write it there, but I feel that it is cumbersome.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergiu Mitu, 2018-06-03
@dreamfdr

if (is_page_template('твой шаблон')) echo "тут подключаешь стили";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question