I use a plugin called WP original Source.
It lets me add the URL of the original article source, which is handy as it credits the original source of article extracts and summaries that I publish of my website.
This URL is then published as metadata in the source code of my webpage, such as:
<meta name="original-source" content="http://www.abc.com.au/article.html">
However, I also want to publish this URL at the bottom of the article extract itself, so that users who read the article extract and want more information, can click the link and get taken to the original full article.
I can't work out how to do this however, being only a novice at php.
I did manage to code the following, however instead of getting the URLs, I get the word "array"
$originalsource = get_post_meta(get_the_ID(), '_original_source', true); echo $originalsource;
Can someone help me work out what php code I need to insert into the single.php form for the URL of the original source to be published as a visible URL, as well as the metadata statement?