How to embed web content in theme (FTL)

Add the below code in your FTL from to embed web content in theme:

<#assign preferences = freeMarkerPortletPreferences.getPreferences("portletSetupPortletDecoratorId", "barebone") />
<@liferay_portlet["runtime"]
	defaultPreferences="${preferences}"
	instanceId="Unique_ID_Here"
	portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet"
/>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

close
Thanks !

Thanks for sharing this, you are awesome !