poetapp / wordpress-plugin

Automatically post to the Po.et Network from WordPress
https://wordpress.org/plugins/po-et/
GNU General Public License v2.0
49 stars 34 forks source link

send the permalink as canonicalUrl to Frost API fixes #11 #42

Closed markparolisi closed 5 years ago

markparolisi commented 5 years ago

I added the permalink URL to the request sent to Frost as canonicalURL I am using the preferred way to get this data using get_permalink and similarly updated the title to use the filtered, get_the_title

Resolves #11

markparolisi commented 5 years ago

Yes, the permalink will get the whatever the pretty URL is. If the user doesn't have pretty permalinks turned on, they you will get the native, /?p=$post->ID route.