Posts by Elder Carvalho • 189 points
8 posts
-
0
votes1
answer837
viewsQ: Change src of an image
How to replace src of an image being passed with a php function to get the image directory
-
0
votes1
answer50
viewsQ: Circle between inline-block elements in firefox
I wonder what are these circles inserted between some elements with display inline-block in the firefox Mozilla, because they take up space and disturb the layout.…
-
1
votes1
answer26
viewsQ: add_term_meta does not execute
I need to create a term with the same name of the post, for this I’m using the action save_post. The term is normally created but when adding metadata the add_term_meta function does not perform.…
wordpressasked Elder Carvalho 189 -
0
votes0
answers69
viewsQ: next_post_link() function for posts in the same category does not work
I need to generate a button for the next post in the category and am using the following code <?php next_post_link('%link','<span class="button-1">%title</span>',TRUE); ?> But it…
wordpressasked Elder Carvalho 189 -
0
votes0
answers3990
viewsQ: How to customize the layout of the Woocommerce product catalogue?
In which file do I change the item structure of the Woocommerce product catalog? I’m listing the products on the home page with shortcode [products] and this way. I would like to make some…
-
1
votes1
answer1118
viewsQ: How to pass a php array as a $.ajax data parameter?
How to pass a php array as a $.ajax data parameter? Ex: <?php $nomes = array('maria','joao','jose'); ?> $.ajax({ url: 'pagina.php', dataType: 'json', method: 'POST', data: {'nomes' : <?php…
-
0
votes1
answer216
viewsQ: Filter elements from one list and show in another
I need to filter elements from a list and show in a result list. I did the following code: var ele = []; $('.search').keyup(function(event) { var val = $(this).val().toUpperCase();…
-
6
votes2
answers554
viewsQ: How can I leave half a side of a curved element inside as in the figure with css?
I need to make a menu exactly the same as in the picture, the problem is that I can’t make the bottom curve of the element, preferably I would like to do only with css, but if not, another solution…