[GH-ISSUE #1805] setCustomBodyHeader not working? #1520

Closed
opened 2026-02-28 01:30:23 +03:00 by kerem · 2 comments
Owner

Originally created by @MYCAMEL222 on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1805

I am new to WM, but have somewhat figured my way around it. Great Library!

using tag 2.0.17 (latest).

I am trying to use setCustomBodyHeader. setCustomBodyFooter is not working either.

I get this error....Compilation error: 'class WiFiManager' has no member named 'setCustomBodyHeader'; did you mean 'setCustomHeadElement'?

setCustomHeadElement works fine.......

wm.setCustomHeadElement("");

What am I missing?

Originally created by @MYCAMEL222 on GitHub (Mar 2, 2025). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1805 I am new to WM, but have somewhat figured my way around it. Great Library! using tag 2.0.17 (latest). I am trying to use setCustomBodyHeader. setCustomBodyFooter is not working either. I get this error....Compilation error: 'class WiFiManager' has no member named 'setCustomBodyHeader'; did you mean 'setCustomHeadElement'? setCustomHeadElement works fine....... wm.setCustomHeadElement("<style>div[class='msg'],form[action='/wifi'],form[action='/0wifi'],form[action='/info']:nth-of-type(2){display:none}</style>"); What am I missing?
kerem closed this issue 2026-02-28 01:30:23 +03:00
Author
Owner

@dmadison commented on GitHub (Mar 4, 2025):

Those functions are new (8e4c612fa3) and there has not been a release since they were added. If you want to use them you need to download the version of the library on master instead of using the latest release.

<!-- gh-comment-id:2698689895 --> @dmadison commented on GitHub (Mar 4, 2025): Those functions are new (8e4c612fa3af0e3eb9d98b7a6da4acec0a37744a) and there has not been a release since they were added. If you want to use them you need to download the version of the library on master instead of using the latest release.
Author
Owner

@MYCAMEL222 commented on GitHub (Mar 5, 2025):

That (of course) fixed it.

Thanks!...

<!-- gh-comment-id:2699356079 --> @MYCAMEL222 commented on GitHub (Mar 5, 2025): That (of course) fixed it. Thanks!...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1520
No description provided.