Changeset 13866
- Timestamp:
- 06/27/2024 08:25:52 PM (6 weeks ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/patterns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/patterns/local-nav-home.php
r13289 r13866 5 5 array( 6 6 'title' => __( 'Local Nav - Home', 'wporg-forums' ), 7 'content' => '<!-- wp:wporg/local-navigation-bar {"backgroundColor":"charcoal-2","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} --> 7 'content' => sprintf( 8 '<!-- wp:wporg/local-navigation-bar {"className":"has-display-contents","backgroundColor":"charcoal-2","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} --> 8 9 9 <!-- wp: html-->10 < div style="height:calc(var(--wp--custom--body--small--typography--line-height) * var(--wp--preset--font-size--small));" aria-hidden="true"></div>11 <!-- /wp: html-->10 <!-- wp: --> 11 <> 12 <!-- /wp: --> 12 13 13 14 <!-- wp:navigation {"icon":"menu","overlayBackgroundColor":"charcoal-2","overlayTextColor":"white","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small","menuSlug":"forums"} /--> 14 15 15 <!-- /wp:wporg/local-navigation-bar -->' 16 <!-- /wp:wporg/local-navigation-bar -->', 17 esc_html__( 'Forums', 'wporg-forums' ), 18 ), 16 19 ), 17 20 ); 18 21 } 19 20 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/patterns/local-nav.php
r13289 r13866 9 9 10 10 <!-- wp:paragraph {"fontSize":"small"} --> 11 <p class="wp-block-site-title has-small-font-size"><a href="% s">%s</a></p>11 <p class="wp-block-site-title has-small-font-size"><a href="%s</a></p> 12 12 <!-- /wp:paragraph --> 13 13 … … 16 16 <!-- /wp:wporg/local-navigation-bar -->', 17 17 esc_url( home_url( '/forums/' ) ), 18 esc_html__( 'Forums', 'wporg-forums' ) ,18 esc_html__( 'Forums', 'wporg-forums' ) 19 19 ), 20 20 ) 21 21 ); 22 22 } 23 24 ?>
Note: See TracChangeset
for help on using the changeset viewer.