Summary Block Author Filter

Description

05.26c28v7 Summary Block Author Filter

#1. Install Code

#1.1. Make sure you added Summary Block – Grid design

05.26c28v6 Summary Block Blog Filter

#1.2. Make sure you enabled Metadata Author

05.26c28v7 Summary Block Author Filter

#1.3. Hover on top right of section > Click EDIT SECTION

05.26c28v6 Summary Block Blog Filter

at Design > Anchor Link > enter word: summary-author-filter

05.26c28v7 Summary Block Author Filter

#1.4. Hover on Page where you use Summary Block > Click Gear icon

05.26c28v6 Summary Block Blog Filter

Click Advanced > Paste this code

  • If you use Personal Plan/Basic Plan and your plan doesn’t support Injection, you can see #3.1.
<!-- 05.26c28v6 Summary Block Author Filter -->
<script>
window.SummaryAuthorFilterConfig = {
  allLabel: 'All',
  authorsLabel: '',
  filterBarSelector: 'section[id*="summary-author-filter"]',
  divider: '/',
  activeColor: 'transparent',
  activeTextColor: '#000',
  inactiveColor: 'transparent',
  inactiveTextColor: '#000',
  fontSize: '13px',
  gap: '8px',
  marginBottom: '24px',
  hideMetadata: true,
};
</script>
<script src="https://code.beaverhero.com/summaryblock/0526c28v7summaryblockauthorfilter.js">
</script>

05.26c28v7 Summary Block Author Filter

#2. Customize

#2.1. To rename text “All”, you can change Line 04

allLabel: 'All',

#2.2. To change divider “/” to another symbol, change Line 07

divider: '/',

#2.3. To change Filter Active Link color (when selected), change Line 09

activeTextColor: '#000',

#2.4. To change gap between Filter Links, change Line 13

gap: '8px',

#3. Other

#3.1. If you use Personal Plan/Basic Plan and your plan doesn’t support Injection, you can add a block under Summary Block

05.26c16v1 Hover Text Show Image Follow Cursor

Choose Markdown

04.26c10v2 Header Sound Icon

Add this code into Markdown

<script>
window.SummaryAuthorFilterConfig = {
  allLabel: 'All',
  authorsLabel: '',
  filterBarSelector: 'section[id*="summary-author-filter"]',
  divider: '/',
  activeColor: 'transparent',
  activeTextColor: '#000',
  inactiveColor: 'transparent',
  inactiveTextColor: '#000',
  fontSize: '13px',
  gap: '8px',
  marginBottom: '24px',
  hideMetadata: true,
};
</script>
<script src="https://code.beaverhero.com/summaryblock/0526c28v7summaryblockauthorfilter.js">
</script>

05.26c28v7 Summary Block Author Filter

Buy me a coffee