{"id":5260823,"date":"2014-09-05T15:14:26","date_gmt":"2014-09-05T15:14:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/include-php-library\/"},"modified":"2016-08-22T01:11:52","modified_gmt":"2016-08-22T01:11:52","slug":"include-php-library","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/include-php-library\/","title":{"rendered":"Include PHP Library?"},"content":{"rendered":"<p>I am trying to use the Coinbase API to display bitcoin exchange rates on my wordpress website.<br \/>\nI downloaded and installed the <a href=\"https:\/\/github.com\/coinbase\/coinbase-php\">coinbase-php<\/a> library in my wp-include folder. <\/p>\n<p>To use the functions from the library, I need to include it between the [insert_php] tags on my page. However, I cannot figure out the right path to successfully include the library. I tried,<br \/>\n<code>require_once(wp-include\/coinbase-php\/lib\/Coinbase.php&#039;);<\/code> but that doesn&#8217;t work.<\/p>\n<p>Any help would be greatly appreciated! Thanks!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/insert-php\/<\/p>\n","protected":false},"template":"","class_list":["post-5260823","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5260823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5260823\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5260823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}