ThemeShaper Forums » Thematic

[closed]

Create Custom Posts Layout in Categories

(10 posts)
  • Started 12 years ago by dagulink
  • Latest reply from helgatheviking
  • This topic is resolved

Tags:

  1. dagulink
    Member

    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!

    Posted 12 years ago #
  2. 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 #
  3. dagulink
    Member

    I was tried to do as you help. but still not showing in categories

    Posted 12 years ago #
  4. 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 #
  5. dagulink
    Member

    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 #
  6. 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 #
  7. dagulink
    Member

    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 understand

    Posted 12 years ago #
  8. please post your code. PHP will be easier than english.

    Posted 12 years ago #
  9. dagulink
    Member

    thanks you. but i get it.

    Posted 12 years ago #
  10. 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 #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.