• Skip to main content
  • Skip to footer

BCWEEKES

Thoughts, Theory, and other such Ramblings

  • Thoughts
    • Focusing on Best
    • PhD Experience
      • USU ASTE 6470 Digital Tools for Learning
  • Speaking
  • About Me
  • Contact Me

Brandon

Image hover effects

Filed Under: 100 Projects

Building Gutenberg Blocks with ACF

Register Block in functions.php

/**
 * Register Blocks
 * @link https://bcweekes.com
 *
 */
function be_register_blocks() {
	
	if( ! function_exists( 'acf_register_block_type' ) )
		return;

	acf_register_block_type( array(
		'name'			=> 'team-member',
		'title'			=> __( 'Team Member', 'clientname' ),
		'render_template'	=> '/block-team-member.php',
		'category'		=> 'formatting',
		'icon'			=> 'admin-users',
		'mode'			=> 'auto',
		'keywords'		=> array( 'profile', 'user', 'author' )
	));

}
add_action('acf/init', 'be_register_blocks' );

Advanced Custom Field Pro

PHP File

<?php
/**
 * Team Member block
 *
 * @package      TeamMember
 * @author       Brandon Weekes
 * @since        1.0.0
 * @license      GPL-2.0+
**/

$name = get_field( 'name' );
$title = get_field( 'title' );
$photo = get_field( 'photo' );
$description = get_field( 'description' );


echo '<div class="team-member">';
	echo '<div class="team-member--header">';
		echo '<div class="team-member-column-1">';
		if( !empty( $photo ) )
			echo wp_get_attachment_image( $photo['ID'], 'thumbnail', null, array( 'class' => 'team-member--avatar' ) );
				echo '</div>';
		echo '<div class="team-member-column-2">';
		if( !empty( $name ) )
			echo '<h4>' . esc_html( $name ) . '</h4>';
		if( !empty( $title ) )
			echo '<h6 class="alt">' . esc_html( $title ) . '</h6>';
		if( !empty( $description ) )
			echo '<p class="alt">' . esc_html( $description ) . '</p>';
		echo '</div>';
		echo '</div>';
echo '</div>';

Team Member Bio

Brandon Weekes

Strategy Geek

What can I say… I love strategy. I assist organizations in defining why they do what they do and how they do it. I create a strategy to achieve organizational goals and objectives. I develop tactics to make success possible. As a strategist, I analyze aspects of the business from operations to marketing finding ways to improve and opportunities to capitalize.

CSS Code

/* CSS code snippet */

.team-member {
	background-color: #9AB977;
	margin-bottom: 75px;
	padding: 30px;
}

.team-member h4 {
	font-size: 3.2rem;
	margin-top: 0;
	margin-bottom: 10px;
	color: #fff;
}

.team-member h6 {
	color: #fff;
}

.team-member img {
	width: 200px;
}

.team-member--content {
	margin-bottom: 30px;
		font-size: 2.2rem;
		color: #fff;
}

.team-member-column-1 {
	width:25%;
	float: left;
}

.team-member-column-2 {
	width:75%;
	float: left;
}

Filed Under: 100 Projects

Buttons Animation

Animated Button
Animated Button

Filed Under: 100 Projects

Text CSS

Spinning Text

Keyframes Animation

Text move in left…

Filed Under: 100 Projects

Spinning Graphic

Filed Under: 100 Projects

3D Model Implementations

Simply using this page to test implementing 3D model gifs for client website. Simple task… all done through inserting media; but still just something I had not really done yet.

3D Geometry GIF by xponentialdesign - Find & Share on GIPHY
Credit for design to @xponentialdesign
Credit for design to colecciondegifs

Filed Under: 100 Projects

Advanced excel, SQL, & tableau course


Pivot tables, pivot charts, slicers, goal seek and solver
Statistics: descriptive statistics, and simple linear regression.

Filed Under: Data Analytics

Website design and development YouKnowStyrene

Completed the design and development of YouKnowStyrene.org.

Filed Under: 100 Projects

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Footer

Twitter | Instagram | LinkedIn

#focusingonbest

#creatingexpertise

Faith

As a member of the Church of Jesus Christ of Latter-day Saints, I will discuss matters of belief, faith, prayer, fasting, obedience, and more. To learn more about God, Jesus Christ, the Holy Ghost, the Atonement, Repentence, and Forgiveness the Church of Jesus Christ is an excellent resource.

Copyright © 2022 · @BCWeekes