Link back to the main site, but your theme must support it ??

I want to link back to my site from my gallery but in the zp-config.php says that ; your theme must support it.what does it mean ?

in the zp-config.php

$conf['website_title'] = "";
$conf['website_url'] = "";

ı filled but it doesn't work.

Comments

  • acrylian Administrator, Developer
    This means that your theme must include one of these functions for this which not all themes do:
    `

    <?php getMainSiteName(); ?>

    <?php getMainSiteURL(); ?>

    <?php printMainSiteLink('$title', '$class', '$id'); ?>

    `
  • Which themes include this function? There is a space in options to write down the site name, when default theme is used. But it doesnt work. Can you please set the themes which have this function?
  • I do not know of any themes that use it. But using the code acrylian provided, its extremely easy to open up whatever page you want to have it on and drop in the code.

    <?php printMainSiteLink(getMainSiteName(), '$class', '$id'); ?> Should print a link using the link and site name you entered in the admin.
  • effervescence+ supports this link.
  • The thread, "How to add link in Breadcrumb?", might give you some information what can be done!

    Daniel
Sign In or Register to comment.