I found out what the problem was with the help of this thread https://www.zen-cart.com/showthread....ing-a-New-Page Bunyip's comment made me realise that I had the link format correct but I hadn't completely connected the dots when it came to page creation. I hadn't created the filenames in the includes/extra_datafiles folder and I hadn't put my pages into the templates/template_default/templates folder. That connected all the dots and its all working.
For anyone else this was helpful also https://www.zen-cart.com/wiki/index....ating_the_link
Also for a newbie the correct link format is like this: <a href="<?php echo zen_href_link(FILENAME_SELL_GOLD); ?>" class="drop"><?php echo HEADER_TITLE_SELL_GOLD; ?></a>
If for some reason it takes you to a 404 page not found it means you haven't completed all the necessary steps for page creation.
I hope this helps someone :)
Bookmarks