I’m trying to translate a website from WordPress into ExpressionEngine…
On the home page I have one entry displayed, the most recent belonging to the category “Featured.” In the sidebar (which right now is a separate file that’s getting embedded), I’m listing recent “Featured” entries.
How do I exclude the main entry (the full text of which is being displayed) from being listed in the sidebar?
I saw I can declare global variables in a file called path.php but that seems to be for permanent stuff. And user-defined global variables apparently can only be static info.
As best I can guess, I need to define the main entry’s ID as a dynamic global variable in the main Index template so I can then reference that ID to be excluded by the sidebar code. Is there a way to do this?