Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    For that one place, you could add a field to one of the settings screens using the Settings API. Thus you could retrieve the stored value with get_option().

    How to make use of that setting depends on how and where your links are generated. If they come from a WP function, there is likely a filter that can be used to add the parameter. You could create your own template tag that outputs the proper link on template files. You could create a shortcode that gets replaced by the proper link anywhere the shortcode appears in post content. You could implement all these options if need be.

    I’ve no idea how to work with Pretty Links plugin. If filter hooks are available, something may be able to be worked out.

    Thread Starter premmels

    (@premmels)

    Hi bcworkz,
    thank you very much for your reply. I’m still fairly new to php but I will see whether I can make it work out.
    I must say I am a bit nervous changing the code of a plugin though ??

    Cheers,
    Patrick

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Placeholder in backend – how to change an ID in multiple places simultaneously’ is closed to new replies.