I need use is_single in functions.php

by Alex Gromov   Last Updated September 21, 2018 17:08 PM

I need to use validation is_single('wordpress') in file functions.php.

But the function is_single() does not work in the file functions.php.

What can I do so that I can use is_single() in file functions.php?

If more, then:

I'm doing a check, its single page or not.

And for single page I am set custom function..

Please help me someone.

Tags : functions


Related Questions



List all post title in category using functions.php

Updated April 04, 2015 19:03 PM

List all post title in category using functions.php

Updated April 05, 2015 18:03 PM


how to use wordpress-as-a-pay-for-access-system

Updated May 29, 2015 03:03 AM