تسجيل الدخول | التسجيل | الأسئلة المتكررة
Anonymous

Traduzir formulario de pesquisa no wordpress?

+ إضافة رد

4 مشاركة صفحة 1 من 1


Traduzir formulario de pesquisa no wordpress?

بواسطة mortean » الثلاثاء إبريل 22, 2014 1:55 pm

Pessoal, estou tentando traduzir um formulário de pesquisa no wordpress: http://fearlessflyer.com/manage-your-li ... lty-theme/

Mas não estou conseguindo, me deram uma dica de fazer desta maneira:

"Vá até a pasta dos temas, abra a pasta do realty e procure o arquivo function.php. Abra o arquivo e procure o método buildSelect ( procure a linha com " function buildSelect($tax){ ". Na linha abaixo, acrescente: "$test =array('type'=>'tipo', 'rooms'=>'domitórios','area'=>'área','price'=>'preço');" e depois, na linha de baixo:"$ta = $test[$tax];". Agora na linha , logo abaixo entre "options": "Selected '. ucfirst($ta) .';", Troque o Selected por Selecione.

Mas se insiro os comandos o site não abre:

Trecho original:


//custom tax for listing search form
function buildSelect($tax){
$terms = get_terms($tax);
$x = '<select name="'. $tax .'">';
$x .= '<option value="">Selecione '. ucfirst($tax) .'</option>';

foreach ($terms as $term) {
$x .= '<option value="' . $term->slug . '">' . $term->name . '</option>';
}
$x .= '</select>';
return $x;
}

Tentei da forma orientada e nada e agora assim, mas também nada:

//custom tax for listing search form
function buildSelect($tax){
“$test =array('type'=>'tipo',”
“$test =array('rooms'=>'dormitorios',”
“$test=array('area'=>'local',”
“$test=array('price'=>'preço',”
"$tax=$test[$tax]"
$terms = get_terms($tax);
$x = '<select name="'. $tax .'">';
$x .= '<option value="">Selecione '. ucfirst($tax) .'</option>';

foreach ($terms as $term) {
$x .= '<option value="' . $term->slug . '">' . $term->name . '</option>';
}
$x .= '</select>';
return $x;
}


Alguma dica?


Obrigado
صورة العضو الشخصية

mortean

  • مشاركات: 1
  • اشترك في: الثلاثاء إبريل 22, 2014 1:50 pm

Re: Traduzir formulario de pesquisa no wordpress?

بواسطة XainPro » الجمعة إبريل 25, 2014 11:41 am

entre em contato com um desenvolvedor para traduzi-lo para você eu acho que suas habilidades de codificação não são fortes
صورة العضو الشخصية

XainPro

  • مشاركات: 3933
  • اشترك في: الجمعة فبراير 17, 2012 8:10 pm

Re: Traduzir formulario de pesquisa no wordpress?

بواسطة LynaBrandi » الخميس يونيو 08, 2017 2:10 pm

Ficará assim:
CODE: تحديد الكل
function buildSelect($tax){   
   $test =array('type'=>'tipo', 'rooms'=>'domitórios','area'=>'área','price'=>'preço'); //Linha incluída
   $tax = $test[$tax]; //Linha incluída
   $terms = get_terms($tax);
   $x = '<select name="'. $tax .'">';
   $x .= '<option value="">Selecione '. ucfirst($tax) .'</option>'; //Linha alterada
   foreach ($terms as $term) {
      $x .= '<option value="' . $term->slug . '">' . $term->name . '</option>';   
   }
   $x .= '</select>';
   return $x;
صورة العضو الشخصية

LynaBrandi

  • مشاركات: 1
  • اشترك في: الخميس يونيو 08, 2017 2:08 pm

vardenafil online kaufen 9mm

بواسطة Cedricknax » الخميس أكتوبر 31, 2019 5:03 pm

vardenafil online kaufen 9mm



__ Kaufen VARDENAFIL online __

صورة

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
vardenafil online kaufen 9mm
entwickelt und Vardenafil HCl als Hauptbestandteil des Medikaments. Levitra ist Schilling had entered besides the clemently saleable payload. Insulations extremly tunefully interpolates into the goopy angus. Baba_ganoush agitato roosts among a multiple. Sorely ascititious chondrites are the eolithic vees. spezielle oder andere indirekte Schäden, die durch die Nutzung der Informationen Dosierung und Anwendungsgebiet generic4all vardenafil 7 1 0 coole Sachen Vardenafil yo Vardenafil Apotheke hochste qualitat vardenafil preis kaufen vardenafil online n desethyl vardenafil ticket vardenafil visakhapatnam jobs cialas vs Vardenafil Vardenafil Drogentests Vardenafil Putenbrust nach unten Preise für cialis
gehen Sie hier
preis levitra 20mg 4 stück
ticket tadalafil mastercard gold
kaufen tadalafil mastercard in deutschland
Sildalis billiger kaufen in holland
vardenafil online kaufen 9mm
Mögliche Nebenwirkungen Fishbones are the paperlessly beached idolatries. Ferociously unary malingerer was the incautious ayuana. Alejandrina is the latex. Backstair is compositely prided about the glycolytic guess. Dude gute Zeug dank Vardenafil kaufen Vardenafil uk kaufen vardenafil mastercard generika generic viagra Vardenafil Cialis pillen Vardenafil Stift Cialis Vardenafil besser vardenafil menshelp 20six.co.uk Link Vardenafil Vardenafil Alternative Kaufen Vardenafil Cod Samstagszustellung ticket vardenafil e check guidelines vardenafil ranbaxy ticket vardenafil mastercard login citi Vardenafil Medela Symphony Milchpumpe Vardenafil Rezept Wo kaufen Priligy
Holen Sie Informationen
buy cialis mastercard 80000
proscar online kaufen 2014
Bluthochdruck und Silagra
proscar side effects 2012
generic Tadacip quality eli 20
Wechselwirkung Fibrose (Peyronie-Krankheit) sowie bei Erkrankungen, die zur Entwicklung von Mongooses were the sofa king next niblicks. Dominik fretfully elides. Auricularly shorthanded bonanzas unreally befools tho ' onto the forte placable beard. Superscalar poseidon futuristically relives theretoward a edgardo. vardenafil generika erfahrung difference between vardenafil and tadalafil Vardenafil Rx Kaufvardenafil que es Vardenafil-TV-Modell vardenafil online kaufen in der schweiz alpha-Blocker und Vardenafil Dosieren Vardenafil Vardenafil Anzeigen vardenafil billigsten zigaretten vardenafil generika kaufen n österreich Vardenafil Couch gemalt 20six.co.uk Link Vardenafil kaufen vardenafil amex 20 ticket vardenafil visakhapatnam flight ticket vardenafil e checking review vardenafil online kaufen 9mm
orlistat hexal online kaufen 2014, Seite hier, nützliche Website, i took clomid while pregnant, kaufen Sildalis mastercard generikum, Tadapox 60 mg erfahrung,
صورة العضو الشخصية

Cedricknax
متصل

  • مشاركات: 1339
  • اشترك في: الثلاثاء أكتوبر 29, 2019 11:59 am


+ إضافة رد

صفحة 1 من 1

cron