WordPress.org

Ready to get started?Download WordPress

Forums

AnyFont
Need to manually implement plugin (1 post)

  1. Nessdufrat
    Member
    Posted 1 year ago #

    Hi!
    I need to manually implement the plugin in my theme, what php code should I use to call a specific style?
    The point is, I want to use it to style category names, but I need different title styles for the different categories. The font would be the same, only the color would change.
    Like in category 1, I would use customfont.ttf in red, in category 2, customfont.ttf in blue, etc.
    Therefore, I want to use conditional statement, like :
    if category 1, then use style red, if category 2, then use style blue, etc.
    So, of course, I need the php code... I searched everywhere for it and couldn't find it. I could read the whole php files and look for it, but I'm not even sure what I'm looking for, so it might take ages.
    Thanks!

    http://wordpress.org/extend/plugins/anyfont/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic