package twentyfifteen import ( str "github.com/fthvgb1/wp-go/helper/strings" "github.com/fthvgb1/wp-go/internal/cmd/reload" "github.com/fthvgb1/wp-go/internal/pkg/constraints" "github.com/fthvgb1/wp-go/internal/theme/wp" ) var style = `") r = ss.String() return } func customHeader(h *wp.Handle) { headers := header.Load() if headers == constraints.Defaults { headerss, rand := calCustomHeader(h) headers = headerss if !rand { header.Store(headers) } } h.SetData("customHeader", headers) return }