Changeset 13455 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sidebar.php
- Timestamp:
- 04/04/2024 11:13:50 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sidebar.php
r13408 r13455 42 42 43 43 <div> 44 <?php bbp_topic_tag_list( 0, array( 45 'before' => '<h4>' . __( 'Tags', 'wporg-forums' ) . '</h4><ul class="topic-tags"><li class="tag">', 46 'after' => '</li></ul>', 47 'sep' => '</li><li class="tag">', 48 ) ); ?> 49 </div> 50 51 <div> 44 52 <ul class="topic-info"> 45 53 <?php bb_base_single_topic_description(); ?> 46 54 </ul> 47 </div>48 49 <div>50 <?php bbp_topic_tag_list( 0, array(51 'before' => '<h4>' . __( 'Topic Tags', 'wporg-forums' ) . '</h4><ul class="topic-tags"><li>',52 'after' => '</li></ul>',53 'sep' => '</li><li>',54 ) ); ?>55 55 </div> 56 56 … … 60 60 <?php bbp_topic_admin_links( array ( 61 61 'id' => bbp_get_topic_id(), 62 'before' => '<h4>' . __( ' TopicAdmin', 'wporg-forums' ) . '</h4><ul class="topic-admin-links"><li>',62 'before' => '<h4>' . __( 'Admin', 'wporg-forums' ) . '</h4><ul class="topic-admin-links"><li>', 63 63 'after' => '</li></ul>', 64 64 'sep' => '</li><li>', … … 86 86 87 87 <div> 88 <h4><?php _e( 'Views', 'wporg-forums' ); ?></h4> 89 <ul class="topic-views"> 88 <h4><?php _e( 'Topics', 'wporg-forums' ); ?></h4> 90 89 91 <?php foreach ( bbp_get_views() as $view => $args ) : 92 if ( in_array( $view, wporg_support_get_compat_views() ) ) { 93 continue; 94 } 95 ?> 96 97 <li><a class="bbp-view-title" href="<?php bbp_view_url( $view ); ?>"><?php bbp_view_title( $view ); ?></a></li> 98 99 <?php endforeach; ?> 100 101 </ul> 90 <?php echo do_blocks( 91 sprintf( 92 '<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"className":"topic-views is-style-cards-grid","layout":{"type":"grid"},"fontSize":"small"} --> 93 <div class="topic-views wp-block-group is-style-cards-grid">%s</div> 94 <!-- /wp:group -->', 95 wporg_support_get_sidebar_topics() 96 ) 97 ); ?> 102 98 </div> 103 99 … … 109 105 <h4><?php _e( 'Feeds', 'wporg-forums' ); ?></h4> 110 106 <ul class="forum-feeds"> 111 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( ' AllRecent Posts', 'wporg-forums' ); ?></a></li>112 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php _e( ' AllRecent Topics', 'wporg-forums' ); ?></a></li>107 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( 'RSS Recent Posts', 'wporg-forums' ); ?></a></li> 108 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php _e( 'RSS Recent Topics', 'wporg-forums' ); ?></a></li> 113 109 </ul> 114 110 </div>
Note: See TracChangeset
for help on using the changeset viewer.