Articles templates fix

"defined" replaced to "function_exists", else old themes don't work.