best way to build 3 column layout

About this forum
These forums have not been active for several years. They're available for search and reference, but a lot of this information is likely out of date.

For current information, try visiting our Knowledge Base.

Home / Support / Custom Module Development / best way to build 3 column layout

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #109357

    Nathan
    Participant

    I’ve been reading about repeater fields and all the requests for people who want front end display of ACF custom fields.

    I think I am beginning to understand that front end solutions are better than queries of custom fields (from the back end) for clients. I get this.

    What is the best way to build this, for example? see screenshot:
    http://360demo.aistaging.net/wp-content/uploads/2016/03/repeaterfields-.png

    I already have built it out simple using a 3 headings, 3 dividers, and 3 text dividers (in a 3 col layout). See it here right under the give now button:
    http://360demo.aistaging.net/

    But what if I wanted to create a module (kind of like the callout module) that would allow the client to enter the statistic and the text, called “cool statistic,” and that would automatically add the divider and allow the user to pick either 2, 3 or 4 columns, OR already be set to 3 (whichever is programatically easier).

    I researched repeater fields but couldn’t figure out if this is what I needed. I tried implementing the code but I’m afraid my knowledge of php is limited to common loops and wordpress queries (what I use everyday to call ACF fields in their custom post types and style them with css for the front end).

    I hope this question makes sense and thank you for anyone who can help me understand how to build this!

    Marisa
    [email redacted]

    #109358

    Nathan
    Participant
    This reply has been marked as private.
    #109421

    Ben Carlo
    Keymaster

    Hey Marisa,

    I’ve already assigned another member of the team to assist you with your concern.

    Ben

    #109572

    Justin Busa
    Keymaster

    Hey Nathan,

    Can you shoot me a copy of your custom module so I can have a look at your code? I’ll give you some pointers once I see that.

    Thanks!
    Justin

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Custom Module Development’ is closed to new topics and replies.