- This topic has 20 replies, 3 voices, and was last updated 3 years, 4 months ago by
Ying.
-
AuthorPosts
-
November 9, 2022 at 9:10 am #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,
DanNovember 9, 2022 at 10:31 am #2408680Ying
StaffCustomer SupportHi 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!
November 9, 2022 at 10:59 am #2408732danhotchkiss
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
November 9, 2022 at 1:48 pm #2408872Ying
StaffCustomer SupportWell, 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 templateinstead ofblock element - loop template?
https://docs.generatepress.com/article/block-element-content-template/November 9, 2022 at 2:35 pm #2408940danhotchkiss
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,
DanNovember 9, 2022 at 4:18 pm #2409025Ying
StaffCustomer SupportIf 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.
November 9, 2022 at 4:57 pm #2409063danhotchkiss
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
November 9, 2022 at 5:29 pm #2409085Ying
StaffCustomer SupportSomething like that, depends on what your default blog posts look like.
Keep us updated.
November 11, 2022 at 6:20 pm #2412005danhotchkiss
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
November 12, 2022 at 8:47 am #2412871David
StaffCustomer SupportHi there,
is it possible to get an Admin login for the staging site ?
November 12, 2022 at 9:40 am #2412917danhotchkiss
Here you go.
November 13, 2022 at 5:10 am #2413464David
StaffCustomer SupportI am getting an Incorrect Username or Password for that Admin login ?
November 13, 2022 at 6:14 am #2413500danhotchkiss
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?
November 13, 2022 at 6:38 am #2413524danhotchkiss
Try the info below.
November 13, 2022 at 11:25 am #2413996Ying
StaffCustomer SupportI logged in and activated the Event calendar plugin, I unchecked the
Include events in main loopoption within that plugin, it seems solved the issue.
https://www.screencast.com/t/fdkBgVSRy -
AuthorPosts
- You must be logged in to reply to this topic.