Forum Replies Created
-
AuthorPosts
-
October 14, 2017 at 9:37 pm in reply to: Forcing Full Width Content Stops Widget Area from Showing #212550AJDMember
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 #208993AJDMemberUpdate: This worked!
if( $notice ) { remove_action( 'genesis_entry_content', 'genesis_do_post_content' ); add_action ( 'genesis_entry_content', function() use ($notice) { echo $notice; }, 5 ); }
AJDMemberEdit: 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 #188666AJDMemberHi, 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 #188643AJDMemberHi, 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. #187136AJDMemberEDITED: 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. #187132AJDMemberThanks!
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 #160516AJDMemberExcellent, worked great! Thank yoU!
-
AuthorPosts