Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/ljzvvg/public_html/functions.php on line 43
Portfolio 4 - category description
Support Forum » Princess WordPress Theme
1 year agoThanks
1 year agoHello!
This is a theme customization which is out of support scope. However I have the code in my head roughly. You need to edit page-portfolio4.php and place the following code after the_content(); functions (there are two of them):
echo '<p>'.category_description( get_category_by_slug(esc_sql($_GET['cat']))->term_id ).'</p> <p> </p>';
1 year agoHi, i need to visualize the category description (only if the description is present) below the categories selector in portfolio 4.