Posts by Tássio Gonçalves • 143 points
6 posts
-
11
votes4
answers994
viewsA: Why does Input Type Email validation accept pointless domains?
validation occurs only on account of @, domain is actually a name, ex: tassio@dominio, not necessarily need to be a sub domain (with dot), eg: [email protected], In what situations can this…
-
-1
votes1
answer68
viewsA: Allow another website in a hosting with wordpress
Hello, there is a way that I know will work for sure, do the following: Put the wordpress installation in a folder also ex: www.site.com.br/site/ and your other site as follows…
wordpressanswered Tássio Gonçalves 143 -
1
votes2
answers921
viewsA: Loop of the Wordpress category
In fact wordpress it will recognize the file Category.php by default to display the posts of a category, just put the following code: <?php if ( have_posts() ) : while ( have_posts() ) :…
-
0
votes2
answers373
viewsA: List POSTS in Wordpress by views
Hello, this caio solution is very good and really right now if you want a filter by Date, for example: I want to show the most viewed of the last 15 days. I made the following code, if anyone can…
-
1
votes2
answers597
viewsA: Insert buttons to share posts in Wordpress
Hello, I’ve used plugins for this but the best solution I found was to do by hand, it is lighter and simpler to customize. $GLOBALS['url'] = "url of your template"; <div id="compartilhamento">…
-
0
votes3
answers2825
viewsA: Check whether a date and time (timestamp) represents the current day
I always use in language because it does not depend on the BD processing, in this case you can do as follows: SELECT * FROM tabela WHERE dh.envio = (DIA ATUAL NA PROGRAMAÇÃO); If it’s PHP for…