marwanae
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: The first loop affecting the second loop in ‘more’ tagAny help guys ?
Forum: Fixing WordPress
In reply to: The first loop affecting the second loop in ‘more’ tagHope that I can get any help here !
Forum: Fixing WordPress
In reply to: The first loop affecting the second loop in ‘more’ tagAny help in this ?
Forum: Themes and Templates
In reply to: [How?] show category parents in post (inside loop)Thanks God.
I found it here:
http://codex.wordpress.org/Template_Tags/the_categoryForum: Themes and Templates
In reply to: Show specific category name and linkI found what i want!
here:
http://codex.wordpress.org/Function_Reference/get_category_linkby using the following code:
<a href=" <?php echo get_category_link(10);?> ">category name</a>where 10 is the category ID
Thanks Docs 😉
Forum: Themes and Templates
In reply to: Show specific category name and link^
^Thanks, but its not helping!
because i looking for category by ID (as i explain before)! not for existing gategory!Forum: Themes and Templates
In reply to: Show specific category name and linkOK,
I want to display the category title by using category ID (out side the loop).
Now, I get what I want by using this code:
<?php echo get_the_category_by_id(10); ?>which 10 is the ID of category.
But, something missing !
How could I get the link for the category using the ID .. the same situation like the title, but now i want the link ? How ??Thanks in advance.
Forum: Themes and Templates
In reply to: Show specific category name and linkany help !