{"id":14038487,"date":"2021-02-11T21:27:54","date_gmt":"2021-02-11T21:27:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/inline-content-without-shortcode\/"},"modified":"2021-02-11T22:43:36","modified_gmt":"2021-02-11T22:43:36","slug":"inline-content-without-shortcode","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/inline-content-without-shortcode\/","title":{"rendered":"Inline content without shortcode"},"content":{"rendered":"<p>Hello,<br \/>\nI&#8217;ve set up a div in the following manner:<br \/>\n&lt;div class=&#8221;inline_content&#8221; style=&#8221;display: none;&#8221;&gt;content&lt;\/div&gt;<\/p>\n<p>and I&#8217;ve set up a link in this way:<br \/>\n&lt; a href=&#8221;javascript:;&#8221; data-fancybox data-src=&#8221;#fancybox-hidden-[id]&#8221;&gt; link &lt; \/a &gt;<br \/>\nI don&#8217;t understand much of js so I got this hyperlink from having ran the shortcode once (it was working) and copied from the source code&#8230; I guess I&#8217;m missing something eh? :\\<\/p>\n<p>I&#8217;m getting this in the popup:<br \/>\n&#8220;The requested page cannot be loaded. Please try again later&#8221;<\/p>\n<p>The issue is that I can&#8217;t use the shortcode in the way I need to implement the link to the content (I&#8217;m using w4-post-list and I want to load each post as modal popup when their links are clicked) so I need to have a way to setup the link WITHOUT the shortcode method&#8230;<\/p>\n<p>Can you please help me?<br \/>\nThank you very much.<\/p>\n","protected":false},"template":"","class_list":["post-14038487","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14038487","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":5,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14038487\/revisions"}],"predecessor-version":[{"id":14038518,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14038487\/revisions\/14038518"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14038487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}