Skip to main content

Howt to post_meta data from own plugin?

Comments

8 comments

  • KC George

    Hi Kazimierz,

    We recommend that you use WordPress function add_shortcode in your plugin and in the Brizy Template just use Shortcode element. It would be best not to utilize our implementations as we don't currently have API; doing so could cause your implementation to break in further Brizy upgrades.

    0
  • Kazimierz Karczewski

    Hi George,

    This method does not solve my problem. Can I contact you in private?

    --
    BR
    Kazik

    0
  • KC George

    Hi Kazimierz,

    Since your question is related to development, one of our developers need to answer your questions. A developer drafted the above reply. We do not have a channel for users to interact with our developers. Hence a private discussion is difficult.

    0
  • Kazimierz Karczewski

    However, this does not solve my problem. The my website layout is prepared in Brizy. I need to add a CPT with some fields for galleries, links to files maybe a field with address data. I don't need to use complex plugins for this. I'am satisfied with what Brizy contains. The my site will be heavily loaded. I care about the speed and reliability of the website. I don't have now the time and the client doesn't have the budget for me to write a theme for him. So. Is it possible for the Brizy devoloper team to add a small functionality to retrieve data from the post_meta table for CTP. Data for example in this form (array after deserialization):
    array('type' => "gallery",
              'data' => array('1','40','39') );
    1,40,39 as the file id from the media library. Will be usable for gallery in Brizy.
    or
    array('type' => "link",
    'data' => array('1','40','39');
    1,40,39 as the file id from media library. Only to be used as a download link.
    e.t.c...
    On this way Brizy is reading the data from the wp_post table in database. The simplest solutions are the best. :)
    It probably shouldn't be difficult, and it will be a new good functionality. Developer team will not need to add filters to ACF and other plugins of this type. On my site is to prepare the data in post_meta so that brizy can reads it correctly. 

    0
  • KC George

    Hi Kazimierz,

    Can I suggest a non programmatic approach for your project? Please think about basing your CPT on a WooCommerce product. You can use WooCommerce's product gallery to setup your CPT gallery. Consider using the Advanced Custom Fields plugin to add file links and an address box to Products. 

    You can use the Shop/Category Archive template to build a listing of your CPTs, and a Brizy Template for Products to display your individual CPTs.

    0
  • Kazimierz Karczewski

    Hey KC George, get down to earth. Read carefully what I wrote. I don't expect advice on installing Woocommerce and ACF and using them to get around Brizy's little bug. I don't want a WP with a million plugins and unnecessary code and security holes. If I needed shit, I'd buy a ready-made theme with a million plugins bundled together into one big "workaround" for problems. After all, Brizy reads data from the wp_post database table in the same way. This is not some cosmic requirement. Three types of fields, gallery, attachments and address... I will be grateful for support in this topic, not advice on how to get around the problem...

    0
  • Ariel H.

    Hi Kazimierz,

    Thank you for the update.

    While we appreciate your suggestion and understand the value it would bring to our product, unfortunately, this specific modification is not possible at this time. However, I can submit your idea as a feature request. Our development team carefully reviews all feature requests and evaluates them for inclusion in future updates to our product.

    Thank you for your understanding and for your valuable feedback. If you have any other suggestions or questions, please don't hesitate to reach out to us.

    Kind regards,
    Ariel H.

    0
  • Kazimierz Karczewski

    Hi, Ariel

    I still remain with the problem. Your development team may consider introducing new features in the futher , and I have now to launch a new website. Unfortunately, the website layout is prepared with  Brizy. I think I'm starting to like Indian programmers and their plugins. Despite their "you get what you pay for" policy, patching or improving software is not met with the "unfortunately... not currently possible" response. I think I need to change Brizy to something that will meet my expectations for use as an engine for the site I'm preparing (i.e. simplicity, speed and no million of the usless plugins).

    Best Regards
    Kazik K.

    0

Please sign in to leave a comment.