WordPress.org

Ready to get started?Download WordPress

Forums

Post Title Color
The color is working inside the post only (2 posts)

  1. jkassem
    Member
    Posted 1 year ago #

    Hello,

    I just installed the wordpress color and its working fine inside the post, but I have a special widget in the home page I want to enable it there can you help me to do that???

    Thank you.

    http://wordpress.org/extend/plugins/post-title-colors/

  2. Kailey (trepmal)
    Volunteer Mod & Reviewer
    Plugin Author

    Posted 1 year ago #

    If you comment/remove the line that says if ( $query->is_main_query() ) (line 107 in version 1.2) it will allow the title color to take effect everywhere*.

    *Everywhere being where either the_title() or get_the_title() is used, or the_title filter is called. If a plugin/widget is fetching the title directly from the database and not passing it through the filter, Post Title Color won't be able to apply a color.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.