I’m very inexperienced with PHP coding and am having issues with what I’m assuming is a relatively easy issue to fix.
I’m attempting to customize the category pages on my website, so that when you click on the category page, a customized banner and title will come up. I want to customize the code so that the category ID tag will automatically be displayed as a header title. So if the category ID is “Doctors,” the page will automatically display “Doctors” as a header.
I’ve isolated this code in one of my themes template pages:
echo '<div class="widget-head"><h3><a>cat_ID).'" title="View all posts under '.$cat->cat_name.'">'.$cat->cat_name.'</a></h3></div>';
I think this will do what I want it too, but I’m not sure how to correctly write the code.
Any help would be appreciated, thanks again!
- The topic ‘Adding an autoname property to category page’ is closed to new replies.