Auto commit: 2026-01-21T17:00:46.423Z
This commit is contained in:
parent
ffd30c163d
commit
73204287bd
BIN
assets/images/shop-cap.jpg
Normal file
BIN
assets/images/shop-cap.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
assets/images/shop-koozie.jpg
Normal file
BIN
assets/images/shop-koozie.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
assets/images/shop-t-shirt.jpg
Normal file
BIN
assets/images/shop-t-shirt.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
@ -1,134 +0,0 @@
|
||||
<!-- wp:cover {"url":"assets/images/hero.jpg","dimRatio":50,"overlayColor":"black","minHeight":600,"minHeightUnit":"px","align":"full"} -->
|
||||
<div class="wp-block-cover alignfull" style="min-height:600px"><span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-50 has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="assets/images/hero.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"fontSize":"4rem","fontWeight":"900"}}} -->
|
||||
<h1 class="has-text-align-center" style="font-size:4rem;font-weight:900">REAL BRO BLOG</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"1.5rem"}}} -->
|
||||
<p class="has-text-align-center" style="font-size:1.5rem">Beer, Parties, and the Lifestyle.</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:cover -->
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="has-text-align-center">THE MANIFESTO</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Welcome to Real Bro Blog — where cold ones are sacred, beats are curated, and good times are engineered, not wasted. This is about beer, parties, and the lifestyle that keeps the crew tight: throw epic hangs, master the pour, laugh loud, leave the place better than you found it. Be bold, be chill, be responsible — hydrate, watch out for your people, know your limits (and only drink if you’re of legal age). Live loud, host legendary, drink smart, and always have each other’s backs.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="has-text-align-center">BRO TIPS OF THE WEEK</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"url":"assets/images/beer1.jpg"} -->
|
||||
<figure class="wp-block-image"><img src="assets/images/beer1.jpg" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
<!-- wp:paragraph -->
|
||||
<p>Cooler engineering, bro: pre-chill your beer, freeze big water jugs so the ice won’t dilute the brew, rotate stock so the coldest cans are on top — and stash a water section so the squad stays hydrated between rounds.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"url":"assets/images/party1.jpg"} -->
|
||||
<figure class="wp-block-image"><img src="assets/images/party1.jpg" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
<!-- wp:paragraph -->
|
||||
<p>Playlist + pace: build 3-hour blocks that start chill and ramp up, queue up a backup speaker/phone, and read the room — keep late-night volume neighbor-friendly so the party doesn’t get cut off.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"url":"assets/images/grill1.jpg"} -->
|
||||
<figure class="wp-block-image"><img src="assets/images/grill1.jpg" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
<!-- wp:paragraph -->
|
||||
<p>Host like a legend: set out trash & recycle, have solid non-alc options, lock in rides or a designated-driver plan, and be the bro who checks on people — party hard, but keep your crew safe.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="has-text-align-center">LATEST BRO STORIES</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="has-text-align-center">MIGHTY BEER REVIEWS</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"beer_review","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"40px","bottom":"40px","left":"40px","right":"40px"}},"border":{"radius":"20px"}},"backgroundColor":"black","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-black-background-color has-background" style="border-radius:20px;padding-top:40px;padding-right:40px;padding-bottom:40px;padding-left:40px">
|
||||
<!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="has-text-align-center">BRO OF THE MONTH</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"width":"33.33%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-large"><img src="https://picsum.photos/id/1011/400/400" alt="Legendary Bro"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"66.66%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:paragraph -->
|
||||
<p><strong>Meet "Big Dave" Miller.</strong></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Big Dave isn't just a bro; he's a legend. Last weekend, Dave managed to grill 50 burgers while simultaneously fixing a neighbor's lawnmower and maintaining a 3-0 winning streak in cornhole. His philosophy? "Keep the coals hot and the beer cold, and the rest will figure itself out."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Dave, we salute you. Enjoy the golden spatula, king.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
@ -9,9 +9,20 @@ add_action('wp_head', function() {
|
||||
}
|
||||
body { background-color: var(--bro-dark) !important; color: #FFFFFF !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
|
||||
.wp-block-post-title a, h1, h2, h3 { color: var(--bro-amber) !important; font-weight: 900 !important; text-transform: uppercase; letter-spacing: -0.02em; }
|
||||
.wp-block-navigation a { color: #FFFFFF !important; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }
|
||||
.wp-block-navigation a { color: #FFFFFF !important; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s ease; }
|
||||
.wp-block-navigation a:hover { color: var(--bro-amber) !important; }
|
||||
.wp-block-button__link { background-color: var(--bro-amber) !important; color: #000 !important; border-radius: 8px !important; font-weight: 800 !important; text-transform: uppercase; border: none !important; }
|
||||
.wp-block-navigation .wp-block-navigation-item.has-child { position: relative; }
|
||||
.wp-block-navigation .wp-block-navigation__submenu-container {
|
||||
background-color: #111 !important;
|
||||
border: 1px solid var(--bro-amber);
|
||||
padding: 10px !important;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.wp-block-navigation .wp-block-navigation__submenu-container a {
|
||||
font-size: 0.8rem !important;
|
||||
}
|
||||
.wp-block-button__link { background-color: var(--bro-amber) !important; color: #000 !important; border-radius: 8px !important; font-weight: 800 !important; text-transform: uppercase; border: none !important; transition: transform 0.2s ease, box-shadow 0.2s ease; }
|
||||
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 191, 0, 0.4); }
|
||||
|
||||
/* Glassmorphism effect for groups */
|
||||
.has-background.has-black-background-color {
|
||||
|
||||
@ -29,7 +29,7 @@ function bro_register_beer_review_cpt() {
|
||||
'has_archive' => true,
|
||||
'menu_icon' => 'dashicons-beer',
|
||||
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
|
||||
'rewrite' => array( 'slug' => 'beer-reviews' ),
|
||||
'rewrite' => array( 'slug' => 'beer-review' ),
|
||||
'show_in_rest' => true, // Enable Gutenberg
|
||||
);
|
||||
|
||||
@ -97,7 +97,8 @@ function bro_display_beer_rating( $content ) {
|
||||
$rating_html = '<div class="bro-beer-rating" style="margin-bottom: 20px; padding: 10px; background: #1a1a1a; border-radius: 8px; border-left: 4px solid #FFBF00;">';
|
||||
$rating_html .= '<strong style="color: #FFBF00; text-transform: uppercase; font-family: sans-serif;">Bro Rating:</strong><br>' . $stars;
|
||||
$rating_html .= '</div>';
|
||||
return $rating_html . $content;
|
||||
$footer_link = '<div style="margin-top: 30px;"><a href="' . get_post_type_archive_link('beer_review') . '" style="color: #FFBF00; font-weight: bold; text-transform: uppercase; text-decoration: none;">← Back to All Reviews</a></div>';
|
||||
return $rating_html . $content . $footer_link;
|
||||
}
|
||||
}
|
||||
return $content;
|
||||
|
||||
@ -149,3 +149,14 @@ function bro_display_map() {
|
||||
<?php
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
// Display Back to Map link on singular hangout
|
||||
add_filter('the_content', function($content) {
|
||||
if (is_singular('bro_hangout') && in_the_loop() && is_main_query()) {
|
||||
$footer_link = '<div style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #333;">';
|
||||
$footer_link .= '<a href="/party-map/" style="color: #FFBF00; font-weight: bold; text-transform: uppercase; text-decoration: none;">← Back to Party Map</a>';
|
||||
$footer_link .= '</div>';
|
||||
return $content . $footer_link;
|
||||
}
|
||||
return $content;
|
||||
});
|
||||
|
||||
@ -26,7 +26,10 @@ function bro_render_quiz() {
|
||||
<h2 style="color: #FFBF00;">Your Result:</h2>
|
||||
<h1 id="result-title" style="font-size: 3rem; margin: 10px 0;"></h1>
|
||||
<p id="result-desc"></p>
|
||||
<button onclick="location.reload()" style="background: transparent; color: #FFBF00; border: 2px solid #FFBF00; padding: 10px 20px; border-radius: 50px; cursor: pointer; margin-top: 20px;">Take it again</button>
|
||||
<div style="display: flex; gap: 10px; justify-content: center; margin-top: 20px;">
|
||||
<button onclick="location.reload()" style="background: transparent; color: #FFBF00; border: 2px solid #FFBF00; padding: 10px 20px; border-radius: 50px; cursor: pointer;">Take it again</button>
|
||||
<a href="/" style="background: #FFBF00; color: #000; border: none; padding: 10px 20px; border-radius: 50px; cursor: pointer; text-decoration: none; font-weight: bold; font-size: 14px; line-height: 20px;">Back to Home</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user