• thomask

    (@thomask)


    I have the same problem as this guy:
    http://ww.wp.xz.cn/support/topic/34498?replies=2

    i want to show Category Title in the Single.php but it shows nothing, doesn’t matter if in Loop or outside, doesn’t matter if I try
    echo single_cat_title(”,false);
    or single_cat_title(”,true); or any other possible combination.

    Am I doing something wrong or is it a bug in this function?

Viewing 2 replies - 1 through 2 (of 2 total)
  • maerk

    (@maerk)

    You might need to put it in like <?php single_cat_title(); ?>

    Sorry if you knew that already 😉

    The example given is:
    <p><?php single_cat_title('Currently browsing '); ?>.</p>

    Which ought to give you “Currently browsing Category name”.

    http://codex.ww.wp.xz.cn/Template_Tags/single_cat_title

    How are you trying to use it?

    Thread Starter thomask

    (@thomask)

    i try it exactly this way, but it does not show anything

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Single category title bug?’ is closed to new replies.