Viewing 6 replies - 1 through 6 (of 6 total)
  • Translation:

    What type of data do I need to return in a WordPress plugin to be able to use it as a data element in the system?

    I’m not sure what exactly you mean by that. Could you please describe your request in more detail?

    Thread Starter Alcione Ferreira

    (@ksombrah)

    Exemplificando:

    Alguns plugins conseguem integrar widgets no sistema do wordpress para serem usados no front, independente do tema usando

    Tem casos que vi tipos de plugins que geram galerias que s?o acessadas por atalhos e podem ser inseridas nas publica??es.

    O que preciso é disponibilizar, por exemplo, uma coletanea de dados para serem usados na montagem no site idenpendente do tema: tabelas, listas, dados em geral…

    I’m still not sure what you’re getting at. As far as I understand it, you want to be able to display data on the website regardless of the theme.

    This is already possible with various plugins. An example would be a form plugin like WPForms. There you create the form in the backend and configure it. You then insert a shortcode or block for the output in the frontend.

    There are similar solutions for tables, e.g. with the TablePress plugin, or galleries, e.g. with the commercial plugin RevSlider, but also others.

    Now I don’t know how this information will help you? What exactly are you looking for?

    Thread Starter Alcione Ferreira

    (@ksombrah)

    O que preciso é pegar os dados atraves de uma RestFull de uma API externa e poder usar como dados do sistema.

    Exemplo: consultar os dias que minha agenda tem disponível na api e usar em um elemento de calendário do wordpress

    Seria um caso, n?o sei se consegui exemplificar, n?o quero usar um plugin existente, estou criando o meu próprio para isso

    Now we are getting a little closer to your actual concern. Of course, you can also request an external API with individual programming and then use its data in WordPress.

    However, WordPress does not have any ready-made components for the output into which you can simply insert the data to get an output in a format of your choice. You have to take care of the formatting yourself. I would recommend working with templates.

    I would recommend that you first take a look at the manual for plugins: https://developer.www.ads-software.com/plugins/ – this will give you the basics with which you can then build templates for your data.

    Thread Starter Alcione Ferreira

    (@ksombrah)

    Entendi, mas é essa a ideia, mas precisamente que possa ser agregada em forma de componente, conjunto de dados ou widgets, estive olhando a documenta??o um pouco, mas ainda n?o achei algo que exemplifique com mais clareza como chegar ao ponto

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