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

Деталі: want to find php developer in trivandrum, preetileen want in different style and design, n sathiyamoorthy auditors in t nagar, mumbai want in dubai mechanical engineering job, how much money do editors want in south africa, how to predict how many employees you want in the future, woocommerce category parent, wordpress category parent, wordpress sub category parent, category pagination woocommerce, create product category page woocommerce, category description woocommerce, find product category description woocommerce, add header image category pages woocommerce, product category template woocommerce, category page woocommerce wordpress, category descriptions woocommerce, oscommerce add category parent begining urls, custom title category wordpress, add title category oscommerce, oscommerce title category, oscommerce category parent, add category parent begining urls

Про роботодавця:
( 9 відгуки(-ів) ) Jelenino, Poland

ID Проекту: #11790394



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 відгуків(-и))

15 фрілансерів(-и) у середньому готові виконати цю роботу за zł73


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 відгуків(и))

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 відгуків(и))

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 відгуків(и))

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 відгуків(и))

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 відгуків(и))

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, [login to view URL] Troubleshoot [login to view URL] Configurtion [login to view URL] P Більше

zł100 PLN за 1 день
(59 відгуків(и))

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 відгуків(и))
zł105 PLN за 1 день
(31 відгуків(и))

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 відгуків(и))

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 відгуків(и))
zł75 PLN за 1 день
(1 відгук)

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 відгуків(и))

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 відгук)

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 відгуків(и))