diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
index 9a5655a..2baa7af 100644
a
|
b
|
$content = Plugin_Directory::instance()->split_post_content_into_pages( get_the_ |
115 | 115 | ?></span> |
116 | 116 | </header><!-- .entry-header --> |
117 | 117 | |
118 | | <?php if ( ! get_query_var( 'plugin_advanced' ) ) { ?> |
| 118 | <?php if ( get_query_var( 'plugin_advanced' ) ) { ?> |
| 119 | <span id="description"></span> |
| 120 | <span id="reviews"></span> |
| 121 | <span id="installation"></span> |
| 122 | <span id="developers"></span> |
| 123 | <ul class="tabs clear"> |
| 124 | <li id="tablink-description"><a href='<?php esc_url( get_permalink() ); ?>/#description'><?php _e( 'Details', 'wporg-plugins' ); ?></a></li> |
| 125 | <li id="tablink-reviews"><a href='<?php esc_url( get_permalink() ); ?>/#reviews'><?php _e( 'Reviews', 'wporg-plugins' ); ?></a></li> |
| 126 | <?php if ( isset( $content[ 'installation' ] ) ) { ?> |
| 127 | <li id="tablink-installation"><a href='<?php esc_url( get_permalink() ); ?>/#installation'><?php _e( 'Installation', 'wporg-plugins' ); ?></a></li> |
| 128 | <?php } ?> |
| 129 | <li id="tablink-support"><a href='<?php echo Template::get_support_url(); ?>'><?php _e( 'Support', 'wporg-plugins' ); ?></a></li> |
| 130 | <li id="tablink-developers"><a href='<?php esc_url( get_permalink() ); ?>/#developers'><?php _e( 'Development', 'wporg-plugins' ); ?></a></li> |
| 131 | </ul> |
| 132 | <?php } else { ?> |
119 | 133 | <span id="description"></span> |
120 | 134 | <span id="reviews"></span> |
121 | 135 | <span id="installation"></span> |
… |
… |
$content = Plugin_Directory::instance()->split_post_content_into_pages( get_the_ |
123 | 137 | <ul class="tabs clear"> |
124 | 138 | <li id="tablink-description"><a href='#description'><?php _e( 'Details', 'wporg-plugins' ); ?></a></li> |
125 | 139 | <li id="tablink-reviews"><a href='#reviews'><?php _e( 'Reviews', 'wporg-plugins' ); ?></a></li> |
126 | | <?php if ( isset( $content[ 'installation' ] ) ) { ?> |
| 140 | <?php if ( isset( $content[ 'installation' ] ) ) { ?> |
127 | 141 | <li id="tablink-installation"><a href='#installation'><?php _e( 'Installation', 'wporg-plugins' ); ?></a></li> |
128 | | <?php } ?> |
| 142 | <?php } ?> |
129 | 143 | <li id="tablink-support"><a href='<?php echo Template::get_support_url(); ?>'><?php _e( 'Support', 'wporg-plugins' ); ?></a></li> |
130 | 144 | <li id="tablink-developers"><a href='#developers'><?php _e( 'Development', 'wporg-plugins' ); ?></a></li> |
131 | 145 | </ul> |