Member
Member
Wete   2013-01-17, 08:18
#1
Hi there!

My Theme starts with
`

<?php

// 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
Administrator
Administrator
fretzl   2013-01-17, 08:59
#2
You can of course call the CSS directly in the [i]head[/i] of your page.
`<link rel="stylesheet" href="<path to css file>" type="text/css" />`
Administrator
Administrator
acrylian   2013-01-17, 11:07
#3
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.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.