The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

categories and php (2 posts)

  1. flakkito
    Posted 12 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
    Posted 12 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


No tags yet.