Can you skip over what doesn’t exist? 😉
There is no native single-tag to return titles for an entry. Seems like I’ve seen custom plugins to do this.
Otherwise if you are on a single entry page you can usually nest the entire page in one loop, re-using the title variable where needed. There is also a limit parameter, or if EE sees an entry id or url_title in the url it will only retrieve that entry (vs. getting all of them and then only use the first).
Haha, Thanks.
I was tempted to nest the entire page in one loop, but was not sure keeping the loop open for that length of time was wise. In truth I am unsure of best pratices with EE/Code Igniter. I usually try and keep to the snap-shut approach in regard to database requests - Get in quick, store and get out quicker.
Yep I am using the limit=1 and entry_id in come cases. Am I best to use disable=“field 1|field 2…”?
Thanks for your reply,