Posts by Rafael • 159 points
13 posts
-
-3
votes1
answer637
viewsQ: Add numbers from multiple Strings in PHP
How do I add the numbers of several Strings in PHP, for example: string(2) "66" string(1) "5" I wish to obtain the result of 66 + 5 = 71.
-
3
votes1
answer355
viewsQ: Interpret XML file tags with PHP
I’m having trouble interpreting an XML file with PHP. The difficulty I have is not being able to get the values according to their tag. The xml loop brings this difficulty to me. See a summary of…
-
2
votes3
answers969
viewsQ: Creating an Activity and calling multiple Layouts can be harmful?
As I am still walking in the study of Android applications and read things in this regard, I wonder if, for example, I have only one Activity and several layouts being called from it, there is a…
-
0
votes1
answer137
viewsQ: Create a single change function for multiple CSS selectors in Jquery
I use the function below to add CSS classes (blue, red, pink...) in a DIV ". container" from a select "#selcolor". Is it possible for me to use this same function in other select tags with different…
-
2
votes1
answer484
viewsQ: Google follows URL from data-href?
On my site there are links to certain Urls that open with Jquery and the data-href attribute. This attribute is inserted into a normal div that functions as a button. Ex.: <div class="open_url"…
-
1
votes0
answers32
viewsQ: Wordpress main loop change impacts on server?
I used pre_get_posts to change the loop of my Wordpress site. The idea of this loop is to not display posts that I set an expiration date, whose dates are added in a custom field (postexpiry). Do…
-
0
votes0
answers54
viewsQ: Valueless custom field appears in meta_key query in Wordpress
When creating any Custom Field with the ACF plugin, even if I don’t add any value to it in a post, when making a query via meta_key these posts that have no value are displayed. For example, I…
-
2
votes1
answer67
viewsQ: Delete expiration date information in Wordpress posts
I am using the code below to inform the time it takes for a post to expire on my Wordpress site, whose expiration value I define in a Custom Field (expiration). From this code, as I prevent a post…
-
-1
votes1
answer267
viewsQ: Sort Wordpress posts with Jquery or meta_key and meta_value
I intend to use the code below to sort and group by posts section of my Wordpress site. This would be applied to Home Page and Categories, where each post would feature the css class according to…
-
2
votes2
answers489
viewsQ: Delete post through meta_value Wordpress
When I create a Wordpress post, I determine an expiration date through a plugin called Post Expirator. My question is how can I delete these posts from the home page, categories and the like when…
-
0
votes2
answers675
viewsQ: Fold transition effect with CSS
I’m using the code http://codepen.io/rsvaz83/pen/aORzBy below to create a fold transition effect on a button, but I can’t avoid the white background that is in the top left corner of the button.…
-
2
votes3
answers365
viewsQ: How to use multiple $_GET in PHP through a URL
Through a URL, I want to display a set of information in the HTML of the page, however, there are values I want to repeat in certain URL’s and others not. Example:…
-
2
votes2
answers11418
viewsQ: How to open a page in a new tab without leaving the current page
What I want is something that works like target="_blank", but I don’t want to leave the page where the link was clicked. That is, when clicking on the link, apparently nothing would change, keeping…