Site logo

[Support request] can I use pattern library with ACF?

Home Forums Support [Support request] can I use pattern library with ACF?

Home Forums Support can I use pattern library with ACF?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2459353
    eran

    Hi,

    Can I use this with ACF?

    https://imghostr.com/104867_s0r

    I have this pros and cons container in my pattern library.
    I want to make fields that I can fill in the Pros and Cons. Is it possible?
    and will it look the same?

    Plus, Is it possible to make generatepress headline with ACF?
    So my writer just needs to put the text in the field?

    #2459406
    David
    Staff
    Customer Support

    Hi there,

    yes, but only for simple fields NOT repeater or nested fields.
    if they are simple fields, then:

    1. Add a Headline Block give it some static text.
    1.1 In sidebar Enable Dynamic Data.
    1.2 Set the Content Source to Post Meta
    1.3 In the Field provided type in your ACF Field name.

    Thats it

    #2459581
    eran

    Can I make the pages I provided in the private message with ACF?

    #2459778
    Fernando
    Customer Support

    Hi Eran,

    Yes, most of the dynamic data in your reference site seem to be simple text fields. With that said, you can use ACF to create a custom Post meta field for your post data. If this will be a Custom Post Type, you can use CPT UI plugin to create it.

    Reference: https://wordpress.org/plugins/custom-post-type-ui/
    ACF Reference: https://www.advancedcustomfields.com/resources/getting-started-with-acf/

    You can then use a GB Headline Block to retrieve the custom metadata as explained by David above.

    Reference: https://docs.generateblocks.com/article/headline-overview/#dynamic-data

    #2459861
    eran

    What do you mean “most of the dynamic data”?

    What I can’t create with ACF from the pages I provided?

    The pictures are affiliates from amazon I make them with HTML code. For example “

    And I change the “SL160″ to SL”500” and after that, I change the link to a pretty link in the WordPress editor.

    Is it possible with ACF?

    #2459910
    Fernando
    Customer Support

    What I meant with “most of the dynamic data” are these: https://share.getcloudapp.com/p9uLP0G0

    Basically, if you’re planning to add these fields manually, then ACF would be helpful.

    As for the images do you manually make each image HTML for each “product”? Basically, how are these affiliate Products added to your site? Are they custom post types or are they added as products through WooCommerce for instance?

    For instance, see this article: https://www.isitwp.com/create-amazon-affiliate-store-wordpress-make-money/

    #2459918
    eran

    I manually make each image HTML for each product and it takes time with the pros and cons.

    The pages are custom post types (I make a page category and add them all to that category)

    I dont use woocomerce.

    #2459959
    Fernando
    Customer Support

    I see. If that’s the case, then ACF would really be helpful.

    So for instance, for the image, you can set the URL as a post meta text field and add the URL there. Or, you can also use an ACF image field, and manually upload the image. Either should work.

    You can simply retrieve the image through a GB Image Block.

    Example:

    Custom Field setup: https://share.getcloudapp.com/WnuZbQP1
    Custom Field value: https://share.getcloudapp.com/o0u9vWzd
    Image Block setup: https://share.getcloudapp.com/4gu4j6qx

    This retrieves the Image you set through the field.

    #2459971
    eran

    Will it be possible to add the image and change the link to pretty link?

    What I do now is add html code (the affiliate photo which is clickable) and in the wordpress add the pretty link to the photo.

    #2459978
    Fernando
    Customer Support

    Are you referring to an href link to redirect the page to a specific link upon clicking the image? If so, yes. The same concept applies. Just set the corresponding post meta field as the dynamic link source.

    #2459980
    eran

    Do I need the acf profor this or the free version is enough?

    #2459982
    Fernando
    Customer Support

    The free version should be enough with what you’re trying to achieve.

    #2459984
    eran

    Would you help me set it up? I didnt use acf before

    #2459989
    Fernando
    Customer Support

    Sorry, but something totally customized such as this would be out of our scope of support. Reference: https://generatepress.com/what-support-includes/

    It would be best to reach out to a developer regarding this. It may be good to look at YouTube or Google for sample tutorials on how to set up ACF. This link I shared previously should help as well: https://www.advancedcustomfields.com/resources/getting-started-with-acf/

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