• Resolved newkind

    (@newkind)


    Hi,

    How can I display a category name outside The Loop ? For an example I need to display somewhere a Name for a category with id=4.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    <?php echo get_cat_name(4);?>

    Thread Starter newkind

    (@newkind)

    oh, thank u

    i couldn’t find in in the docs

    esmi

    (@esmi)

    It’s not that well documented. I think I came across it when researching something else.

    Tnx so much Esmi; had the same problem here;
    seems it’s just didn’t documented as far as I searched here n there! I’m about 6h now to solving this but…

    tnx again,
    mim

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

The topic ‘Category name outside loop’ is closed to new replies.