PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.3.4
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.3.4
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / views / admin / docs-ui / grid-partials / single.php

single.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.3.4, at views/admin/docs-ui/grid-partials/single.php

32 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="betterdocs-single-listing">
2 <div class="betterdocs-single-listing-inner">
3 <h4 class="betterdocs-single-listing-title">
4 <?php echo wp_kses_post( $term->name ); ?>
5 </h4>
6
7 <ul class="docs-droppable" data-category_id="<?php esc_attr_e( $term->term_id );?>">
8 <?php
9 if ( $query->have_posts() ) {
10 while ( $query->have_posts() ) {
11 $query->the_post();
12
13 $post_id = get_the_ID();
14
15 $view_object->get( 'admin/docs-ui/grid-partials/single-list-item', [
16 'post_id' => $post_id,
17 'permalink' => get_permalink( $post_id ),
18 'post_status' => get_post_status( $post_id ),
19 'edit_post_link' => get_edit_post_link( $post_id, '' ),
20 'delete_post_link' => get_delete_post_link( $post_id, '' )
21 ] );
22 }
23 } else {
24 $view_object->get( 'admin/docs-ui/grid-partials/no-content-list-item' );
25 }
26 ?>
27 </ul>
28 </div>
29
30 <?php $view_object->get( 'admin/docs-ui/grid-partials/add-item' ); ?>
31 </div>
32