• 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

AJD

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
  • October 14, 2017 at 9:37 pm in reply to: Forcing Full Width Content Stops Widget Area from Showing #212550
    AJD
    Member

    Hmmm... it looks like my post content got deleted.

    July 11, 2017 at 1:21 pm in reply to: Passing a Variable to a Function Hooked to Genesis Entry Content #208993
    AJD
    Member

    Update: This worked!

    if( $notice ) {
    
        remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    
        add_action ( 'genesis_entry_content', function() use ($notice) {
            echo $notice;
        }, 5 );
    
    }
    June 9, 2017 at 8:18 pm in reply to: How to disable the responsive menu in the footer #207535
    AJD
    Member

    Edit: It is The Winning Agent Theme, I had thought it was the Sample Theme. I'll go over to their support.

    June 30, 2016 at 9:05 am in reply to: Filter [post_categories] / [post_terms] shortcodes to exclude categories #188666
    AJD
    Member

    Hi, I landed up creating a customized get_the_terms_list() function to use in a custom post_info shortcode. (For the custom taxonomy)

    Cheers!

    June 30, 2016 at 7:18 am in reply to: Filter [post_categories] / [post_terms] shortcodes to exclude categories #188643
    AJD
    Member

    Hi, Thanks,
    I did find the code and filter, however am at a loss of how to proceed from there.

    June 7, 2016 at 8:28 pm in reply to: Filter post format in loop and link the title to an external site. #187136
    AJD
    Member

    EDITED: Added working icon using font awesome.

    I figured out how to filter the title and add my custom link, however now because I am using genesis post format images, the link image still has the old link... need to figure out how to filter it.
    There were a couple other errors: is_post_format() should be has_post_format().

    Then I needed to hook the filter into the genesis_header action.

    
    //* Add post format images - Instead of using post format images, added font-awesome icon in the title. 
    //add_theme_support( 'genesis-post-format-images' );
    
    //Filter the Link Post Title to add the custom link
    
    function link_post_format_title_filter() {
    	
    	if (has_post_format('link')){
    		
    		function aamet_post_title_output( $title ) {
    			
    				$title = '
    <h1 class="entry-title"><i class="fa fa-external-link" aria-hidden="true"></i><a href="' . get_field('link_to_external_site_or_video') .'"  target="_blank" title=" ' . get_the_title() .'"> ' . get_the_title() . '</a></h1>';
    		
    			return $title;
    			
    		}
    		add_filter( 'genesis_post_title_output', 'aamet_post_title_output', 15 );
    	}
    }
    add_action('genesis_header', 'link_post_format_title_filter');
    June 7, 2016 at 8:09 pm in reply to: Filter post format in loop and link the title to an external site. #187132
    AJD
    Member

    Thanks!
    The other thing that I haven't figured out is where or how to apply that snippet to filter the output of the loop.

    I think it may need two filters:

    genesis_post_title_output, or genesis_post_title_text

    This one to set the new link on the title.

    and

    genesis_custom_loop_args

    July 26, 2015 at 2:54 pm in reply to: How to set the featured image size on a custom post type archive #160516
    AJD
    Member

    Excellent, worked great! Thank yoU!

  • 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

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