Skip to content

Allows you to customize a WordPress permalink using a custom URL field.

License

Notifications You must be signed in to change notification settings

cmpreshn/custom-permalink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

custom-permalink

Allows you to customize a WordPress permalink using a custom URL field.

NOTE: This code was lifted from the article linked below. Thanks to Jason Yingling for a great article and explanation.

• Added the WP esc_url function which should sanitize the custom URL prior to output

• Retrieving the custom field using WP get_post_meta, instead of get_field, to eliminate ACF dependency

https://jasonyingling.me/dynamically-overwrite-wordpress-permalinks-with-filters/

About

Allows you to customize a WordPress permalink using a custom URL field.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages