Hey Robin, I appreciate the time you are taking to help with this.
The reason entry ID was in there was from another suggestion in the previous thread. The footer is not nested in an entries tag:
</div><!-- close:page_wrapper -->
{embed="includes/.footer_test" entry_id="{entry_id}"}
</body>
</html>
When you say paste the tag around the embed… what tag? The entries tag with the weblog listed? I’ll assume so; so footer embedded with the following:
</div><!-- close:page_wrapper -->
{exp:weblog:entries limit="5" weblog="dsfcontent|news|exhibitors|speakers|press|pc" entry_id="{embed:entry_id}"}
{embed="includes/.footer_test"}
{/exp:weblog:entries}
</body>
</html>
& footer_test:
<div id="footer">
<p>
{if page_url}<a href="{page_url}">Tell friend about page</a><br>{/if}
{if page_url == ""}<a href="{title_permalink="site/tell"}">Tell friend</a><br>{/if}
</p>
</div>
This results in no footer at all. Changed footer_test to:
<div id="footer">
<p>
{exp:weblog:entries limit="5" weblog="dsfcontent|news|exhibitors|speakers|press|pc" entry_id="{embed:entry_id}"}
{if page_url}<a href="{page_url}">Tell friend about page</a><br>{/if}
{if page_url == ""}<a href="{title_permalink="test/friend"}">Tell friend</a><br>{/if}
{/exp:weblog:entries}
</p>
</div>
Result: no footer. Changed the embed-code to:
</div><!-- close:page_wrapper -->
{exp:weblog:entries limit="5" weblog="dsfcontent|news|exhibitors|speakers|press|pc"}
{embed="includes/.footer_test"}
{/exp:weblog:entries}
</body>
</html>
Result: footer but no links. Nesting the embed-code in an entries tag is just duplicating the footer div, so, version on the example page (See it here) as it is up now:
Embed code:
</div><!-- close:page_wrapper -->
{embed="includes/.footer_test"}
</body>
</html>
.footer_test code:
<div id="footer">
<p>
{exp:weblog:entries limit="5" weblog="dsfcontent|news|exhibitors|speakers|press|pc"}
{if page_url}<a href="{page_url}">Tell friend about page</a><br>{/if}
{if page_url == ""}<a href="{title_permalink="test/friend"}">Tell friend</a><br>{/if}
{/exp:weblog:entries}
</p>
</div>