I read the article http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/, but I do not want to display in home page but want to display in categories.
Help me?
Sorry, my bad English!
ThemeShaper Forums » Thematic
Create Custom Posts Layout in Categories
(10 posts)-
Posted 12 years ago #
-
what have you tried? the article (which is great in my opinion- i have used that myself) clearly describes that it is targeting the INDEX loop (which appears in the code as thematic_indexloop). so it makes sense that to apply it to categories you'd target the category loop which is shockingly called thematic_categoryloop.
in fact w/ the new override functions you don't need to add or remove actions anymore. you can just copy his snippet_index_loop function and call it childtheme_override_categoryloop instead.
Posted 12 years ago # -
I was tried to do as you help. but still not showing in categories
Posted 12 years ago # -
that is b/c the function is actually called childtheme_override_category_loop and not what i posted above. my mistake. though you could have seen my mistake if you'd looked in the extensions folder for the code responsible. (it is in content-extensions.php)
Posted 12 years ago # -
Thank you, great. but I do not want to display in homepape and just want to show the categories. I want display full article at homepape.
Thanks you!Posted 12 years ago # -
sorry, i do not understand what you are trying to do. what code are you using? what result are you getting? What result are you expecting? Do you have a link? Providing more information will help me help you.
Posted 12 years ago # -
I have fixed the code as you help and it shows two columns in the content at categories and homepape. I just want to show at the categories. homepape does not display.
Sorry, my bad English!so difficult to describe to you my understandPosted 12 years ago # -
please post your code. PHP will be easier than english.
Posted 12 years ago # -
thanks you. but i get it.
Posted 12 years ago # -
why don't you post your code in case some one else can learn from it? and please mark the post as resolved.
Posted 12 years ago #
Topic Closed
This topic has been closed to new replies.