Forums

Generating Permalinks From Query Vars? (1 post)

  1. mothmenace
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic