screen->get_prefix(); $page_structure_type = get_theme_mod( $prefix . '_page_structure_type', 'type-dam'); $template_columns_style = ''; $display_items_related_to_this = get_theme_mod( $prefix . '_display_items_related_to_this', 'no' ) === 'yes'; $column_documents_attachments_affix = get_theme_mod( $prefix . '_document_attachments_affix', 'no') === 'yes'; if ($page_structure_type == 'type-gm' || $page_structure_type == 'type-mg') { $column_documents_attachments_width = 60; $column_metadata_width = 40; $column_documents_attachments_width = intval(substr(get_theme_mod( $prefix . '_document_attachments_columns', '60%'), 0, -1)); $column_metadata_width = 100 - $column_documents_attachments_width; if ($page_structure_type == 'type-gm') { $template_columns_style = 'grid-template-columns: ' . $column_documents_attachments_width . '% calc(' . $column_metadata_width . '% - 48px);'; } else { $template_columns_style = 'grid-template-columns: ' . $column_metadata_width . '% calc(' . $column_documents_attachments_width . '% - 48px);'; } } do_action( 'tainacan-blocksy-single-item-top' ); do_action( 'tainacan-blocksy-single-item-after-title' ); ?>
'; tainacan_the_item_edit_link(); echo ''; } do_action( 'tainacan-blocksy-single-item-bottom' ); ?>