Skip to content

Instantly share code, notes, and snippets.

@mono96
Created December 7, 2019 07:24
Show Gist options
  • Save mono96/04d1838c6037864bb5c5f72c985a1c94 to your computer and use it in GitHub Desktop.
Save mono96/04d1838c6037864bb5c5f72c985a1c94 to your computer and use it in GitHub Desktop.
// summary を読み込みさせない
add_filter(
'snow_monkey_get_template_part_template-parts/loop/entry-summary/content/content',
function( $name, $vars ) {
?>
<div class="my-summary">
</div>
<?php
},
10,
2
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment