Viewing 2 posts - 1 through 2 (of 2 total)
-
net3431Participant
I’m trying to work with this theme here: http://www.heartonthehill.com/
After my “Call To Action” I have a Sticky Post Custom Query with weird zeroes after them instead of nice excerpts.
I can’t get rid of byline entry-meta and nothing I do seems to alter it.
Is there any way to have post excerpts there instead of useless zeroes?
Daniel TaraKeymasterAdd this code to your child theme’s functions.php file:
function enlightenment_child_custom_query_widget_hooks( $query_name ) { if( 'custom_query_widget_list' == $query_name ) { remove_action( 'enlightenment_custom_before_entry', 'enlightenment_custom_query_widget_add_meta' ); remove_action( 'enlightenment_custom_entry_content', 'the_content' ); remove_action( 'enlightenment_custom_before_entry', 'enlightenment_custom_query_widget_content_switcher' ); add_action( 'enlightenment_custom_entry_content', 'the_excerpt' ); } } add_action( 'enlightenment_before_custom_loop', 'enlightenment_child_custom_query_widget_hooks', 12 );
Viewing 2 posts - 1 through 2 (of 2 total)
Tagged: Sticky Post Custom Query
You must be logged in to reply to this topic.