I see two potential builds here:
1) NG Cloistered Cleric of Solonor Thelandria 4/Ordained Champion 5/Hierophant 1/Filler 10 (Contemplative works if nothing else)
-For a race, pick one of the +2 Dex/-2 Int or Cha elves. 10 Charisma is plenty, and you can get that even with a penalty. Likewise, you don't need many skill points to make Knowledge Devotion work for you, you just want to grab about 5 ranks.
-Start with War, Elf, Knowledge Domains, no Devotions
-With Ordained Champion, pick up Good Domain
-Sack Good Domain and Knowledge Domain abilities for 2 Fighter Bonus Feats (technically, Knowledge Domain only adds skills to your Cleric class skills, so it's done it's job at this point) at the first level of Ordained Champion.
-Beyond that, go with the same, general feat progression. Note, however, that Divine Disciple and Ordained Champion would have an alignment conflict with this build.
2) CG Cloistered Cleric of Labelas Enoreth 7/Divine Disciple 5/Contemplative 2-6/Hierophant 1/Filler 1-5
-Start with Elf, Time, Knowledge Domains, no Devotions
-Spontaneous Time Domain is a strong ACF for this build.
-Use your bonus domains to grab Knowledge Devotion, Chaos Devotion, and possibly also Good Domain.
-Drop Holy Warrior, obviously, and get another Extra Turning.
Acorn of Far Travel is alright, but getting into Prestige Ranger to cast it yourself is onerous. Instead, have an NPC Druid cast the spell and carry it in your pocket to gain the effect. It can be replaced periodically with the Animal Messenger spell, even.
Another feat to consider is Chaos Devotion. It's kinda ignored when compared to Law Devotion because it's unpredictable and it's bonus is generally less impressive, but when you gain an AC bonus you can cast a spell, and when you gain an Attack bonus you can make your full attack.