I plan to implement some specific content for specific categories only, about 15. I wonder will wordpress conditionals (15 if) slow down my website visibly? Sorry if this sounds silly.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
Conditional Tags are basically just short wrapper functions for parts of the Example:
And this ↑ just retrieves a class var from the |
|||
|
|
|
The answer is no but just to put your question into perspective I tried the following code. 1.5 million ifs.
0.16 seconds |
||||
|