Posts by Rafael Cavalcante • 253 points
12 posts
-
1
votes1
answer31
viewsA: Which file in the wordpress theme that arrow the language to be used?
Save it, Wpfan! All right? Dude, I usually do the translations using a. mo and a . po file, generated by Poedit (I usually edit the . po file in hand, import it into poedit and export the . mo…
-
1
votes1
answer32
viewsA: Create unique content in Wordpress (no plugin)
Thierry, your idea to treat the parameter on the single is correct. You can use the parameter to validate and when it is not valid, display an error or redirect to another page. :)
-
0
votes1
answer107
viewsA: Width Percentage Flexbox
Rafael, try to use the Dimensions to capture the size of the device, create a rule of three that receives a value and make it a helper. I usually use this because the interfaces need to be exactly…
-
0
votes2
answers1031
viewsA: Problem when rendering image with React Native api wordpress
You are using the variable as a string. Remove the quotes from the value of the object you apply to the URI of the Image component. Ex.: <Image source={{ uri: this.props.post.image }} />…
-
0
votes1
answer205
viewsA: Different font style in each browser
Apply the same font-Weight to both fonts. Sometimes the rendered font opens in different ways as you apply it to a Markup that already has Bold by default, such as a H1, H2, etc. Also make sure that…
-
1
votes1
answer1520
viewsA: Update page when closing a modal
Use window.location.href to capture the current page and window.location.href=URL to redirect to a page. Ex.: var urlAtual = window.location.href; window.location.href=urlAtual; // aqui vai fazer o…
-
0
votes1
answer121
viewsA: Include Multiple Custom Post Type Files with Advanced Custom Fields
Unfortunately it is not possible with the basic ACF plugin. You can use some plugin similar to ACF or use the add-on Repeater, of the ACF itself. advancedcustomfields.com/Resources/Repeater…
-
0
votes1
answer78
viewsA: How to make the elements appear with the mouse scrool?
Speak, Zkk! All right? Checks whether that article solves your problem. The teaching is simple and in my opinion this is the easiest method to reproduce these effects. In addition to everything he…
-
1
votes2
answers147
viewsA: About menus on websites
Basically each item in the menu is duplicated, where the top item is the normal state (black background) and the bottom is that of Hover (white background). In the menu Anchor’s Hover, the first…
cssanswered Rafael Cavalcante 253 -
0
votes2
answers483
viewsA: Data type Date
You can use two fields (type Month and type number, with minimum and maximum value) or separate by javascript or php the value entered in the type date field. I usually use the second option.
-
1
votes1
answer84
viewsA: Slider Jquery UI
Furlan, the way you rode it, I don’t think it’s possible. Try to create blocks with 4 images, and make one block appear at a time. I updated your code (http://jsfiddle.net/7xk6Y/5/), I left two…
-
7
votes6
answers3343
viewsA: Methods to test websites in different browsers?
On one machine you can already use several browsers, another solution is www.browserstack.com. I use VM to test, as far as I’ve tried it is the easiest method.