• 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

Carlo

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 - 141 through 150 (of 150 total)
← 1 2 3 … 6 7 8
  • Author
    Posts
  • January 10, 2015 at 5:59 am in reply to: Resizing Browser Window Cuts Off Header #136848
    Carlo
    Member

    Hi Benjamin. I hope I understand what you mean. try this code:

    .header-image .site-title>a {
    	background-size: contain;
    }

    Add it to the bottom of your theme stylesheet.


    Comprehensive, easy to follow Genesis documentation

    January 10, 2015 at 5:50 am in reply to: Adjust Text Box Border #136845
    Carlo
    Member

    Hi Patrycja. Try...

    #text-2 {
    	width: 60%;
    	float: right;
    }
    
    #text-2 .textHolderRight {
    	width: inherit;
    }

    Add the code to the bottom of your theme stylesheet.


    Comprehensive, easy to follow Genesis documentation

    January 10, 2015 at 5:44 am in reply to: Executive Pro theme: Contact Form in Post Excerpt on Slider #136844
    Carlo
    Member

    Hi Keirsten. Can you post a link to your site, so it's clearer what you need?


    Comprehensive, easy to follow Genesis documentation

    January 10, 2015 at 5:41 am in reply to: feature article as dynamic content on another site #136843
    Carlo
    Member

    Hi Aaron. That can definitely be done. You can use the RSS widget that is built into WordPress, and put it into a widget area on your static site (I assume it's a WordPress site).

    In the first text box in the widget configuration, enter your blog address with /feed/ at the end. Examples:

    http://yourblog.com/feed/, or
    https://yourblog.com/feed/, or
    http://www.yourblog.com/feed/, or
    https://www.yourblog.com/feed/

    You probably want to set it to display 1 item and display the item content.

    This will display your latest post from your blog as a widget on your static site.

    Or, do you want the latest post from your blog to appear as its own page on your static site? That's doable too, but it will take a bit of code. Let me know if that's what you want.


    Comprehensive, easy to follow Genesis documentation

    January 10, 2015 at 5:28 am in reply to: "Featured Image" for Homepage when Shared #136840
    Carlo
    Member

    You can have the meta tags only show on the front page. You'd use something like this:

    add_action( 'wp_head', function() {
    	if ( is_front_page() )
    		echo '<meta name="" content="">';
    } );

    Comprehensive, easy to follow Genesis documentation

    January 10, 2015 at 5:23 am in reply to: http error in WordPress 4.1 when uploading photos #136837
    Carlo
    Member

    Sometimes it can be your Internet connection blocking uploads. Are you on a public Internet connection?


    Comprehensive, easy to follow Genesis documentation

    January 10, 2015 at 5:13 am in reply to: genesis_title showing outside tag with Simple Hooks #136834
    Carlo
    Member

    I don't know why it says the hook executes between the title tags, because that's not how it works.

    However, you can replace the post title in your post editing screen under 'Custom Document Title'.

    Or, if you want to use a hook, you can use the wp_title hook like this, in your theme functions:

    add_filter( 'wp_title', function() {
    	return 'My Replaced Title';
    }, 20 );

    or if you want to keep the title but add content to it, this should work:

    add_filter( 'wp_title', function( $old_title ) {
    	return sprintf( 'My Old Title was %s', $old_title );
    }, 20 );

    Comprehensive, easy to follow Genesis documentation

    December 30, 2014 at 4:07 am in reply to: Execute actions inside shortcode #135651
    Carlo
    Member

    The reason it doesn't work is that you're hooking too late. The genesis_before_entry hook has already been and gone once your content is processed for shortcodes.

    You will need to use Advanced Custom Fields, create a text or wysiwyg field. Then in your theme functions you might have something like this:

    add_action( 'genesis_before_entry', function() {
      the_field( 'your_field_name' );
    } );

    Comprehensive, easy to follow Genesis documentation

    December 30, 2014 at 3:23 am in reply to: Same link works on sidebar but not on page #135649
    Carlo
    Member

    Sometimes that happens with custom post types. Get them to try doing a hard refresh, which is ctrl + F5.


    Comprehensive, easy to follow Genesis documentation

    December 16, 2014 at 12:59 am in reply to: How do I use Genesis functions in a plugin? #134652
    Carlo
    Member

    So my question stands. What is the ‘pro’ way to incorporate Genesis hooks and filters, etc., in a plugin.

    Great question. I recently encountered this problem myself.

    To be clear, we actually can use Genesis hooks and filters in a plugin, because the way actions and filters work is that the code doesn't get run until later on.

    What we can't use is Genesis functions, because plugin code is run before Genesis functions are defined.

    The solution is to wrap your function call in one of the appropriate actions or filters. The action after_setup_theme worked for me.

    example:

    add_action( 'after_setup_theme', function() {
    	genesis_register_layout();
    } );

    That way the code does not get run until after Genesis is setup.


    Comprehensive, easy to follow Genesis documentation

  • Author
    Posts
Viewing 10 posts - 141 through 150 (of 150 total)
← 1 2 3 … 6 7 8
« Previous Page

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