@if (isset($post->gallery)) @endif @if (isset($post)) @else @endif @if (isset($custom_fields)) @else @endif @if (isset($custom_fields_data)) @else @endif