Posts by Gustavo Araújo • 71 points
4 posts
-
0
votes2
answers1823
viewsA: Side menu with 100% height does not match the size of the div "content"
100% height will track the value of the parent element, you must have another div that holds the side menu that is not set to height: 100%; so it takes the initial size of the browser window without…
-
0
votes2
answers228
viewsA: Loop wordpress with different div positions
If I understand correctly you want to modify only the layout, the way the posts are displayed, if that’s right, I put an example below: // Função de busca de posts de uma determinada categoria e…
-
1
votes1
answer141
viewsA: Error on date output in full: decimal number goes up to 5
Follows modified code Just call Function and write. function numeroEscrito($n) { $numeros[1][0] = ''; $numeros[1][1] = 'um'; $numeros[1][2] = 'dois'; $numeros[1][3] = 'três'; $numeros[1][4] =…
-
3
votes1
answer191
viewsA: Pass PHP code to HTML
So Lukas, it is not possible to include a snippet of PHP code in an HTML file, that should be . php, you must change the extension of your . html file to . php and insert the code. You are running…