進行中

WooCommerce - show only parent category title

I have a very simple job.

This script displays in my shop categories to which the product belongs.:

global $post, $product;

$cat_count = sizeof( get_the_terms( $post->ID, 'product_cat' ) ); ?>

<div class="cat_title"><?php echo $product->get_categories( ', ', '<span class="posted_in">' . _n( '', '', $cat_count, 'woocommerce' ) . ' ', '</span>' );?></div>

I want to list the name ONLY parent category, without sub-categories.

Currently, the script displays a parent category and its subcategories. Must display only parent category.

スキル: PHP, WooCommerce, Wordpress

さらに表示: sathiyamoorthy auditors nagar, woocommerce category parent, wordpress category parent, wordpress sub category parent, category pagination woocommerce, category description woocommerce, product category template woocommerce, category page woocommerce wordpress, category descriptions woocommerce, oscommerce category parent

採用者について:
( 9件のレビュー ) Jelenino, Poland

プロジェクトID: #11790394

アワード:

artiboria

Thank you so much for this great opportunity. I have 9+ years of experience in this field and can provide you my past work sample. I am an expert in WordPress, Magento, Joomla, PSD to HTML conversion, LOGO Desigi もっと

zł75 PLN 1日以内
(27レビュー)
4.7

この仕事に、15人のフリーランサーが、平均zł73で入札しています。

durgesh8527

Hello buyer, I have more than 7 years experience in Web Design & Development. Dedicated to Wordpress, Joomla, HTML5, CSS3, E-Commerce-Websites, PHP, MySQL and Responsive design. Lets discuss more on chat window. Po もっと

zł90 PLN 1日以内
(46件のレビュー)
6.0
pinakisen2014

Hi there, I have gone through your project requirements in details and I am looking forward to discuss about this project. We are an experienced and dynamic team of designers/ programmers, expertise in php,wordpress,Ht もっと

zł70 PLN 1日以内
(78件のレビュー)
5.5
ersharmadinesh19

Hi, Greetings of the day!! Thanks for review my Bid. I have gone through from your description and can do this work comfortably. Please open this PMB. Waiting for your response!! Regards, Dinesh もっと

zł75 PLN 1日以内
(26件のレビュー)
5.2
subratadev

Hi Gone throug you requirement. I want you check my profile and reviews of my customers. Hope you will be one of them soon. We belive in total professionalism. Waiting for your reply. Subrata

zł50 PLN 1日以内
(69件のレビュー)
5.3
shashankkani

Hi , I have created & customized more than 50 around PHP scripts for my client . I have good experience in nodejs , javascript & PHP scripts . I have made PHP scripts as per client requirements. you can se もっと

zł75 PLN 1日以内
(31件のレビュー)
5.4
psubramonian

Hello There, Hope you're doing well. We are handling the server with 6+ years of excellence in hosting business with various clients and our services are, 1.Server Troubleshoot 2.DNS Configurtion 3.Reverse P もっと

zł100 PLN 1日以内
(59件のレビュー)
5.2
junaidgulzar0786

I read through the job details extremely carefully and I am absolutely sure that I can do the project very well.

zł75 PLN 1日以内
(43件のレビュー)
4.8
zł105 PLN 1日以内
(31件のレビュー)
4.1
phpmastercoder

Hi, I am master developer, I have worked with all the techs eg. Joomla, Wordpress, Magento ,Prestashop, Opencart, zencart, shopify, I really in need of Work. I have read the Project description, I am very much co もっと

zł40 PLN 1日以内
(29件のレビュー)
3.4
jasphineinfotech

We believe our experience with Web Development and WordPress and how to use it to suite people’s unique business needs makes us a viable choice to help you get your website launched and working for you just the way you もっと

zł75 PLN 1日以内
(3件のレビュー)
2.9
zł75 PLN 1日以内
(1レビュー)
3.0
lakhankaushal

Hello, My name is Lakhan, I have a vast working experience in WordPress website development and have developed number of WordPress Themes in my career. I have been using foundation and bootstrap for Making Responsive もっと

zł35 PLN 0日以内
(10件のレビュー)
2.5
kashifunisol

Hi, I'm a front end & web developer and I have more than 6 year experience.I have more experiences in CSS,HTML and PSD to HTML I am also working in a site for update ie App Designing, Template designing, landing Page もっと

zł75 PLN 1日以内
(1レビュー)
0.0
sktseema15

Hi, Greetings! -------------------------------------------------------- I have gone through your requirement and understand project requirement. We are software professionals and having expertise in Wordpres もっと

zł75 PLN 1日以内
(0件のレビュー)
0.0