Title: Character Index
Last modified: October 9, 2020

---

# Character Index

 *  Resolved [JazzyB](https://wordpress.org/support/users/jazzyb/)
 * (@jazzyb)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/character-index/)
 * Is there a way to make the character index static so the A-Z listing shows all
   of the alphabet, even if there is no content there? Thank you! 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/character-index/#post-13514187)
 * Technically, yes, but requires custom coding. If this is something you can do,
   here is a little guidance to get you started.
 * You would remove the `cn_list_character_index` action like this:
 * `remove_action( 'cn_list_character_index', array( 'cnTemplatePart', 'index' ));`
   You might have to run this on the `plugins_loaded` hook.
 * You would then write your own action to run instead. You can very likely use 
   the existing code instead of writing from scratch. Here’s the link to the code:
    - [https://github.com/Connections-Business-Directory/Connections/blob/9.13/includes/template/class.template-parts.php#L1781-L1841](https://github.com/Connections-Business-Directory/Connections/blob/9.13/includes/template/class.template-parts.php#L1781-L1841)
 * You would want to replace this line specifically:
    - [https://github.com/Connections-Business-Directory/Connections/blob/9.13/includes/template/class.template-parts.php#L1796](https://github.com/Connections-Business-Directory/Connections/blob/9.13/includes/template/class.template-parts.php#L1796)
 * Set the `$characters` variable to an array of characters you want to be displayed
   as links.
 * I hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Character Index’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/connections_2b7e99.svg)
 * [Connections Business Directory](https://wordpress.org/plugins/connections/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connections/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connections/)
 * [Active Topics](https://wordpress.org/support/plugin/connections/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connections/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connections/reviews/)

## Tags

 * [plugins_loaded](https://wordpress.org/support/topic-tag/plugins_loaded/)
 * [remove_action](https://wordpress.org/support/topic-tag/remove_action/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/character-index/#post-13514187)
 * Status: resolved