Posts by cbonomini • 180 points
11 posts
-
1
votes1
answer154
viewsA: Change mandatory wordpress field messages
This plugin already has full translation into English, you may only need to update the plugin or translation file - through the wp-admin even, in Painel -> Atualizações, at the bottom of this…
-
1
votes1
answer41
viewsA: Meta Property is not working on the face
Hey, Facebook, cache the Urls. If you did a test where the image was not informed, then corrected and tested again, the old one can still be presented. You can use the Facebook Sharing Debugger.…
-
0
votes1
answer18
viewsA: Add a subenpoint to myaccount Woocommerce
Logging as response, to make it clearer. To work, add the most specific endpoint before. add_rewrite_endpoint('multiple-address/form-address', EP_PAGES); add_rewrite_endpoint('multiple-address',…
-
1
votes2
answers112
viewsA: Registration wordpress letter uppercase
Hello, if you are using the standard Wordpress registration form, you can use the filter user_registration_email. The same can be added to functions.php of your theme or in a plugin. function…
-
2
votes1
answer354
viewsA: Dynamically add and remove fields with sum and multiplication of values
The validation where you are zeroing the total, is in the wrong place. You should validate after the loop that summed, and test if amount_sum is zero to zero. And test the total only to confirm…
-
0
votes3
answers290
viewsA: How to change text of <Legend> without knowing the id?
As the fiddle, you have already selected the item "0" for the class teste and assigned the variable list. No need to select again. var list = document.getElementsByClassName("teste");…
-
1
votes1
answer3187
viewsA: Change colors from zebra bootstrap table
In your css file overwrite the class table-Stripes: .table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th { background-color: red; } Change the color…
-
0
votes2
answers162
viewsA: Regex remove some elements from the style attribute
You can try to remove the other styles using replace, see the example below, in javascript: style = "color: red; background: #000; position: fixed; top:0; left: 0;";…
-
5
votes2
answers525
viewsA: Turn Sequence of Numbers into Data with PHP and SQL
This numeric sequence is the date in UNIX Timestamp format. There is already a function for conversion. Example in php: echo date('d/m/Y', 1464880280); echo date('d/m/Y', 1465580280); echo…
-
1
votes4
answers1091
viewsA: HTML DIV ID set with echo
Remove the function display loop and change to receive id per parameter. <script> function display(divId) { var elem = document.getElementById(divId); alert(elem); if(elem.style.visibility ==…
-
1
votes1
answer23
viewsA: view posttypes on the wordpress site
There are some ways - Wordpress follows a standard for displaying posts. An important point is the hierarchy of pages used by Wordpress, see more here. But let’s go to the practical examples - I…