<?php } } } ?> </div> </div> </form> <?php if (intval($isCreate) == 0) { //currently editing echo '</div>'; } Essential_Grid_Dialogs::post_meta_dialog(); //to change post meta informations Essential_Grid_Dialogs::edit_custom_element_dialog(); //to change post meta informations Essential_Grid_Dialogs::custom_element_image_dialog(); //to change post meta informations ?> <script type="text/javascript"> var eg_jsonTaxWithCats = <?php echo $jsonTaxWithCats; ?> ; var pages = [ <?php if (!empty($pages)) { $first = true; foreach ($pages as $page) { echo !$first ? ",\n" : "\n";