Timeline for how to check if a shortcode is used more than one time in the same post
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 20, 2022 at 9:34 | history | edited | Christine Cooper♦ | CC BY-SA 4.0 |
added 2 characters in body
|
Feb 24, 2013 at 22:40 | comment | added | Toc | Thank you for having done this remark. Indeed I need to know how many times the shortcode is invoked in a page. If the page is a post, then I need to know if the shortcode is invoked once or more. If the page displays many posts, I need to know if the shortcode is invoked once or more in all these posts or in their first lines which are contained on the page. Sorry to have not been clear. | |
Feb 24, 2013 at 22:38 | vote | accept | Toc | ||
Feb 24, 2013 at 22:36 | vote | accept | Toc | ||
Feb 24, 2013 at 22:38 | |||||
Feb 24, 2013 at 21:43 | comment | added | user26607 | I agree, but I can imagine that the OP wants only a second call in one post. | |
Feb 24, 2013 at 21:42 | comment | added | fuxia♦ | @CamilStaps Why not? A second call is a second call. | |
Feb 24, 2013 at 21:40 | comment | added | user26607 | What would happen in archive pages? If post #1 has a shortcode used and post #2 too, this would have another effect, right? I'm not sure if that's what the OP wants. | |
Feb 24, 2013 at 21:36 | history | answered | fuxia♦ | CC BY-SA 3.0 |