Archived topic
FR: Override default Sections ID
5 replies · Started by Branislav Pakic on January 15, 2017
I'd like to be able to override the default IDs in Sections.
E.G. the ID would be id="about-us" instead of id="generate-section-5".
So, if I rearrange the sections the ID wouldn't change.
If possible, I'd like to have an ID box, like for custom classes.
Cheers!
Hi there,
That is currently not possible but it's in the works :) This post provides an alternative method for now: https://generatepress.com/forums/topic/id-of-section/#post-252775
Hope this helps!
Thanks, that's great news!
I'm currently using anchors in the text editor. It works though it's not 100% ideal for what I need, but it's great to hear that this feature is already being worked on.
BTW I didn't find that thread in my search before I posted my question (I still can't), sorry for asking the same question as Radim.
Not a problem - that's what we are here for!
Sometimes Google search (question + generatepress) is better than search within the forum :)
Just chiming in to let you guys know I just added a custom ID field to Sections for the next release :)
Awesome!