Is there any way to specify the desired weblog entry directly (with dynamic=“off”) but show nothing at all if no entry_id is specified? I am using url segments to construct a url structure with more than the normal two levels, but I need to not show the most recent entry in a weblog if no url segment is specified.
Here is the code I am using:
{exp:weblog:entries weblog="documents" url_title="{segment_5}" limit="1" dynamic="off" require_entry="yes" disable="member_data|pagination|trackbacks|categories|category_fields"}It works great, except that if there are only four segments to the url it displays the most recent entry. Does require_entry not work with dynamic=“off”? Thanks for any help.