WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Indicate Fresh Post] Mark Recent Post in Multiple Places

[Plugin: Indicate Fresh Post] Mark Recent Post in Multiple Places

  • I want to customize this plugin (Indicate Fresh Post v0.2.0) so that the flag (NEW!) shows up for the post in 3 places: in the slider on the theme, on the actual post page, and on the home page with the excerpt. Currently, it only shows up on the excerpt. I know the cause of it is the “is_singular” part of this line:
    if ((!is_singular()) && (!empty($ifp_detect_loop)))

    If I take that line out along with the “else” statement, then it does what I want. However, there is a small glitch where it adds the NEW flag on the post navigation for the previous post. It wouldn’t be a problem if it marked it on the right post 🙂

    I’m using the graphene theme if that helps.

  • The topic ‘[Plugin: Indicate Fresh Post] Mark Recent Post in Multiple Places’ is closed to new replies.