• Hello,

    I am writing a WP theme for a client, and needed to hardcode some urls. However, if the permalink structure changes in the future, these urls will be wrong. Rather than hardcoding, is there a core function or failing that plugin which I can pass some query vars to, and be returned a valid permalink to use?

    If this does not exist, can you point me in the direction of any functions for getting the current permalink settings?

    Many thanks!

The topic ‘Generating Permalinks From Query Vars?’ is closed to new replies.