Site logo

[Resolved] Category Archive Loop Element not showing

Home Forums Support [Resolved] Category Archive Loop Element not showing

Home Forums Support Category Archive Loop Element not showing

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #2408562
    danhotchkiss

    Just getting started formatting my Archive pages with a loop Template element. (I think I got all that right!)

    I’ve created a Block – Loop template element, and assigned it to the Post Category Archive: HomePage location. It contains a GP Query Loop that is set to inherit its query from the template.

    But the category archive page is unchanged! What am i missing?

    Thanks,
    Dan

    #2408680
    Ying
    Staff
    Customer Support

    Hi Daniel,

    Your settings sound right.

    Can you try disabling all other plugins except GP Premium and GenerateBlocks to eliminate conflicts from other plugins?

    If you are using a child theme, try switching to the parent GP theme to test.

    Let me know!

    #2408732
    danhotchkiss

    Ah, yes. I deactivated all my plugins on a staging site, and found that the culprit was The Events Calendar (and TEC Pro). Unfortunately this plugin is almost as central to my site as GP & GB.

    What next?

    Dan

    #2408872
    Ying
    Staff
    Customer Support

    Well, if that’s the case, I don’t know how to solve the conflicts as well since I’m not familiar with that plugin.

    Does it work if you use block element - content template instead of block element - loop template?
    https://docs.generatepress.com/article/block-element-content-template/

    #2408940
    danhotchkiss

    No, I tried switching to block element – loop template and it did not fix the problem.

    If I can’t use a block element, what are my other options for formatting the post category pages? I’m happy to style them all the same, but need to be able to put the whole list inside a container, at least.

    Thanks for any help,
    Dan

    #2409025
    Ying
    Staff
    Customer Support

    If I can’t use a block element, what are my other options for formatting the post category pages?

    It will require some CSS, it should not be too complicated if the current query loop layout is what you are looking for.

    #2409063
    danhotchkiss

    Is the CSS below the sort of thing you mean? (it works, but it’s pretty much the sort of messiness I’m hoping to avoid!) I’ll be in touch with The Events Calendar and let you know if I learn anything that might be useful.

    Dan

    /* layout for HomePage archive page (temp) */
    .category-86 article {
    margin:60px;
    padding:px;
    /*following = fuusm-box */
    border-radius: 5px;
    box-shadow: 1px 2px 3px 3px #bababa;
    background-color: var(–base-3);
    opacity: 0.95;
    padding: 3% 5% 3% 5%;
    /* for safari: */
    transform: translate3d(0, 0, 200px);
    -webkit-transform: translate3d(0,0,200px);
    }
    .entry-summary{
    margin:50px;
    }

    Dan

    #2409085
    Ying
    Staff
    Customer Support

    Something like that, depends on what your default blog posts look like.

    Keep us updated.

    #2412005
    danhotchkiss

    I’ve set up staging site to demo the problem for The Events Calendar support. TEC seems to block some but not all Elements. I could give you credentials too if you’re interested. Let me know.

    Dan

    #2412871
    David
    Staff
    Customer Support

    Hi there,

    is it possible to get an Admin login for the staging site ?

    #2412917
    danhotchkiss

    Here you go.

    #2413464
    David
    Staff
    Customer Support

    I am getting an Incorrect Username or Password for that Admin login ?

    #2413500
    danhotchkiss

    I didn’t send an admin login, only a front-end login for Flywheel. I need an email address to do that, I’m pretty sure. Do you have one I can use?

    #2413524
    danhotchkiss

    Try the info below.

    #2413996
    Ying
    Staff
    Customer Support

    I logged in and activated the Event calendar plugin, I unchecked the Include events in main loop option within that plugin, it seems solved the issue.
    https://www.screencast.com/t/fdkBgVSRy

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