Completed shared + wp navigation code generation

With inline templates