Site logo

Archived topic

GP Elements - Creating archives to display related posts

3 replies · Started by Hamish on June 10, 2021

Viewing posts 1–4 of 4

Hey there guys!

I'm new to GP elements. I was thinking I might be able to hack together a super light weight marketplace. SO I was wondering if could use elements to display an Author's / users? products on that archive. So the Author archive would then become a "Vendor Store". Ideally I'd be wanting to display orders on this archive is the logged in user = current user. I realise there are Marketplace plugins / Toolset etc, but I'm interested how far I can go with GP and minimal plugins with a stack of baggage I don't want!

Thanks gurus

H

Hi Hamish,

While it's a nice project to do, it's going to be impractical knowing there are already lightweight marketplace plugins around.

Because while you can create the front-end part with GP Elements, you'll still end up coding the payment gateway functionality and creation + relationship for the product post_type so you might as well use a plugin for this.

Yeah you are likely correct, but I've toyed with the Stripe connect api before. There is good potential to take a lot of the backend stuff offsite and throw it at Integromat.

SO I can display products or other author related items on the author archive? Can you point me to the element type / basic settings Elvin. I will need to do this for other projects if I decide to use GP.

Thanks for the prompt response

Hi there,

the Block Element Content Templates only apply to Theme Templates. They won't work with templates that are generated by a 3rd party plugin.

You can of course create your own custom post types and use copies of the themes templates for displaying them. Or use the the standard Post type and hook in your own custom fields.

Heres the article on using the Block Element - Content Template:

https://docs.generatepress.com/article/block-element-content-template/

This archived topic is closed to new replies.