Posts by Leonel Costa Braz • 171 points
18 posts
-
0
votes1
answer130
viewsA: Strings not detected by Polylang.
Hello, dear "user49915" :) Polylang strings are meant to translate what themes and plugins save into the database, you know, into their configuration screen... If the placeholder is not in this…
-
1
votes1
answer1873
viewsA: Woocommerce customer registration
Hi @Marcos. It sure does. There’s a nice article here: https://iconicwp.com/blog/the-ultimate-guide-to-adding-custom-woocommerce-user-account-fields/ Take a look! Maybe you can formulate a more…
-
0
votes1
answer1218
viewsA: Behavior of the Cart in Woocommerce
Try to enable the "Redirect to cart after a successful addition" option in the "Woocommerce > Settings > Products > General" menu. Print:…
-
2
votes1
answer461
viewsA: Update cart status without leaving the page | Woocommerce 3.4+
you can use the "woocommerce_add_to_cart_fragments" hook that Woocommerce triggers when updating the cart. The function below will replace the HTML element with a new one. functions.php: function…
-
0
votes1
answer239
viewsA: Create and query Wp
You need to create a table within the Wordpress database. You can use the "dbDelta" function to create the table structure and the "wpdb" api for CRUD (Create, read, update and delete occurrences).…
-
0
votes1
answer27
viewsA: Problem with wordpress site on server migration
Update the permalinks in "Settings > Permalinks > Save". This will rewrite .htaccess. Should work. (https://codex.wordpress.org/Settings_Permalinks_Screen)…
-
1
votes2
answers164
viewsA: Filter Loop Wordpress
To make queries to the Wordpress database use the Wp_query class. If you want the last post, for example: $args = array( 'posts_per_page' => 1 ); $query = new WP_Query( $args ); You can use…
wordpressanswered Leonel Costa Braz 171 -
0
votes2
answers93
viewsA: Wordpress and Google Analytics: how to avoid administrative area count?
If you want to do it in hand, here it goes: Install the plugin https://br.wordpress.org/plugins/header-footer/ Enter in the Footer tab: <? if (!is_user_logged_in()) { ?> <script…
-
0
votes2
answers152
viewsA: how do I delete a wordpress category from google results?
You can try using the Yoast plugin and apply the code and remove only the category at hand: Install the plugin: https://br.wordpress.org/plugins/wordpress-seo/ Add the code to your functions.php:…
wordpressanswered Leonel Costa Braz 171 -
1
votes1
answer394
viewsA: Wordpress - change post title in page header
You can use the "wp_title" filter. In your functions.php file you can insert something like: function trocar_titulo($title){ if(is_single()){ return "Notícias"; } return $title; } add_filter(…
wordpressanswered Leonel Costa Braz 171 -
0
votes2
answers31
viewsA: Add a blog to a site built on WP
I would recommend you create one subdomain instead of a subfolder, will give you less headache (permalinks, httacess...) and creates a sense of drive p/ the blog. There you do the installation the…
wordpressanswered Leonel Costa Braz 171 -
0
votes1
answer461
viewsA: Problems accessing Multisite wordpress site panel
The first thing you can do is update the permalinks on: Configurações / Links permanentes / Salvar This will update the rules in . htaccess
-
2
votes2
answers55
viewsA: Remove ? resize= from image url
The general rule is to remove all suspicious plugins (like the ones you mentioned) and see if the problem persists. If you solve, add one by one again until you find the "culprit". Once you find the…
-
0
votes1
answer204
viewsA: How to disable thumbnail within wordpress post
I would try to add the code below in your functions.php: function remover_post_thumbnail($html, $post_id, $post_thumbnail_id, $size, $attr){ if(is_single($post_id)){ return ''; } return $html; }…
-
1
votes1
answer58
viewsA: Error Wordpress - Curl library
You can try updating the permalinks by going to: Settings > Permanent links > Save Changes. Also, try to clear the cache. Search for cache plugins and try to perform a cleanup.
-
0
votes1
answer270
viewsA: How to make a normal image of the post in thumbnail - WORDPRESS
You can turn this embedded image in the post into "featured image" of the posts using the plugin auto post thumbnail. According to the description: Auto post thumbnail is a plugin to generate post…
-
1
votes1
answer297
viewsA: List 3 items side by side
You can use the function arr_chunk to break the array into pieces of 3: arr_chunk(array,quantidade); So you already create the structure and do not deal with the contents: <div class="row…
-
1
votes1
answer139
viewsA: Hierarchy of templates - Wordpress
Fala Peter. As you yourself mentioned, the documentation image already gives a good help. I will make a possible path and you answer with questions if you have. So, basically just create the files…