Site logo

[Resolved] How to Query Loop for Archive, Tag pages

Home Forums Support [Resolved] How to Query Loop for Archive, Tag pages

Home Forums Support How to Query Loop for Archive, Tag pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2504793
    Ashia

    HI,
    I want to edit my archive pages and tag pages, I am using GPP and GBP.
    I am able to edit the front page with Block - Loop template and the post page using Block - Content Template But I do not know how to edit the Category and tag pages.

    What blocks and elements do I need to select for this?

    #2504976
    David
    Staff
    Customer Support

    Hi there,

    in Block Element, you can set the Display Rules > Locations to include: Category Archive -> All Categories & Tag Archives -> All Tats OR you can include ALL Archives

    Then you choose if you want to build:

    a. Content Template to design the individual post article and leave the theme to handle the columns etc.
    b. Loop Element to design the entire loop using a Query Loop Block, which will require its Parameters -> Inherit Query from template enabled. By setting that option, you can create ONE loop block template for ALL archives and the Query Loop will use the necessary query.

    #2505049
    Ashia

    Hi David,
    I have created an Element, the following are the settings…

    Type: Block – Loop template
    Location: Post Category Archive, All Archive
    Users: All

    In the Block – Loop template, I created Query Loop with good design with dynamic featured image, Headline etc.

    1.When Inherit Query – Enabled, after save, Categories showing blank

    .

    2.When Inherit Query – Disabled > POST TYPE: post > ADD PARAMETER > TAXONOMIES: Categories > SELECT TERM: Current post term, After Save categories showing Blank.

    2.when inherit Query – Disabled > POST TYPE: post > ADD PARAMETER > TAXONOMIES: Categories > SELECT TERM: Selected specific Category, After saved and visiting category page, its showing the Query loop, but in every category its showing same which I selected.

    How to make it dynamic. so in every category it ll show its available posts.

    #2505055
    Ashia

    Ok its started working Enabling Inherit Query.
    Thanks David.

    #2505603
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.