I’d like to display slightly different content when I am in the “detailed” section of a post, versus what I have in the “list” mode.
Let me explain, as I’m sure I am not using the right words:
* what I call “detailed” section of a post is what can be found after the
* what I call “list mode” is when you see the listing of several posts, and only what is before the
<!--more-->tag is displayed.
I managed to do it by doing something very ugly (I created 2 different global variables…) but I’m sure there is an already easy existing way to do it 🙂
- The topic ‘How to know I am inside the “detail” of a post ?’ is closed to new replies.