Get post source link?
-
Is it possible to get the source permalink for a post (in my WP-theme)?
I’m using a function where I use “get_permalink();” to analyze what is in the URL and then output something based on that. Ex: if the source contains “twitter.com” I output a little Twitter icon.
But when I use this with WPeMatico I get the internal link to the post instead of the source link of the post. Thus not giving me the info about where it comes from.
I was using FeedWordpress up until recently, then it worked great, because that plugin actually rewrites the permalink to the source. But WPeMatico applies some sort of filter instead when showing the post on the front-end.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get post source link?’ is closed to new replies.