You must purchase the dining plan for the length of your reservation. In your case, unless you split into two reservations (one with ticket purchase and dining plan, one room only), you would need to add it for 7 nights.
The dinig plan is tied to the number of nights in your reservation, not the number of days. Your dining credits are good until midnight of the day you check out and can be used in any combination over the length of your stay.