aline.andrade
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Fatal errorIt is clear that this is a problem after the last update. There are already several complaints about it.
https://www.ads-software.com/support/topic/cannot-update-products-since-last-update/
https://www.ads-software.com/support/topic/product-save-times-out-to-502-error/Forum: Plugins
In reply to: [WooCommerce] Fatal errormemory_limit = 256M
max_input_time = 60
max_execution_time = 30
max_input_vars = 2000Forum: Plugins
In reply to: [WooCommerce] Fatal errorfatal-errors-2021-01-24-634d42a3ae20738392055d56d8f61ea1.log
2021-01-24T11:44:18+00:00 CRITICAL Maximum execution time of 30 seconds exceeded, em /home2/fiveam15/public_html/wp-includes/Requests/Transport/cURL.php, na linha 441
2021-01-24T11:49:35+00:00 CRITICAL Maximum execution time of 30 seconds exceeded, em /home2/fiveam15/public_html/wp-includes/pomo/entry.php, na linha 49
Forum: Plugins
In reply to: [WooCommerce] Fatal errorThis happened when I tried to disable a plugin.
Forum: Plugins
In reply to: [WooCommerce] Fatal errorFatal error: Maximum execution time of 30 seconds exceeded in /home2/fiveam15/public_html/wp-includes/Requests/Transport/cURL.php on line 441
Warning: Error while sending QUERY packet. PID=700540 in /home2/fiveam15/public_html/wp-includes/wp-db.php on line 2056Forum: Plugins
In reply to: [xili-language] datesIt returns the month in English and weekday in Portuguese.
I want him back
Tue 24 Aug
and
24 Agos ter<?php $recent = new WP_Query("cat=28&showposts=5&lang=en"); while($recent->have_posts()) : $recent->the_post();?> <p class="data"><?php the_field('data-evento'); ?></p> <?php endwhile; ?>
and
<?php $recent = new WP_Query("cat=28&showposts=5&lang=pt"); while($recent->have_posts()) : $recent->the_post();?> <p class="data"><?php the_field('data-evento'); ?></p> <?php endwhile; ?>
Forum: Plugins
In reply to: [xili-language] datesI put the tool and worked to format the date.
/*formatar a data*/ function my_date($thedate,$theformat) { /* param no used because php format */ /*return the_xili_local_time('%d %B %Y - %H:%M',strtotime(get_the_time('d/M/Y H:i'))); */ if (the_curlang() == "pt" ) { return the_xili_local_time('%d ' . de . ' %B ' . de . ' %Y',strtotime(get_the_time('d/M/Y'))); } else { return the_xili_local_time('%d' . th . ' %B %Y',strtotime(get_the_time('d/M/Y'))); } } add_filter('the_date','my_date',10,2);
Now how do I format the date of a custom field
<p class="data"><?php the_field('data-evento'); ?></p>
Forum: Plugins
In reply to: [xili-language] Search pageThank you for your help
it works! =DForum: Plugins
In reply to: [xili-language] Search pageThanks for your quick reply,
but I did not understand how it works.What I want is for:
When I’m on the site in English and tighten it in the search only returns results of pages marked in English.
When I’m on the site in Portuguese and tighten it just returns the search results pages marked in Portuguese.My code in the search in header.php is as follows:
<div id="busca"> <span class="btn"></span> <!--h3><label for="s"><?php _e('Search Media');?></label></h3--> <form id="searchform" class="blog-search" method="get" action="<?php bloginfo('home') ?>"> <div> <input type="search" id="media-search-input" class="txt" name="s" placeholder="<?php _e('Busca');?>" value="<?php the_search_query(); ?>" /> <button class="btn" id="enviar_busca" name="enviar_busca" type="submit">OK</button> </div> </form> </div>
How I should look?
Forum: Plugins
In reply to: [Timelines] Media image and media thumbnail won't be displayedI want the fields (date / month) in Portuguese language. How do I change the language of the month and date?
Forum: Plugins
In reply to: [Timelines] Media image and media thumbnail won't be displayedHow can I change the language?