Support » Theme: Hueman » Creating category pages

  • Resolved SB

    (@indradhonu)


    I want to make separate pages for each of category (e.g.–News, Music etc).
    I want to include featured posts slider in the category pages at the top.
    Then some writings such as describing the category.
    And then the respective posts come.
    How is that possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You would need to edit archive.php and limit the edits to if( is_category() ). It’s customization beyond what I can assist with though, but perhaps someone else can help out.

    SB

    (@indradhonu)

    First of all, thanks a lot for the awesome theme. I have edited the archive,php file in the child theme as you have said and the featured slider is also coming at the top of the each category. But, the featured posts are from all categories. I want to get featured posts slider from the respective category only at the respective category page; i.e. the category, say “Music”, shoul contain featured posts slider comprising posts from “Music” category only.
    How to get that? Please help me.
    I’m hereby attaching the pastebin link for the modified archive.php file.

    SB

    (@indradhonu)

    EDIT:-
    I have been able to incorporate the same someway. Anyway, I can’t create the “Category” pages; but it suffices the other needs i.e. description for each category(which is inbuilt), the respective post slider, and then the posts.
    I have edited the archive.php as per my custom needs.

    Thanks a lot Alx for your great tip–

    to edit archive.php and limit the edits to if( is_category() )

    Again, thanks for your great & awesome theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating category pages’ is closed to new replies.