{"id":2605821,"date":"2012-03-03T00:49:41","date_gmt":"2012-03-03T00:49:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-sliding-read-more-integrate-function-in-php\/"},"modified":"2016-08-20T05:21:45","modified_gmt":"2016-08-20T05:21:45","slug":"plugin-sliding-read-more-integrate-function-in-php","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-sliding-read-more-integrate-function-in-php\/","title":{"rendered":"[Plugin: Sliding Read More] integrate function in php"},"content":{"rendered":"<p>Hi,<br \/>\nI have a problem integrate the custom readmore-function into our theme.<\/p>\n<blockquote>\n<p><code>&lt;a href=&quot;&lt;?php if(!isset($onclick)){ echo get_permalink( $post -&gt; ID ); }else{ echo &#039;javascript:void(0)&#039;; } ?&gt;&quot;&lt;?php echo $caption ?&gt;&quot; class=&quot;mosaic-overlay&quot; &gt;<\/code><\/p>\n<\/blockquote>\n<p>The hreflink is connected with the image of a post. When you clicking on it, you only get to the single post page.<br \/>\nIs there any way to change the href link and connect it to the &#8220;read more right here&#8221; function? Your help would be awesome!<\/p>\n<p>Cheers \ud83d\ude09<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/sliding-read-more\/<\/p>\n","protected":false},"template":"","class_list":["post-2605821","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2605821","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\/2605821\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2605821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}