-
-
Save eksana/e06c526a3dc387b71e3f57610b59b152 to your computer and use it in GitHub Desktop.
wp_function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="section_header"> | |
<h2><?php | |
$idObj = get_category_by_slug('s_portfolio'); | |
$id = $idObj->term_id; | |
echo get_cat_name($id); | |
?></h2> | |
<div class="s_descr_wrap"> | |
<div class="s_descr"><?php | |
echo category_description($id); | |
?></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
('s_portfolio');//берем из меток в админке