• 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • What version of WordPress are you using? Have you tried deactivating the NO CATEGORY BASE plugin to see that resolves the problem? I’ve used single_cat_title in at least 30 different themes without the slightest problem.

    Thread Starter janosd

    (@janosd)

    ohh thank you, i solved the problem somehow but i cant remember how [coding day and night and learning for exams…].

    i will write here if it crosses my mind.

    ciao

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘single_cat_title() doesnt return anything.’ is closed to new replies.