Posts by Felipe Correia • 71 points
5 posts
-
0
votes3
answers1100
viewsQ: How to run PHP code only once a day?
I’m using the Facebook and Instagram Apis on a project. I basically query posts respectively from each social network and insert in the wordpress database, saved the ID of each post and do a check…
phpasked Felipe Correia 71 -
3
votes2
answers93
viewsA: Stylize elements at various levels above
To do this only with HTML/CSS it is necessary to use a hack with checkbox. Mind the adaptation I made to your code in that fiddle: #btnControl { display: none; } #btnControl:checked + .whatever {…
-
1
votes3
answers1244
viewsA: Show Data in Div Jumping Line
When you use innerHTML you replace every loop everything that is inside the div and place the new content. In other words, when passing through the first loop he added the number 1, when passing…
javascriptanswered Felipe Correia 71 -
1
votes2
answers61
viewsA: Adapt css to viewport
For responsive layouts it is necessary to use meta tag viewport, this is an example that I use a lot on my responsive websites: <meta name="viewport" content="width=device-width,…
-
1
votes0
answers737
viewsQ: Facebook Api: How to get a page feed using PHP?
I’m trying to pull the posts from a facebook page and display them on a website, what I need mainly is the photo and caption of each post. I’m using the following code: <?php require_once __DIR__…