Exclude certain part of title
-
First, thank you for this plugin! It is really handy ??
I was wondering if it is possible to not show a certain part of a title. The example I have in mind is the following:
<h2>Very nice and good title <small>version 2</small></h2>
I do not want to show the small part in the table of contents.
I did look in the code, but there doesn’t seem to be a filter where I can hook in and hide it myself. So my question is if it would be possible to add a filter that would be called on every item’s text.
In my example, the filter would recieve “Very nice and good title <small>version 2</small>”, and then I can return “Very nice and good title”.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Exclude certain part of title’ is closed to new replies.