• 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

sbrody

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 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • July 2, 2019 at 9:24 am in reply to: Genesis Framework 3.0.0 templates removed #492083
    sbrody
    Member

    @Anita - I want to create a template just for category pages - I have a separate one for my blog listing page. It looks like category.php will do the trick

    July 2, 2019 at 9:13 am in reply to: Genesis Framework 3.0.0 templates removed #492081
    sbrody
    Member

    Ah brilliant thanks - I was chasing round for a special Genesis way of doing things!

    July 2, 2019 at 6:55 am in reply to: Genesis Framework 3.0.0 templates removed #492076
    sbrody
    Member

    Hi Anita
    I've created a page_archive.php for my category pages and placed it in the genesis-sample root folder but it's not being picked up at all... I've got the latest version of genesis-sample and genesis framework - do you have any idea what might be going wrong?
    Thanks

    August 11, 2015 at 10:37 am in reply to: Features images on posts and text on blog page #162039
    sbrody
    Member

    Well, this has been a useful learning experience!
    Thanks again.

    August 3, 2015 at 5:52 am in reply to: Features images on posts and text on blog page #161232
    sbrody
    Member

    Thanks for your suggestions and help Lee and Marcy.
    I deactivated all my plugins but that didn't work.
    I then went through all the elements in the Genesis Sample functions.php and found this element was the crucial one:

    //* Add HTML5 markup structure
    add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );

    Once I added this, the images now appear.

    I'm not sure I quite understand why html5 support is needed to load a featured image but I'm pleased I've found the solution!

    Thanks again

    July 31, 2015 at 11:47 am in reply to: Features images on posts and text on blog page #161084
    sbrody
    Member

    Ok - I have activated Genesis Sample Theme and the images appear - so it must be something to do with the child theme I created... I've gone back to the child theme functions.php and stripped it back so it just contains this - is there anything obviously wrong with it?

    <?php
    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles',1 );
    function enqueue_parent_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }

    add_action( 'genesis_entry_header', 'custom_single_featured_image', 7 );
    function custom_single_featured_image() {

    if ( is_singular(array( 'post', 'page' ) ) && has_post_thumbnail() ) {

    // Use featured image at kqp-page-image-size for blog
    echo genesis_image( array(
    'size' => 'large',
    'attr' => array(
    'class' => 'aligncenter entry-image' ) ) );
    }
    }

    July 31, 2015 at 10:30 am in reply to: Features images on posts and text on blog page #161077
    sbrody
    Member

    I've tried both of those pieces of code and neither worked - I'm now working on this site btw http://simtest.uk/blogging/why-do-you-practice/
    Thanks

    July 31, 2015 at 9:57 am in reply to: Features images on posts and text on blog page #161067
    sbrody
    Member

    Do you mean on the blog listing page or on individual blog posts? I'm still not seeing them on individual pages.
    Thanks
    Sim

    July 31, 2015 at 9:38 am in reply to: Features images on posts and text on blog page #161061
    sbrody
    Member

    Thanks again for your help.

    Unfortunately, images are still not appearing on either posts or pages - I've tried both versions of the code.

    It's left me scratching my head. I'm wondering if a plugin or other setting might be affecting it - although I only have a few very standard plugins in use.

    July 26, 2015 at 5:13 am in reply to: Features images on posts and text on blog page #160484
    sbrody
    Member

    Thanks for your help Marcy.

    The content on the blog page now works correctly.

    Unfortunately the blog post images are still not appearing - I can see no logical reason why not. I'm pretty new to Genesis but it's frustrating that it is so difficult to do something so basic. Perhaps it's not for me!

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