single_cat_title() doesnt return anything.
-
do anybody know why single_cat_title doesnt returns anything?
it only echoes the name but doesnt return the value. is it possible?
i searched the forum and YES,im using it ona category archive.
ahh! i also found sg here
https://bestwordpresstemplate.com/wordpress-23x-bug-in-single-cat-title-and-permalink-structure-13/
“Hi all, I just want to let you know that I have found a bug for WordPress version 2.3.0 – 2.3.2 (I have just found this out using these version) regarding the single_cat_title function when the permalink does NOT has the %category% token.”
now, i use the NO CATEGORY BASE plugin, maybe thats the problem? if yes, please tell me how can i get the category name and id when im on the category archive. cheers
- The topic ‘single_cat_title() doesnt return anything.’ is closed to new replies.