キャンセルされた

Wordpress Job by carlosgonca

hello. i´ve already a site in wordpress with design and many thing, It is in two language, but no problem about that. This site is [url removed, login to view] If you click in "products" You can see all products in child categories of "products". when you click in one of them, you can see products about this child categories, Try GENERAL SURGERY. You can see two products but the first error: the name of child categories is showed two times. When You click in one of them, for example, the first product, should go to this page "http://www.ashermedical.com/site/en/cranio-fix-bone-cement/", but it goes to the same page. I know that I have to customize this code, but how to do this?

code "

<?php

foreach((get_the_category()) as $childcat) {

if (cat_is_ancestor_of(12, $childcat)) {

echo '<a href="'.get_category_link($childcat->cat_ID).'">';

echo $childcat->cat_name . '</a>';

}}

?></h3>

<?php

foreach((get_the_category()) as $childcat) {

if (cat_is_ancestor_of(icl_object_id(12, 'category', false), $childcat)) {

echo '<div id="thumb-category"><a href="'.get_category_link($childcat->cat_ID).'">';

echo do_shortcode('[types field="imagem-1" alt='.($childcat->cat_ID).' title="'.get_category_link($childcat->cat_ID).'" size="thumbnail" align="none"]') . '</a><div>'; (i´m using type plugin to show the first image of product), cAN YOU HELP ME?

}}

?>

"

スキル: Wordpress

さらに表示: how to customize wordpress site, echo design, imagem, custom type, bone, php image href, wordpress custom image, image div show, div fix, cement design, wordpress category page error, wordpress field type, custom size, alt image, plugin custom design products, wordpress category child, custom product wordpress plugin, wordpress custom field, custom wordpress category page, wordpress types plugin, www 51, custom project php, customize category, thumbnail categories, wordpress site error

採用者について:
( 8件のレビュー ) rio de janeiro, Brazil

プロジェクトID: #1352173

この仕事に、1人のフリーランサーが、平均$30で入札しています。

goldensolution

Hired by the Employer

$30 USD 2日以内
(259件のレビュー)
7.9