Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] Creating a product profile directory

Home Forums Support [Resolved] Creating a product profile directory

Home Forums Support Creating a product profile directory

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2303572
    overseer

    Hey folks,

    I’m creating a blog and I’d like to know if it was possible to create a template for something similar to a ‘product profile directory’. How I’m thinking it would work is visitors that are reading an article I’ve written about a product, they would see a small profile above the sidebar about that product and an affiliate link that they can click on to purchase it. I’ve attached a link below:

    Two Point Campus Review

    The product profile I’m referring to is the section that says “Game Profile”. The directory part would be by clicking on the game title that leads to articles related to the product. How would I go about creating this? Thank you to everyone in advance for their responses.

    #2303747
    Fernando
    Customer Support

    Hi Overseer,

    You can create a Block Element, and in the block element, use GB Headline Blocks to retrieve dynamic data from the Post/Product.

    You can also create custom fields for your posts/products, and then retrieve them through the Headline Block.

    A popular plugin used to add custom field is ACF: https://www.advancedcustomfields.com/resources/getting-started-with-acf/

    So for instance, you add a custom text field to your post/product like Publisher, then you can retrieve it through a GenerateBlocks Headline block’s dynamic data feature: https://docs.generateblocks.com/article/headline-overview/#dynamic-data

    #2303760
    overseer

    Okay awesome, I’ll test out ACF and see how that works. Regarding the directory portion, how would I go about creating that? Here’s an example of what I mean, using the same example of Two Point Campus from the previous comment:

    Two Point Campus

    It doesn’t have to be a header as large, but something similar, where an overview, reviews and more are laid out for the visitor to click on.

    #2303791
    Fernando
    Customer Support

    I’m not sure if creating a global set of sub pages would be possible in WordPress, but if it is, you’ll most likely need custom code or a third party plugin for that.

    It might be good to ask in our GP Community for suggestions on which plugin has such a feature: https://www.facebook.com/groups/1113359788719597

    #2304557
    overseer

    Okay, I’ll check out the group and ask around. Lastly, I just downloaded ACF, but how do I integrate the custom fields into Generateblocks?

    #2304606
    Ying
    Staff
    Customer Support

    Hi there,

    As Fernando replied here: https://generatepress.com/forums/topic/creating-a-product-profile-directory/#post-2303747

    You can use a Headline block from the GenerateBlocks plugin to fetch the custom field.
    https://docs.generateblocks.com/article/headline-overview/#dynamic-data

    If the custom field is added to the post, you can choose post meta as the content source, then enter the custom field name in the Post meta field.

    #2305370
    overseer

    Awesome, thank you for all the help everyone. It’s only been a few weeks since I’ve had GP Pro and the experience is already top tier!

    #2307005
    Ying
    Staff
    Customer Support

    You are welcome and we are very glad to hear that 🙂

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