Posts by Robison Luiz Fernandes • 41 points
8 posts
-
0
votes2
answers35
viewsA: Convert Two-dimensional String array Separated by comma
Thank you for the aid Augusto His reply was excellent. I had to include the array_combine() $formato = array_combine(array_keys($formatos), array_column($formatos, 'label')); $arq = implode(",…
-
1
votes2
answers35
viewsQ: Convert Two-dimensional String array Separated by comma
I need to convert this Array: Array ( [0] => Array ( [value] => pdf [label] => PDF ) [1] => Array ( [value] => csv [label] => CSV ) [2] => Array ( [value] => rtf [label]…
-
0
votes2
answers17
viewsA: Delete a certain category from Wordpress posts
You set the category you don’t want to be shown in the Loop within the $args Array Example: 'cat' => '-12,-34,-56' /* Exiba todas as postagens, exceto as de uma categoria, prefixando seu id com…
-
0
votes2
answers50
viewsA: UPDATE REPLACE works on Phpmyadmin but does not work on Workbench
According to Ricardo Pontual’s response. It would be possible Using a WHERE Clause, or using the Command SET SQL_SAFE_UPDATES. I used a WHERE Clause to allow the Bank to run. WHERE ID != 0;…
-
0
votes2
answers50
viewsQ: UPDATE REPLACE works on Phpmyadmin but does not work on Workbench
I can use this code on HphpmyAdmin: UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`, 'src="https://www.meusite.com.br/wp-content/uploads/2014/07/tipo.gif" alt="Baixar" width="24"…
-
0
votes1
answer121
viewsQ: Include Multiple Custom Post Type Files with Advanced Custom Fields
Good morning, I need to include several files in a Post Type, I am using ACF (Advanced Custom Fields), for the creation of custom fields. It is possible to do this without creating another post type…
-
2
votes2
answers1663
viewsQ: Problems with Font Awesome
Hello I’m having trouble with the Font Awesome, I am creating a page that I want to use the icons, I started linking the Font Awesome url, it shows the icons, then includes 2 more CSS files,…
-
0
votes2
answers111
viewsQ: Error in Admin paging
Hi, I migrated from the site web.dominio.com.br for www.dominio.com.br, I did not change folder only from url. I changed the siteurl and the home in wp_options, made a replace in the wp_posts,…