• 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

staceychurch

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 40 total)
1 2 →
  • Author
    Posts
  • April 19, 2022 at 3:45 am in reply to: Genesis Simple Sidebars #505048
    staceychurch
    Participant

    If you have any response would you mind posting here or letting me know please.

    Genesis Simple Social Icons is another one I'm not sure about.

    January 28, 2020 at 9:53 am in reply to: How to set different colors for page specific nav menu #496272
    staceychurch
    Participant

    Thank you Anita.
    This worked!

    October 11, 2019 at 2:09 am in reply to: mobile menu in Business Pro #493959
    staceychurch
    Participant

    Ah OK, thank you.

    I'll contact direct.

    June 25, 2019 at 3:00 am in reply to: Gallery Pro Front Page 4 widget area #491902
    staceychurch
    Participant

    Thanks Anita.
    You should be able to see this on the 3rd widget area.

    "Worthing Steel Band Repertoire 2019 Songs to make you smile! " this seems to be pulled in from the image.

    March 4, 2019 at 3:05 am in reply to: Corporate Pro and Slider image settings #489806
    staceychurch
    Participant

    Hi Brian,

    No I havent found an resolution yet. I have simply been tinkering with resizing the images to try and make them fit.
    I'm not adding any more slides at the moment to this project, but I will do eventually so this is something I would like to find a fix for.
    @thecre8tivediva has offered a suggestion to this thread so this is something I'll look into.

    If you find a fix please let me know!

    April 18, 2018 at 9:01 am in reply to: Infinity Pro Theme-Team profiles #219074
    staceychurch
    Participant

    Perfect!
    Thanks Brad.

    November 21, 2016 at 4:52 am in reply to: How to remove Primary sidebar on caetory pages only #196408
    staceychurch
    Participant

    I have taken the easiest way and changing the page layout for each category page rather than coding the functions.php page.
    This doesn't appear to work. The page I have amended still displays the Primary sidebar and drops it down the page.
    http://angmeringframing.com/test/product-category/art/

    Not sure I am confident enough with coding the functions.php with conditional tags. I am assuming that both these do the same thing anyway or is this likely to work if I add the relevant code?

    Thanks

    September 8, 2016 at 2:30 am in reply to: Genesis Connect and product gallery 3 Column layout #192808
    staceychurch
    Participant

    Still cant seem to get this to work.
    Can any one shed any light?

    August 26, 2016 at 4:53 am in reply to: Genesis Connect and product gallery 3 Column layout #192068
    staceychurch
    Participant

    Thank you for this.
    Apologies i thought it might be Genesis connect that determined the row layout.

    March 31, 2016 at 8:40 am in reply to: Child theme advice required #182588
    staceychurch
    Participant

    Just had a though maybe the genesis framework with a basic child theme might work.

    Just need to centre the logo/header

    ??

    March 31, 2016 at 8:20 am in reply to: custom menu will not float on Products page #182585
    staceychurch
    Participant

    Thanks for this Doug. I'll give it a try

    February 15, 2016 at 9:28 am in reply to: How to increase number of Testimonials displayed on page #179078
    staceychurch
    Participant

    <?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' => 500,
    'height' => 160,
    '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' ),
    ) );

    include_once( get_stylesheet_directory() . '/genesis-cpt-featured-posts.php' );

    add_action( 'widgets_init', 'wpsites_custom_widget_init' );
    function wpsites_custom_widget_init() {
    register_widget('Genesis_Post');
    }
    //* Do NOT include the opening php tag
    //* Customize the credits
    add_filter( 'genesis_footer_creds_text', 'sp_footer_creds_text' );
    function sp_footer_creds_text() {
    echo '<div class="creds"><p>';
    echo 'Copyright © ';
    echo date('Y');
    echo ' · Limepixel · ';
    echo '</p></div>';
    }
    //* Create Custom Post Type
    add_action( 'init', 'add_custom_post_type' );
    function add_custom_post_type() {

    register_post_type( 'testimonials',
    array(
    'labels' => array(
    'name' => __( 'Testimonials', 'wpsites' ),
    'singular_name' => __( 'Testimonial', 'wpsites' ),
    ),
    'has_archive' => true,
    'hierarchical' => true,
    'menu_icon' => 'dashicons-admin-users',
    'public' => true,
    'rewrite' => array( 'slug' => 'testimonials', 'with_front' => false ),
    'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes' ),
    'taxonomies' => array( 'testimonial-type' ),
    'menu_position' => 2,

    ));

    }

    February 15, 2016 at 4:43 am in reply to: How to increase number of Testimonials displayed on page #179061
    staceychurch
    Participant

    Thanks Victor for taking the time to look at this for me.

    Both selections of code give me this error

    Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /home/physio4k/public_html_dev/wp-content/themes/executive-pro/functions.php on line 257

    Any ideas of what I'm doing wrong?

    Thanks

    January 22, 2016 at 9:02 am in reply to: Help with Minimum Pro #177177
    staceychurch
    Participant

    Added this to media queries


    @media
    only screen and (max-width: 320px) {
    .site-title a{
    background: url("http://hhpetservices.co.uk/wp-content/uploads/2016/01/HappyHound_Logo-mobile.jpeg");

    }
    This is a smaller image width 250px.

    Still no joy with this. Can anyone spot what I'm doing wrong?

    January 18, 2016 at 5:37 am in reply to: How to remove a footer widget area in Agency Pro #176847
    staceychurch
    Participant

    Thanks Victor.

    You mean comment out this bit of CSS under Footer Widgets

    */
    .footer-widgets-1,
    .footer-widgets-3 {
    width: 350px;
    }

    .footer-widgets-2 {
    width: 360px;
    }

    .footer-widgets-1 {
    margin-right: 40px;
    }

    .footer-widgets-1,
    .footer-widgets-2 {
    float: left;
    }

    .footer-widgets-3 {
    float: right;
    }
    /*

    November 19, 2015 at 3:03 am in reply to: Client doesn't want a dropdown menu, any suggestions please? #171500
    staceychurch
    Participant

    Thank you.
    This looks like what I need.

    September 30, 2015 at 8:37 am in reply to: add a 4 column home widget area in Executive Pro #167046
    staceychurch
    Participant

    Thank you.

    I see my mistake now. I was adding the css to the bottom of stylesheet instead of replacing the existing code.

    Resolved.

    September 29, 2015 at 2:13 am in reply to: add a 4 column home widget area in Executive Pro #166915
    staceychurch
    Participant

    It is there;
    .home-middle .widget,
    .home-top .widget {
    float: left;
    width: 25%;
    padding:0;
    margin:0;
    }
    .home-middle .widget:nth-of-type(4n+1),
    .home-top .widget:nth-of-type(4n+1) {
    float: left;
    }

    I have been tinkering with the code so you may have viewed it whilst I was adjusting.

    I am still getting lots of rows with 3 across. I cannot seem to get 4 across. I have adjusted the width of the images, tried using thumbnails as well as featured images-still no luck.

    Any advice please?

    September 28, 2015 at 5:47 am in reply to: add a 4 column home widget area in Executive Pro #166831
    staceychurch
    Participant

    Thanks for your help Victor but this does not work.
    Would you mind checking what I'm doing wrong please?

    I am hoping to get 2 rows of 4

    http://77.92.83.148/

    September 14, 2015 at 6:13 am in reply to: themes with full width images on all pages #165400
    staceychurch
    Participant

    Thanks for your quick reply Victor.

    What I really need is the height of the image to be around 300px high.
    Can I do this simply with CSS? I don't need to change anything in the functions.php file then??

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 40 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

© 2023 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