• 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

erinholmes

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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 22, 2016 at 11:34 am in reply to: WordPress Website Hosting? #191801
    erinholmes
    Member

    Victor,

    Are you having any issues with Siteground right now by any chance? Literally, out of nowhere, I cannot get the Genesis Framework to work. It keeps giving me this error no matter what theme I use:

    Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings::__construct() must be an instance of stdClass, instance of WP_Post_Type given, called in /home/kickst72/public_html/wp-content/themes/genesis/lib/admin/menu.php on line 122 and defined in /home/kickst72/public_html/wp-content/themes/genesis/lib/admin/cpt-archive-settings.php on line 38

    Check your site---it seems to "look" okay, until you log into the backend, and then the issue reveals itself. I've contacted Genesis support. Not sure whats going on here. I didn't do anything that should have caused this, so I'm thinking it may be an incompatibility with siteground.

    July 21, 2016 at 9:09 am in reply to: How to edit functions.php to remove featured image above the entry content? #189908
    erinholmes
    Member

    Nevermind. I'm back to square one. Commenting this all out really messes with the homepage. The way entry posts are set up on the majority of these studiopress themes seems sort of backwards. I'm not sure why displaying entry posts on pages is necessary.

    July 21, 2016 at 9:06 am in reply to: How to edit functions.php to remove featured image above the entry content? #189906
    erinholmes
    Member

    I commented this all out, and it removes the entry image on pages and posts. However, is there a way to edit this so that entry images show "only" on posts, and not pages?

    //* Add featured image above the entry content
    //add_action( 'genesis_entry_header', 'aspire_featured_photo', 5 );
    //function aspire_featured_photo() {

    //if ( is_attachment() || ! genesis_get_option( 'content_archive_thumbnail' ) )
    return;

    //if ( is_singular() && $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
    printf( '<div class="featured-image">%s</div>', $image, the_title_attribute( 'echo=0' ) );
    //}

    //}

    July 21, 2016 at 8:42 am in reply to: How to edit functions.php to remove featured image above the entry content? #189904
    erinholmes
    Member

    I think the solution involves removing the entry image from displaying on pages. On posts it looks/works just fine.

    July 21, 2016 at 8:23 am in reply to: How to edit functions.php to remove featured image above the entry content? #189901
    erinholmes
    Member

    This solution seems to put the image at the end of the pages and posts. Could someone pinpoint the issue. I'm not comfortable with php. Here is the code:

    //* Add the featured image after post title
    add_action( 'genesis_entry_content', 'aspire_featured_photo' );
    function aspire_featured_photo() {

    if ( is_attachment() || ! genesis_get_option( 'content_archive_thumbnail' ) )
    return;

    if ( is_singular() && $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
    printf( '<div class="featured-image">%s</div>', $image, the_title_attribute( 'echo=0' ) );
    }

    }

    July 16, 2015 at 6:02 pm in reply to: Need to hire an expert #159608
    erinholmes
    Member

    I think I'm going to use the "NextEnd Accordion Menu" plugin. I just realized I can't get the current sidebar to perform the functions I want.

    July 16, 2015 at 1:00 pm in reply to: Need to hire an expert #159592
    erinholmes
    Member

    The sidebar is at http://iraservicestrust.com/about-real-estate-iras

    And this is the style css used for it: (and I can't seem to find anything in functions.php file that wasn't already there.

    /* Sidebar custom menu widget expand collapse
    ---------------------------------------------------------------------------- */

    .sidebar .widget_nav_menu li > a {
    display: block;
    /*background: #787a4d;
    color: #fff;
    padding: 10px;*/
    position: relative;
    }

    .sidebar .widget_nav_menu li.menu-item-has-children > a a:after {
    content: "\f347";
    font: normal 15px/1 'dashicons';
    position: absolute;
    right: 10px;
    top: 5px;

    /*background-image: url(images/has-children.png);
    background-position: right 50%;
    background-repeat: no-repeat;*/
    }

    .sidebar .widget_nav_menu li.menu-item-has-children > a.open a:after {
    content: "\f343";

    /*background-image: url(images/has-children-on.png);*/
    }

    .sidebar .widget_nav_menu li > a a {
    display: block;
    /*color: #fff;*/
    }

    .sidebar .widget_nav_menu li.menu-item-has-children li {
    margin-top: 10px;
    }

    .sidebar .widget_nav_menu li.current-menu-item a {
    color: #ffb81c;
    }

    /*

    December 26, 2013 at 10:48 am in reply to: Removing and Editing Footer #81270
    erinholmes
    Member

    Thanks! The genesis widgitized footer does not seem to work for this theme. Or what I think happened is the credits appear in the same color as the background, so you can't see them.

    Your custom plugin worked great. Just uploaded it! http://www.kickstartupmarketing.com

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)

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