The A-Z Listing Search and Replace extension will augment the A-Z Listing plugin to provide two additional attributes on the
shortcode. Use the shortcode as normal, and optionally provide the additional
Additional Attributes on the Shortcode
searchOptionally tells the extension what text to find in the titles of your listing’s items. The value will be parsed as a regular expression using the
preg_replaceformat from PHP (do not include the delimiters, usually
/characters, at the start and end of the expression). Anything the pattern matches will be replaced with the value of
replaceOptionally tells the extension what value to replace the matched text from
search. It defaults to empty string meaning remove the matches from the titles entirely. However, it can take any text value.
case-sensitive-searchOptionally tells the plugin to match the
searchterms exactly, where upper case and lower case are different values. This option can be set to either
offand defaults to being disabled meaning that the search is case-insensitive.
Remove “WordPress” from the titles
Note that when removing text you do not need to specify a
replace value as the default is an empty string.