The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › I this variable not defined?
With this code I’m getting this error message. Notice: Undefined variable: post_id in /home/r83sd5dr/public_html/wp-content/themes/so-simple-75/content-single.php on line 27
<?php $category = get_the_category($post_id); <a href="cat_ID); ?>”>