Forums

[resolved] call the category or the template (7 posts)

  1. ronchicago
    Member
    Posted 3 years ago #

    1) there are five parent categories, each with five children.

    2) i want to select a parent category and display the children in most recent fashion. the theme currently does this in a list layout, top to bottom, with pix. ( the archives functions just like this too ) and of course if you only select a child only the child's list displays.

    3) the problem is to offer an alternative/optional layout, not the top-to-bottom list, but a " tile/grid " layout. five columns across, four rows deep. a template named " tile " has been created.

    4) the question is, how to call up the tile layout(s)?

    5) current concept. the blog functions per usual providing list layouts when a category is called. a new page is created with only a list of the categories and children. from this new list we call up the tile layouts. which takes us back to 4)

  2. iridiax
    Member
    Posted 3 years ago #

  3. ronchicago
    Member
    Posted 3 years ago #

    i "quickly" read this section and at first glance this may not be enough.

    let's say i have a category " donuts " with an ID = 301. i wish to see it served up two ways. as a list layout. as a tile/grid layout. can i call 301 up two ways? or, do i have to have two " donuts " ID's?

    if my answer is in the page you suggested please ask me to read deeper.

  4. iridiax
    Member
    Posted 3 years ago #

    i wish to see it served up two ways. as a list layout. as a tile/grid layout. can i call 301 up two ways? or, do i have to have two " donuts " ID's?

    Well, you could use two different categories... Or do something clever with scripting or stylesheet switching.

  5. ronchicago
    Member
    Posted 3 years ago #

    Well, you could use two different categories...

    by "two different categories" you mean = can i have two different categories (two unique ID's) with the same name " donuts " in wp and without losing parent - child relationships ?

  6. ronchicago
    Member
    Posted 3 years ago #

    wp does not seem to allow one category name with two ID#'s. however, "donuts" is desired to have two display options which i can't figure how to do. i am experimenting with having two categories with ALMOST the same name = " donuts " AND " donuts— " which is pretty straight forward.

    a " clever scripting " concept = calling by ID# OR nice-name ( slug ).

    this link has been helpful but a stretch for my skills incorporating certain tags... http://codex.wordpress.org/Template_Tags

    can't seem to grasp the suggested " stylesheet " switch concept.

  7. ronchicago
    Member
    Posted 3 years ago #

    this is "somewhat" resolved by solving how to call parents and children and if the straight forward category solution is used. to avoid a duplicate thread this is last comment. but will respond to new comments by others.

    the "layout' issues at the beginning of this post and solution to parent/children can be found here =

    http://wordpress.org/support/topic/226606?replies=2#post-930086

Topic Closed

This topic has been closed to new replies.

About this Topic