Untitled
Never
<?php $id = get_field( 'id' ); $post_id = theme_acf_post_id(); $image = get_field( 'image' ) ? get_field( 'image' ) : get_field( 'image', $post_id ); $title = get_field( 'title' ) ? get_field( 'title' ) : get_field( 'title', $post_id ); $name = get_field( 'name' ) ? get_field( 'name' ) : get_field( 'name', $post_id ); $position = get_field( 'position' ) ? get_field( 'position' ) : get_field( 'position', $post_id ); $description = get_field( 'description' ) ? get_field( 'description' ) : get_field( 'description', $post_id ); $margin_class = theme_block_margin_class(); $bg_image = get_field( 'profile_background_image', 'option' ); $main_category = theme_get_main_term( 'person_category', $post_id ); if ( $main_category ) { $bg_image = get_field( 'background_image', $main_category ) ? get_field( 'background_image', $main_category ) : $bg_image; } $bg_image = get_field( 'profile_background_image' ) ? get_field( 'profile_background_image' ) : $bg_image; ?> <?php if ( is_admin() && ( !$image && !$bg_image && !$title && !$name && !$position && !$description ) ) : ?> <?php _e( 'This block contains no data yet. Please switch to edit mode and fill out the fields.', 'theme' ); ?> <?php else : ?> <section id="<?php echo sanitize_title( $id ); ?>" class="l-section u-bg-14 c-decor-media <?php echo $margin_class; ?>"> <div class="c-decor-media__wrapper c-decor-media__wrapper--1"<?php if ( $bg_image ) : ?> style="background-image: url(<?php echo isset( $bg_image['sizes']['hero'] ) ? esc_url( $bg_image['sizes']['hero'] ) : get_template_directory_uri() . '/static/img/personel.png'; ?>);"<?php endif; ?>> </div> <div class="l-inner"> <div class="c-heading u-gutter-top-30"> <h2 class="c-heading__title t-center u-paint-2"> <?php _e( 'Profil specjalisty', 'theme' ); ?> </h2> </div> <div class="l-inner-small"> <div class="c-specialist-box"> <div class="c-specialist-box__media"> <figure class="c-specialist-box__image-wrapper"> <?php if ( isset( $image['sizes']['profile'] ) ) : ?> <img src="<?php echo esc_url( $image['sizes']['profile'] ); ?>" alt="<?php echo esc_attr( $image['alt'] ); ?>"> <?php endif; ?> </figure> </div> <div class="c-specialist-box__title"> <p class="t-text-9 t-weight-light t-center"> <?php echo $title; ?> <?php echo $name; ?> </p> </div> <div class="c-specialist-box__role"> <p class="t-heading-2 t-weight-light t-center"> <?php echo $position; ?> </p> </div> <div class="c-specialist-box__action"> <div class="fb-like" data-href="<?php echo get_the_permalink(); ?>" data-width="60" data-layout="button" data-action="like" data-size="large" data-show-faces="false" data-share="false"> </div> </div> </div> </div> </div> </section> <?php endif;
Raw Text
-
etktueteuktuk
1 min ago
-
Untitled
3 min ago
-
No Deposit Bonus
9 min ago
-
Adult Telegram Channels
9 min ago
-
CP🍬🍭 VIDEO 😏 R@PED😈 LITTLE GIRL🍼👧💦💦
24 min ago
-
Cuckold licks pussy of his whore girlfriend and eats lover cum
29 min ago
-
asdcv basdvb asdf
35 min ago
-
Sex In Overdrive Maddy Black, Jennifer Mendez / Brazzers
59 min ago
-
Untitled
1 hour ago
-
Thai whore cheats on her boyfriend with the masseur
1 hour ago