nadjavoss
Forum Replies Created
-
Oi, tentei o mesmo código no functions.php, porém para retirar número e bairro e n?o funcionou.
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
function custom_override_checkout_fields( $fields ) {
unset($fields[‘billing’][‘billing_neighborhood’]);
unset($fields[‘billing’][‘billing_number’]);
return $fields;
}Há algo errado no código? Como proceder? Eu n?o uso nenhum campo no checkout a n?o ser Nome, Sobrenome, E-mail e CPF, mas n?o importa o que eu fa?a, Número* e Bairro continuam aparecendo.
Forum: Networking WordPress
In reply to: Subdomains@jkhongusc, you can switch by changing the “define(‘SUBDOMAIN_INSTALL’)”; to true or false, and then changing the
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $1 [L]in the .htaccess ($1 becomes $2).
My problem is with the wildcard. @nnikolov, it is set up *.domain.co, with the A pointing to my site’s IP. My host told me that the subdomains folders are created as subdirectories, so I have the site1.domain.co, and the folder for it is domain.co/site1/wp-admin, and that is why WPMU can’t access it. I can’t change it in the system (they told me), is there a way to make WP follow the path?
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Domain Mapping not workingI have a similar problem.
First I put the domain2.co with just an A pointing to the main site IP, but nothing happened. Then I tried everything, I put it as an addon domain, nothing, I created dns1.domain.co and dns2.domain.co and set the domain2.co with those. All I got from A pointing and CNAME was a hosting screen saying the DNS was bad.
I deleted it all and parked (alias) the domain2, it sent to the main domain just fine, but parked is just like redirection, one type the adress and then is sent to another, and I want the mapping in MU so the person can only see the typed URL.
I tried to reach for my hosting, but they don’t seem to understand what I need, or I don’t know what I need, they said to addon the domain2 and just redirect it.