mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Add the ability to call the author's avatar using the $next and $prev arrays.
Static placeholders in themes can be replaced with this code now to call the author's avatar: <?php echo $next['authorAvatar']; ?> <?php echo $prev['authorAvatar']; ?>
This commit is contained in:
parent
23c3d2548a
commit
c1ae1c2cbf
1 changed files with 2 additions and 0 deletions
|
|
@ -2045,6 +2045,7 @@ function has_prev($prev)
|
|||
'authorName' => $prev->authorName,
|
||||
'authorAbout' => $prev->authorAbout,
|
||||
'authorUrl' => $prev->authorUrl,
|
||||
'authorAvatar' => $prev->authorAvatar,
|
||||
'related' => $prev->related,
|
||||
'views' => $prev->views,
|
||||
'type' => $prev->type,
|
||||
|
|
@ -2083,6 +2084,7 @@ function has_next($next)
|
|||
'authorName' => $next->authorName,
|
||||
'authorAbout' => $next->authorAbout,
|
||||
'authorUrl' => $next->authorUrl,
|
||||
'authorAvatar' => $next->authorAvatar,
|
||||
'related' => $next->related,
|
||||
'views' => $next->views,
|
||||
'type' => $next->type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue