Posts by Gabriel Roberto • 123 points
8 posts
-
0
votes1
answer14
viewsA: How to register an external style in the functions of wordpress?
You can make use of the following function: wp_enqueue_style( string $handle, string $src = '', array $deps = array(), string|bool|null $ver = false, string $media = 'all') In $deps, you need to…
-
1
votes1
answer86
viewsA: Alignment Table HTML5 content
The problem is in the structure you created to mount the table, try this way: <table> <thead> <tr> <th>Pacientes</th> <th>Como estou?</th>…
-
0
votes2
answers3540
viewsA: How to create and deploy masks for CPF, CNPJ, Data and Values?
For the date, you can use this code date('d/m/Y', strtotime('2019-03-28T00:00:00'));, if the date is coming to you with string. I believe this link will help you build the numeric values you need:…
-
2
votes3
answers101
viewsA: Operator ?: does not work
I believe the problem is in that part Fiscal : null + c.FaturaContasReceberP Try to do it this way by separating logic in parentheses. Documento = ( (c.FaturaContasReceberP.NotaFiscal != null ?…
-
0
votes2
answers254
viewsA: Check if user is administrator - WORDPRESS php
If you want to check if the current user is adding, you can use the function current_user_can('administrator') who will return true if the user is an attachor.
-
0
votes3
answers598
viewsA: How to change the "src" attribute of a <script> tag using Javascript?
To change the attribute of a tag script, you need to use the method setAttribute, passing as parameter the desired attribute and the value. const script = document.querySelector('script');…
-
1
votes1
answer26
viewsA: Access page other than standard
The wordpress has a route system that prevents you from accessing pages in this way. You can access this file by creating a page in the admin panel and selecting this file as a custom template. To…
-
2
votes1
answer93
viewsA: How to assemble this layout in Bootstrap 3
Using the bootstrap 3, unfortunately, it is impossible to assemble a layout same as what you want according to the first image above. I suggest you use the following plugin that so you can arrive at…
bootstrap-3answered Gabriel Roberto 123