The following lines of codes will let you have content from separate pages without ID in WordPress.