Manage WordPress Options Data With Bricks Forge Pro Forms

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 9

  • @hamburger--fries
    @hamburger--fries 5 месяцев назад

    Wow! You saved me so so much time. I was using ACF for a Book website -- Library with digital books. ACF is a pain in the ass and so so so slow. This Bricks Forge is incredible and very fast. I am using it for Post-Types -- Create New Book and Add Book to Topics and Categories. This is so so cool. Game changer!

  • @MB-sl8pw
    @MB-sl8pw 5 месяцев назад

    This is super awsome. Is there a way to store something like an array of data so that i can retrieve more data from one identifier eg. If i had a hotel website i would like to get all data for room 1a and then data for room. 1b
    This way i would end up with a lot of variables for each room

    • @aperturedigitalmarketing
      @aperturedigitalmarketing  5 месяцев назад

      @@MB-sl8pw at the end of the vid I go over this
      There's so much PHP involved that it's going to be a premium tutorial.
      But yes it's possible to store an array of data and use the data in a query loop or call it with dynamic data tags.
      Start at the last chapter to see what I'm working on. It's pretty darn cool 😎
      If you need something custom built, I can help with that too.

    • @MB-sl8pw
      @MB-sl8pw 5 месяцев назад

      @@aperturedigitalmarketing That sounds good, the premium tutorial. This just comes as a gift cause i really dont like acf as i cannot style eg an admin page properly as far as i know. Here its so much easier to style it its excatly what i been looking for..looking forward to the tutorial 👍

    • @hamburger--fries
      @hamburger--fries 5 месяцев назад

      @@aperturedigitalmarketing I would pay for a premium guide with anything that might include a function, variables, etc.

  • @th3doorMatt
    @th3doorMatt 3 месяца назад

    Is the PHP Echo call method still viable in the most recent version of Bricks? (Version: 1.10.3 as of writing)
    I know there have been a lot of changes to how code is executed, especially how PHP is executed, as part of their security measures.
    I am following the same method and using:
    {echo:get_option('sort_order')}
    with "sort_order" my option name
    That is not working as a Value, nor as a Placeholder.
    However, I am able to display the value accurately in the Option field, so I know the value is stored and the name is accurate.
    Looking for some help and advice - great tutorial though!

    • @aperturedigitalmarketing
      @aperturedigitalmarketing  3 месяца назад +1

      @@th3doorMatt you have to sign all you PHP functions using the Bricks code review tool
      Then, add the provided snippet from the code review/ signing process over in the child theme.
      This tutorial broke for me until I added the snippet to the child theme.
      It's a pain, but a good security practice since this PHP from the builder is stored in the database rather than the file system.
      If it doesn't work, we can hop on a screen share and see what's going on and get it sorted.

    • @th3doorMatt
      @th3doorMatt 3 месяца назад +1

      @@aperturedigitalmarketing thanks! got the echo function added to the child theme functions.php file and now it's pulling through. I suspected that was the issue but thanks for pointing me in the right direction. I am 100% in agreeance with their decision to take those precautions, even though it requires a little more tweaking. I also wish that Snippets plugins were a little smarter in how they applied stuff like that; oh well. thanks again!

    • @aperturedigitalmarketing
      @aperturedigitalmarketing  3 месяца назад

      @@th3doorMatt woo hoo! Cheers mate.