Site logo

Archived topic

Category Archive Loop Element not showing

20 replies · Started by danhotchkiss on November 9, 2022

Viewing posts 1–15 of 21

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

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!

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

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

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.

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

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

Keep us updated.

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

Hi there,

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

Here you go.

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

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?

Try the info below.

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

This archived topic is closed to new replies.