[Plugin: Indicate Fresh Post] Mark Recent Post in Multiple Places (1 post)

  1. rbitfrog
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic