How do I insert a strictly homepage link?

If you use WordPress:

  • If you want to add the text/link directly into your template files (header.php, footer.php, sidebar.php, etc), here is the code you need to use: 
<?php if(is_home() && !is_paged()): ?>THE TEXT/LINK OF THE OFFER<?php endif; ?>
  • If you want to put the text/link in a specific widget, you can use the Widget Logic plugin, and insert the following code in the "Widget Logic" field of the widget: 
is_home() && !is_paged() 


If you are using another CMS, we advise you to check their documentation and any related forums for the correct code or plugin. 


Powered by Zendesk