changes header image function calls
This commit is contained in:
parent
c17aed359c
commit
136e495aee
|
@ -5,8 +5,7 @@ $hasResults = false;
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$site->pages();
|
$site->pages();
|
||||||
// set header images
|
// set header image
|
||||||
//$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getPageImage($page);
|
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||||
if ($img_src) {
|
if ($img_src) {
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -7,7 +7,8 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// set header images
|
// set header images
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getPageImage($page);
|
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
||||||
|
|
||||||
if ($img_src) {
|
if ($img_src) {
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue