culturepop wordcamp

3 downloads 138 Views 8MB Size Report
Been Designing sites since 1996. • Runs an independent ... WP Featured Image. Category, Title ... https://wordpress.or
Anatomy of a Website: CulturePop Adam Bell

Who am I?

Adam Bell Been Designing sites since 1996 Runs an independent design studio in the Valley CEO, Graphic Design, Social Media, Marketing Worked with Ford Motor Company, Amblin, Tender
 Greens, Linkin Park, Caurso Affiliated, Ovation TV • http://] { color: #666; border: 3px solid #646464; border-radius: 20px; background-position: right 24px center; background-image: url('search.gif'); background-repeat: no-repeat; outline: none; }

http://fontawesome.io/

UH, OH…. Now we’re going to get into….

CODE!!!

jQuery(document).ready(function() { var stickyNavTop = jQuery('.main-navigation').offset().top; var stickyNav = function(){ var scrollTop = jQuery(window).scrollTop(); if (scrollTop > stickyNavTop) { jQuery('.main-navigation').addClass('sticky'); } else { jQuery('.main-navigation').removeClass('sticky'); } }; stickyNav(); jQuery(window).scroll(function() { stickyNav(); }); });

THE CONTENT

SMARTSLIDER (smartslider3.com)

https://wordpress.org/plugins/multiple-post-thumbnails/

CUSTOM POST TYPES

https://wordpress.org/plugins/types/ https://wp-types.com/

Toolset Types is FREE Toolset Views is $149/$299

// Set UI labels for Filn and TV Custom Post Type $labels_film = array( 'name' => _x( 'Film / TV', 'Post Type General Name', 'ladobe' ), 'singular_name' => _x( 'Film / TV', 'Post Type Singular Name', 'ladobe' ), 'menu_name' => __( 'Film / TV', 'ladobe' ), 'parent_item_colon' => __( 'Parent Film / TV', 'ladobe' ), 'all_items' => __( 'All Film / TV', 'ladobe' ), 'view_item' => __( 'View Film / TV', 'ladobe' ), 'add_new_item' => __( 'Add New Film / TV', 'ladobe' ), 'add_new' => __( 'Add New', 'ladobe' ), 'edit_item' => __( 'Edit Film / TV', 'ladobe' ), 'update_item' => __( 'Update Film / TV', 'ladobe' ), 'search_items' => __( 'Search Film / TV', 'ladobe' ), 'not_found' => __( 'Not Found', 'ladobe' ), 'not_found_in_trash' => __( 'Not found in Trash', 'ladobe' ), );

// Set other options for Filn and TV Custom Post Type $args_film = array( 'label' => __( 'Film / TV', 'ladobe' ), 'description' => __( 'Film / TV News', 'ladobe' ), 'labels' => $labels_film, 'supports' => array( 'title', 'editor', 'excerpt', 'author' ), 'taxonomies' => array( 'genres' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 30, 'menu_icon' => 'dashicons-tickets-alt', 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', 'taxonomies' => array('post_tag'), );

// Registering your Custom Post Type register_post_type('film', $args_film); register_taxonomy_for_object_type(‘category','film'); /* Hook into the 'init' action so that the function * Containing our post type registration is not * unnecessarily executed. */ add_action( 'init', 'custom_post_type', 1 ); add_filter( 'pre_get_posts', 'my_get_posts' ); function my_get_posts( $query ) { if ( is_home() && $query->is_main_query() ) $query->set( 'post_type', array( 'food', 'film', 'music', 'art', 'fashion ) ); return $query; }

http://connekthq.com/plugins/ajax-load-more/

http://disqus.com/

SIDEBAR

PLUGINS

https://wordpress.org/plugins/accesspress-pinterest/

https://wordpress.org/plugins/ wordpress-popular-posts/

http://wordpress.stackexchange.com/a/187599/26350

AD ROTATE

(https://ajdg.solutions/products/adrotate-for-wordpress/)

https://wordpress.org/plugins/ enjoy-instagram-instagram-responsive-images-gallery-and-carousel/ http://www.mediabeta.com/enjoy-instagram/

http://www.elegantthemes.com/plugins/monarch/

http://www.elegantthemes.com/plugins/bloom/

WP ROCKET (http://wp-rocket.me/)

SECURITY

SECURITY (FREE OPTIONS)

https://www.wordfence.com/

https://ithemes.com/security/

SECURITY (PAY OPTIONS)

https://www.sucuri.net/

https://sitelock.com/

Want More?

https://t.co/19aBznHjv4 datatv.com [email protected] @datatv