• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

eightcrazy

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →
  • Author
    Posts
  • June 23, 2016 at 12:27 am in reply to: Executive Pro Responsive Menu alignment #188094
    eightcrazy
    Member

    Awesome. Thank you. That did it.

    May 28, 2016 at 6:28 pm in reply to: Altitude Pro: Mjpeg as Background Image #186434
    eightcrazy
    Member

    Did you ever figure it out? I would like to do this as well.

    May 28, 2016 at 6:24 pm in reply to: Altitude Pro – Video Background #186433
    eightcrazy
    Member

    Can you share the code and where you added it please.

    February 19, 2016 at 3:19 am in reply to: Blog Text overflowing and creating new column in sidebar #179379
    eightcrazy
    Member

    I believe I figured it out. I had imported some posts from blogger.com and there was some code markup within the post. I deleted it, and I believe the problem is solved!

    February 19, 2016 at 3:14 am in reply to: Blog Text overflowing and creating new column in sidebar #179378
    eightcrazy
    Member

    I haven't touched the function.php code!

    <?php
    //* Start the engine
    require_once( get_template_directory() . '/lib/init.php' );
    
    //* Setup Theme
    include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );
    
    //* Set Localization (do not remove)
    load_child_theme_textdomain( 'executive', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'executive' ) );
    
    //* Child theme (do not remove)
    define( 'CHILD_THEME_NAME', __( 'Executive Pro Theme', 'executive' ) );
    define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/executive/' );
    define( 'CHILD_THEME_VERSION', '3.1.2' );
    
    //* Add HTML5 markup structure
    add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) );
    
    //* Add viewport meta tag for mobile browsers
    add_theme_support( 'genesis-responsive-viewport' );
    
    //* Enqueue Scripts
    add_action( 'wp_enqueue_scripts', 'executive_load_scripts' );
    function executive_load_scripts() {
    
    	wp_enqueue_script( 'executive-responsive-menu', get_bloginfo( 'stylesheet_directory' ) . '/js/responsive-menu.js', array( 'jquery' ), '1.0.0' );
    	
    	wp_enqueue_style( 'dashicons' );
    	
    	wp_enqueue_style( 'google-font', '//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700', array(), CHILD_THEME_VERSION );
    
    }
    
    //* Add new image sizes
    add_image_size( 'featured', 300, 100, TRUE );
    add_image_size( 'portfolio', 300, 200, TRUE );
    add_image_size( 'slider', 1140, 445, TRUE );
    
    //* Add support for custom background
    add_theme_support( 'custom-background' );
    
    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    	'width'           => 260,
    	'height'          => 100,
    	'header-selector' => '.site-title a',
    	'header-text'     => false
    ) );
    
    //* Add support for additional color style options
    add_theme_support( 'genesis-style-selector', array(
    	'executive-pro-brown'  => __( 'Executive Pro Brown', 'executive' ),
    	'executive-pro-green'  => __( 'Executive Pro Green', 'executive' ),
    	'executive-pro-orange' => __( 'Executive Pro Orange', 'executive' ),
    	'executive-pro-purple' => __( 'Executive Pro Purple', 'executive' ),
    	'executive-pro-red'    => __( 'Executive Pro Red', 'executive' ),
    	'executive-pro-teal'   => __( 'Executive Pro Teal', 'executive' ),
    ) );
    
    //* Unregister layout settings
    genesis_unregister_layout( 'content-sidebar-sidebar' );
    genesis_unregister_layout( 'sidebar-content-sidebar' );
    genesis_unregister_layout( 'sidebar-sidebar-content' );
    
    //* Unregister secondary sidebar
    unregister_sidebar( 'sidebar-alt' );
    
    //* Load Admin Stylesheet
    add_action( 'admin_enqueue_scripts', 'executive_load_admin_styles' );
    function executive_load_admin_styles() {
    
    	wp_register_style( 'custom_wp_admin_css', get_stylesheet_directory_uri() . '/lib/admin-style.css', false, '1.0.0' );
    	wp_enqueue_style( 'custom_wp_admin_css' );
    
    }
    
    //* Create Portfolio Type custom taxonomy
    add_action( 'init', 'executive_type_taxonomy' );
    function executive_type_taxonomy() {
    
    	register_taxonomy( 'portfolio-type', 'portfolio',
    		array(
    			'labels' => array(
    				'name'          => _x( 'Types', 'taxonomy general name', 'executive' ),
    				'add_new_item'  => __( 'Add New Portfolio Type', 'executive' ),
    				'new_item_name' => __( 'New Portfolio Type', 'executive' ),
    			),
    			'exclude_from_search' => true,
    			'has_archive'         => true,
    			'hierarchical'        => true,
    			'rewrite'             => array( 'slug' => 'portfolio-type', 'with_front' => false ),
    			'show_ui'             => true,
    			'show_tagcloud'       => false,
    		)
    	);
    
    }
    
    //* Create portfolio custom post type
    add_action( 'init', 'executive_portfolio_post_type' );
    function executive_portfolio_post_type() {
    
    	register_post_type( 'portfolio',
    		array(
    			'labels' => array(
    				'name'          => __( 'Portfolio', 'executive' ),
    				'singular_name' => __( 'Portfolio', 'executive' ),
    			),
    			'has_archive'  => true,
    			'hierarchical' => true,
    			'menu_icon'    => get_stylesheet_directory_uri() . '/lib/icons/portfolio.png',
    			'public'       => true,
    			'rewrite'      => array( 'slug' => 'portfolio', 'with_front' => false ),
    			'supports'     => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'genesis-seo', 'genesis-cpt-archives-settings' ),
    			'taxonomies'   => array( 'portfolio-type' ),
    
    		)
    	);
    	
    }
    
    //* Add Portfolio Type Taxonomy to columns
    add_filter( 'manage_taxonomies_for_portfolio_columns', 'executive_portfolio_columns' );
    function executive_portfolio_columns( $taxonomies ) {
    
        $taxonomies[] = 'portfolio-type';
        return $taxonomies;
    
    }
    
    //* Remove the site description
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
    
    //* Reposition the secondary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_footer', 'genesis_do_subnav', 7 );
    
    //* Reduce the secondary navigation menu to one level depth
    add_filter( 'wp_nav_menu_args', 'executive_secondary_menu_args' );
    function executive_secondary_menu_args( $args ){
    
    	if( 'secondary' != $args['theme_location'] )
    	return $args;
    
    	$args['depth'] = 1;
    	return $args;
    
    }
    
    //* Relocate the post info
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    add_action( 'genesis_entry_header', 'genesis_post_info', 5 );
    
    //* Change the number of portfolio items to be displayed (props Bill Erickson)
    add_action( 'pre_get_posts', 'executive_portfolio_items' );
    function executive_portfolio_items( $query ) {
    
    	if( $query->is_main_query() && !is_admin() && is_post_type_archive( 'portfolio' ) ) {
    		$query->set( 'posts_per_page', '12' );
    	}
    
    }
    
    //* Customize Portfolio post info and post meta
    add_filter( 'genesis_post_info', 'executive_portfolio_post_info_meta' );
    add_filter( 'genesis_post_meta', 'executive_portfolio_post_info_meta' );
    function executive_portfolio_post_info_meta( $output ) {
    
         if( 'portfolio' == get_post_type() )
            return '';
    
        return $output;
    
    }
    
    //* Remove comment form allowed tags
    add_filter( 'comment_form_defaults', 'executive_remove_comment_form_allowed_tags' );
    function executive_remove_comment_form_allowed_tags( $defaults ) {
    	
    	$defaults['comment_notes_after'] = '';
    	return $defaults;
    
    }
    
    //* Add support for 3-column footer widgets
    add_theme_support( 'genesis-footer-widgets', 3 );
    
    //* Add support for after entry widget
    add_theme_support( 'genesis-after-entry-widget-area' );
    
    //* Relocate after entry widget
    remove_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' );
    add_action( 'genesis_after_entry', 'genesis_after_entry_widget_area', 5 );
    
    //* Register widget areas
    genesis_register_sidebar( array(
    	'id'          => 'home-slider',
    	'name'        => __( 'Home - Slider', 'executive' ),
    	'description' => __( 'This is the slider section on the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    	'id'          => 'home-top',
    	'name'        => __( 'Home - Top', 'executive' ),
    	'description' => __( 'This is the top section of the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    	'id'          => 'home-cta',
    	'name'        => __( 'Home - Call To Action', 'executive' ),
    	'description' => __( 'This is the call to action section on the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    	'id'          => 'home-middle',
    	'name'        => __( 'Home - Middle', 'executive' ),
    	'description' => __( 'This is the middle section of the home page.', 'executive' ),
    ) );
    March 16, 2013 at 1:03 pm in reply to: Executive Theme Header Not Clickable #28252
    eightcrazy
    Member

    Thanks!  That did it!

    March 10, 2013 at 8:03 pm in reply to: Menu alignment #25384
    eightcrazy
    Member

    That was the answer.  Thanks!

    Better to use padding than margin.

    March 10, 2013 at 8:02 pm in reply to: Need Primary Menu & Header Alignment Help Quattro Theme #25383
    eightcrazy
    Member

    adopting rule!

    March 10, 2013 at 7:52 pm in reply to: Need Primary Menu & Header Alignment Help Quattro Theme #25380
    eightcrazy
    Member

    ahhh...  this seems to be the answer  http://www.studiopress.community/topic/modern-portfolio-menu-link-position/

    Guess it is a known issue/bug with Chrome right now

    March 10, 2013 at 7:15 pm in reply to: Need Primary Menu & Header Alignment Help Quattro Theme #25365
    eightcrazy
    Member

    I think I have a similar issue.  My non active menu items are dropping down as well...until it gets to a responsive width.  That's what yours does too.

    http://bgolaw.pro/

     

    But I'm using the Outreach theme, not Quattro.  I haven't figured it out yet either.  So I'd be curious to know what you come up with.

    March 4, 2013 at 9:43 pm in reply to: Responsive Scrolling / Missing Background #24263
    eightcrazy
    Member

    Hi EightCrazy!

    I hope you have not given up on Decor. I am seeking the same solution. I wonder if you have found an answer to your question about the header background disappearing for mobile viewers.

     

    Just to clarify...I'm not the theme developer.  This is a StudioPress theme.

    February 26, 2013 at 5:14 pm in reply to: Education Theme Logo Not Responsive #23000
    eightcrazy
    Member

    Are you referring to the fact that when you shrink the browser the uploaded header image goes off the screen to the left?  I'm having the same issue.

    January 30, 2013 at 6:46 pm in reply to: Photos not showing in posts #16592
    eightcrazy
    Member

    Thanks for taking the time to take a look.  I really appreciate it!  I actually found a line of php that was the culprit, and it looks like problem solved!

    January 30, 2013 at 1:23 pm in reply to: Photos not showing in posts #16456
    eightcrazy
    Member

    EVERY page and post!  ALL the thumbnails are displaying on the homepage, on the blog page, and on the archives.  But if you click on any page/post and view it individually, you cannot see any of the photos that are inserted into that post.

    December 18, 2012 at 8:44 pm in reply to: Category Thumbnail Grid Layout for Posts? #6069
    eightcrazy
    Member

    Try this:

    http://desperatelyseekingwp.com/2012/04/how-to-create-a-recipe-or-photo-index-in-genesis/

    December 11, 2012 at 7:21 pm in reply to: Customizing the Standard Loop #4599
    eightcrazy
    Member

    You will need to wright a new home.php to include the loop.

    Find info here:  http://my.studiopress.com/tutorials/genesis-grid-loop/

    December 11, 2012 at 12:15 am in reply to: Blissful – Header messed up in some browsers #4422
    eightcrazy
    Member

    looks good in chrome to me

    December 11, 2012 at 12:12 am in reply to: Help with Forum for Innov8tive Child Theme #4421
    eightcrazy
    Member

    This thread in the new forum should cover it for you:

    http://www.eightcrazydesigns.net/forums/topic/categories/

    December 11, 2012 at 12:11 am in reply to: Help with Forum for Innov8tive Child Theme #4420
    eightcrazy
    Member

    I don't see your question in the forum over at EightCrazy, I only saw your link to showcase your site.

    December 11, 2012 at 12:07 am in reply to: Customizing the Standard Loop #4419
    eightcrazy
    Member

    The "grid" appearance on this home page does not come from the loop.  It comes from featured posts in widget areas on the home page.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble