Advertisement:

Author Topic: problen in postioning the categories title and there counter items  (Read 1229 times)

avi

  • Newbie
  • *
  • Posts: 28
HI

im building new theme and when im trying to take the php code for the categries title and the item counter and put(example) in echo <div class="test"><?php echo osc_category_name() ; ?> <div>
im getting error i know echo is displaying a string but how can i mix variable php code with string .
i tried this alos
<?php
$var1= <?php echo osc_category_name() ; ?>
?>
than echo <div>'.$var1.'</div>
but still i am missing something cause im getting fatal error message or sometimes just nothign happens in div i placed it
im attaching my main .php
if some can help me it will be great i will mark the place i want the title
and the place i want the item counter
i added after the main _test no to get u conflicts with ur files .
thank you in advanced
avi .b.