monkeypatch slim to wp rewrite