Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11048 closed enhancement (invalid)

Add new is_excerpt conditional tag

Reported by: newkind Owned by:
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords: new is_excerpt conditional tag
Cc:

Description

Hi,

I'd like request adding new conditional tag - is_excerpt(). It can be very useful to add some stuff to the posts on frontpage that were splitted using <!--more--> tag.

Change History (3)

  • Resolution set to invalid
  • Status changed from new to closed

is_excerpt() wouldn't work because it's on a per-post basis, whereas the rest of the conditional tags are related to the current query.

Please use the Ideas forum.

  • Milestone 2.9 deleted

Next to what scribu is saying (which I must confirm as well), this does not make much sense logically. A themer should be able to find out wich actual template/query is using excerpts or not. So this can be decided by the theme or based on the query itself. There is no general rule.

Note: See TracTickets for help on using tickets.