Theming 1.4.4: Replacement for getTheme

Hi there!

My Theme starts with
`

<?php<br />
// force UTF-8 Ø

if (!defined('WEBPATH')) die();

$themeResult = getTheme($zenCSS, $themeColor, 'light');

?>

`

ZP 1.4.4 says, getTheme is deprecated, but if I delete the line, ZP does not use the theme (css). What to do?

Wete

Comments

  • fretzl Administrator, Developer
    You can of course call the CSS directly in the head of your page.
    `" type="text/css" />`
  • acrylian Administrator, Developer
    If something is deprecated you never can just delete it without using the replacement. The replacement in this case is to use the theme_head filter. Look at the default theme's function.php right at the beginning.
Sign In or Register to comment.