Great theme, like it very much! I followed your tutorial on setting up the theme and already did quite a few tweaks to css and php files, but I can't find a certain line of code which I would like removed. It should be located in one of .php files, but I need your help.
I have the works arranged in portfolios. The web site I'm working on is for a painter, so my classifications are not e.g. "print", "online", etc, but they're describing this painters cycles of work, and therefor I would like the numbers of works (in brackets) next to these categories removed from the main menu, because they always show "(1)".
Please take a look at the attached screenshot, I believe everything will be clear.
“Remove number of items for portfolio [ in brackets (n) ]”
Related URL: http://www.vatroslavkulis.hr/ciklusi/
Hi Ruben,Great theme, like it very much! I followed your tutorial on setting up the theme and already did quite a few tweaks to css and php files, but I can't find a certain line of code which I would like removed. It should be located in one of .php files, but I need your help.
I have the works arranged in portfolios. The web site I'm working on is for a painter, so my classifications are not e.g. "print", "online", etc, but they're describing this painters cycles of work, and therefor I would like the numbers of works (in brackets) next to these categories removed from the main menu, because they always show "(1)".
Please take a look at the attached screenshot, I believe everything will be clear.
Best regards,
Ivo
— Posted at 3:00 on December 10, 2012
Ruben Bristian
$item_output .= ($item->object == 'category' ? ' ('. get_category($item->object_id)->count . ')' : '');$item_output .= ($item->object == 'portfolio_category' ? ' ('. $portfolio_count . ')' : '');
$item_output .= ($item->object == 'gallery_category' ? ' ('. $gallery_count . ')' : '');
$item_output .= ($item->attr_title == 'allblog' ? ' ('. wp_count_posts()->publish . ')' : '');
$item_output .= ($item->attr_title == 'allportfolio' ? ' ('. wp_count_posts('portfolio')->publish . ')' : '');
$item_output .= ($item->attr_title == 'allgallery' ? ' ('. wp_count_posts('gallery')->publish . ')' : '');
— Posted at 3:00 on December 11, 2012
— Posted at 3:00 on January 2, 2013
Ruben Bristian
— Posted at 3:00 on January 3, 2013