| @@ -1,74 +1,74 @@ | ||
| 1 | -<div class="post-header"> | |
| 2 | - <?php Forumax_Forum()::forum_topics_open_close(); ?> | |
| 3 | - <?php | |
| 4 | - if ( is_singular('forum') ) : ?> | |
| 5 | - <div class="support-category-menus"> | |
| 6 | - <ul class="category-menu forumax-sort-lists"> | |
| 7 | - <li> | |
| 8 | - <div class="dropdown"> | |
| 9 | - <button class="btn btn-secondary dropdown-toggle UserList" type="button" id="dropdownMenuAuthor" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 10 | - <?php esc_html_e( 'Author', 'forumax' );?> | |
| 11 | - </button> | |
| 12 | - <div class="dropdown-menu" aria-labelledby="dropdownMenuAuthor"> | |
| 13 | - <h3 class="title"><?php esc_html_e( 'Filter by author', 'forumax' );?></h3> | |
| 14 | - <form action="#" class="cate-search-form"> | |
| 15 | - <input type="text" placeholder="<?php esc_attr_e('Search users', 'forumax'); ?>" id="search_field" > | |
| 16 | - </form> | |
| 17 | - <div class="all-users" id="UserList"> | |
| 18 | - <?php Forumax_Forum()::forum_topics_authors();?> | |
| 19 | - </div> | |
| 20 | - </div> | |
| 21 | - </div> | |
| 22 | - </li> | |
| 23 | - <li> | |
| 24 | - <div class="dropdown"> | |
| 25 | - <button class="btn btn-secondary dropdown-toggle tagLista" type="button" id="dropdownMenuLabel" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 26 | - <?php esc_html_e( 'Label', 'forumax' );?> | |
| 27 | - </button> | |
| 28 | - <div class="dropdown-menu" aria-labelledby="dropdownMenuLabel"> | |
| 29 | - <h3 class="title"><?php esc_html_e( 'Filter by label', 'forumax' );?></h3> | |
| 30 | - <form action="#" class="cate-search-form"> | |
| 31 | - <input type="text" placeholder="<?php esc_attr_e('Search label', 'forumax'); ?>" id="search_fields"> | |
| 32 | - </form> | |
| 33 | - <div class="all-users" id="tagList"> | |
| 34 | - <?php Forumax_Forum()::forum_topics_tags();?> | |
| 35 | - </div> | |
| 36 | - </div> | |
| 37 | - </div> | |
| 38 | - </li> | |
| 39 | - <li> | |
| 40 | - <div class="dropdown"> | |
| 41 | - <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
| 42 | - <?php esc_html_e( 'Sort', 'forumax' );?> | |
| 43 | - </button> | |
| 44 | - <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> | |
| 45 | - <h3 class="title"><?php esc_html_e( 'Sort by', 'forumax' );?></h3> | |
| 46 | - <div class="short-by"> | |
| 47 | - <a class="dropdown-item sort-by newest_posts" href="#newest_posts" data-sort="newest_posts" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 48 | - <?php esc_html_e( 'Newest', 'forumax' ); ?> | |
| 49 | - </a> | |
| 50 | - <a class="dropdown-item sort-by" href="#oldest_posts" data-sort="oldest_posts" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 51 | - <?php esc_html_e( 'Oldest', 'forumax' ); ?> </a> | |
| 52 | - <a class="dropdown-item sort-by" href="#comment_count" data-sort="comment_count" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 53 | - <?php esc_html_e( 'Most commented', 'forumax' ); ?> | |
| 54 | - </a> | |
| 55 | - <a class="dropdown-item sort-by" href="#comment_date" data-sort="comment_date" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 56 | - <?php esc_html_e( 'Least commented', 'forumax' ); ?> | |
| 57 | - </a> | |
| 58 | - <a class="dropdown-item sort-by" href="#recent_updated_post" data-sort="recent_updated_post" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 59 | - <?php esc_html_e( 'Recently updated', 'forumax' ); ?> | |
| 60 | - </a> | |
| 61 | - <a class="dropdown-item sort-by" href="#last_recent_updated_post" data-sort="last_recent_updated_post" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 62 | - <?php esc_html_e( 'Least recently updated', 'forumax' );?> | |
| 63 | - </a> | |
| 64 | - </div> | |
| 65 | - </div> | |
| 66 | - </div> | |
| 67 | - </li> | |
| 68 | - </ul> | |
| 69 | - </div> | |
| 70 | - <!-- /.support-category-menus --> | |
| 71 | - <?php | |
| 72 | - endif; | |
| 73 | - ?> | |
| 1 | +<div class="post-header"> | |
| 2 | + <?php Forumax_Forum()::forum_topics_open_close(); ?> | |
| 3 | + <?php | |
| 4 | + if ( is_singular('forum') ) : ?> | |
| 5 | + <div class="support-category-menus"> | |
| 6 | + <ul class="category-menu forumax-sort-lists"> | |
| 7 | + <li> | |
| 8 | + <div class="frmx-dropdown"> | |
| 9 | + <button class="frmx-dropdown-toggle UserList" type="button" id="dropdownMenuAuthor" aria-haspopup="true" aria-expanded="false"> | |
| 10 | + <?php esc_html_e( 'Author', 'forumax' );?> | |
| 11 | + </button> | |
| 12 | + <div class="frmx-dropdown-menu" aria-labelledby="dropdownMenuAuthor"> | |
| 13 | + <h3 class="title"><?php esc_html_e( 'Filter by author', 'forumax' );?></h3> | |
| 14 | + <form action="#" class="cate-search-form"> | |
| 15 | + <input type="text" placeholder="<?php esc_attr_e('Search users', 'forumax'); ?>" id="search_field" > | |
| 16 | + </form> | |
| 17 | + <div class="all-users" id="UserList"> | |
| 18 | + <?php Forumax_Forum()::forum_topics_authors();?> | |
| 19 | + </div> | |
| 20 | + </div> | |
| 21 | + </div> | |
| 22 | + </li> | |
| 23 | + <li> | |
| 24 | + <div class="frmx-dropdown"> | |
| 25 | + <button class="frmx-dropdown-toggle tagLista" type="button" id="dropdownMenuLabel" aria-haspopup="true" aria-expanded="false"> | |
| 26 | + <?php esc_html_e( 'Label', 'forumax' );?> | |
| 27 | + </button> | |
| 28 | + <div class="frmx-dropdown-menu" aria-labelledby="dropdownMenuLabel"> | |
| 29 | + <h3 class="title"><?php esc_html_e( 'Filter by label', 'forumax' );?></h3> | |
| 30 | + <form action="#" class="cate-search-form"> | |
| 31 | + <input type="text" placeholder="<?php esc_attr_e('Search label', 'forumax'); ?>" id="search_fields"> | |
| 32 | + </form> | |
| 33 | + <div class="all-users" id="tagList"> | |
| 34 | + <?php Forumax_Forum()::forum_topics_tags();?> | |
| 35 | + </div> | |
| 36 | + </div> | |
| 37 | + </div> | |
| 38 | + </li> | |
| 39 | + <li> | |
| 40 | + <div class="frmx-dropdown"> | |
| 41 | + <button class="frmx-dropdown-toggle" type="button" id="dropdownMenuButton" aria-haspopup="true" aria-expanded="false"> | |
| 42 | + <?php esc_html_e( 'Sort', 'forumax' );?> | |
| 43 | + </button> | |
| 44 | + <div class="frmx-dropdown-menu" aria-labelledby="dropdownMenuButton"> | |
| 45 | + <h3 class="title"><?php esc_html_e( 'Sort by', 'forumax' );?></h3> | |
| 46 | + <div class="short-by"> | |
| 47 | + <a class="frmx-dropdown-item sort-by newest_posts" href="#newest_posts" data-sort="newest_posts" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 48 | + <?php esc_html_e( 'Newest', 'forumax' ); ?> | |
| 49 | + </a> | |
| 50 | + <a class="frmx-dropdown-item sort-by" href="#oldest_posts" data-sort="oldest_posts" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 51 | + <?php esc_html_e( 'Oldest', 'forumax' ); ?> </a> | |
| 52 | + <a class="frmx-dropdown-item sort-by" href="#comment_count" data-sort="comment_count" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 53 | + <?php esc_html_e( 'Most commented', 'forumax' ); ?> | |
| 54 | + </a> | |
| 55 | + <a class="frmx-dropdown-item sort-by" href="#comment_date" data-sort="comment_date" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 56 | + <?php esc_html_e( 'Least commented', 'forumax' ); ?> | |
| 57 | + </a> | |
| 58 | + <a class="frmx-dropdown-item sort-by" href="#recent_updated_post" data-sort="recent_updated_post" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 59 | + <?php esc_html_e( 'Recently updated', 'forumax' ); ?> | |
| 60 | + </a> | |
| 61 | + <a class="frmx-dropdown-item sort-by" href="#last_recent_updated_post" data-sort="last_recent_updated_post" data-parent="<?php echo get_queried_object_id(); ?>"> | |
| 62 | + <?php esc_html_e( 'Least recently updated', 'forumax' );?> | |
| 63 | + </a> | |
| 64 | + </div> | |
| 65 | + </div> | |
| 66 | + </div> | |
| 67 | + </li> | |
| 68 | + </ul> | |
| 69 | + </div> | |
| 70 | + <!-- /.support-category-menus --> | |
| 71 | + <?php | |
| 72 | + endif; | |
| 73 | + ?> | |
| 74 | 74 | </div> |