WordPress.org

Forums

categories and php (2 posts)

  1. flakkito
    Member
    Posted 11 years ago #

    Hi- i wonder if someone can help me out. In my site i use some php to identify the current page for my navigatiomay bar.
    <?php $thisPage="Music"; ?>
    ive decided to move all of my site into wordpress and would like to know how i can use the above code with the categories.. something like:
    <?php $thisPage="music category"; ?>
    can someone point me toward something?
    also, while im asking- does anyone have an opinion on wether or not it's a good or bad idea to use wordpress for all of my sites content? should it be used primarily for the journal pages?
    i have heard its not good to tax the db too much, but would like all of my content to be searchable and have rss feeds.
    any ideas?
    thank you

  2. shure
    Member
    Posted 11 years ago #

    i try to do the same but can find the why (php/wordpress noob)
    (re)searched all the help docs... no clue in it to do the trick
    and a other thing; can you give a category 1 and category 2 an other template?
    thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.