Posts by Felipe de Farias • 161 points
11 posts
-
0
votes2
answers36
viewsA: Error wordpress plugin, ie blank field in array
From what I understand you want to remove the schedule. I found here in his documentation the following: // Adicionar no seu functions.php add_filter( 'rtb_booking_form_fields', 'rtbht_hide_time',…
-
0
votes1
answer26
viewsA: How to register new things in Wordpress without using post type?
Usually this type of registration is done in pages or posts, using as an example the image gallery that you cited, if it will appear on the home page of the site, you can create it in the page…
-
1
votes1
answer22
viewsA: Insert Wordpress shortcode into a file . Twig
I found some things: {% filter shortcodes %} [wdi_feed id="1"] {% endfilter %} or: {{ function('do_shortcode', '[wdi_feed id="1"]') }} or, if this shortcode is in a custom field, just add the pipe…
-
1
votes1
answer55
viewsA: Generate random number and add Class on the body of the Wordpress login page
You need to concatenate the value and add it to $classes: function login_classes($classes) { $classes[] = 'bg_color_' . rand(1,5); return $classes; } add_filter( 'login_body_class', 'login_classes'…
-
1
votes1
answer141
viewsA: Wordpress Advanced Custom Fields Pro How to Activate Google Maps
You need to add the following code below in the file functions.php of its theme: function my_acf_google_map_api( $api ){ $api['key'] = 'xxx'; // Sua key return $api; }…
-
1
votes2
answers79
viewsA: Complex wp_query
From what I understand you could do a query searching for all future events that are happening. /** * Agenda de eventos */ $today = date('Y-m-d'); $args = array( 'post_type' => 'post_talk', //…
-
0
votes2
answers73
viewsA: How to use forech in Wordpress using the Wp_query variable
You can turn the class into a variable and create a counter, with each loop checking whether the counter is even or odd and change the class, see the example: <?php global $post; $args =…
-
2
votes2
answers568
viewsA: Tooltip CSS Transition
To run the animation with Transition you need the initial state, so I added the opacity: 0; html, then changed to 1 via javascript. See example.…
-
3
votes2
answers28807
viewsA: How to insert a first line indent with css?
Use the property text-indent: 40px.
-
0
votes2
answers40
viewsA: How to modify the width for the adaptation on tablets of a menu without media queries?
It actually uses javascript to make the exchange. Calculating the space needed for the menu and makes the break when this value is exceeded, one way I found to modify this is by adding padding in…
-
1
votes3
answers450
viewsA: Video Html5/css3
Hello, see if this example I’ve made helps you? #video { width: 100%; /* esta porcentagem é baseada na largura do video = 1980*100/818 */ /* fazendo com que a altura do video seja relativo a largura…