This topic has 10 replies, 3 voices, and was last updated 2 months, 2 weeks ago ago by Andrew Mitchell
Newly added taxonomy is not showing in the Single Product page meta. I have added taxonomy using ACF but it is not showing in the type in the Product meta of single product page.
Hello @Web hoster
We suggest you to read the answers on next topics where was the same request you have arrised by other customers:
1/ https://www.8theme.com/topic/how-do-i-show-acf-advanced-custom-fields-in-frontend-of-single-product-page/
2/ https://www.8theme.com/topic/acf-custom-field-not-shown-in-product-page/
Please understand that this request falls outside the scope of support for our theme, and we appreciate your understanding in this matter.
Thank you for your attention, and should you have any other questions regarding our theme, please feel free to contact us.
Best Regards,
Jack Richardson
8Theme’s Team
I have created a taxonomy of Author. How to add it along with SKU, Categories, Tags, GSTIN, Brand. The topics suggested by you was not regarding this. I have marked the place i want the taxonomy to be shown.
Dear @Web hoster,
I hope this message finds you well. We are writing to kindly request the provision of the correct WordPress admin and FTP access credentials. Could you please share these details in a secure, private area?
Additionally, we would appreciate it if you could provide us with the taxonomy information that you wish to display. This will enable us to recommend the most effective method of implementation for displaying it in your product meta details.
Thank you for your attention to these requests. We look forward to your prompt response.
Best regards,
Jack Richardson
The 8Theme Team
Want taxonomy Author to be shown in meta
Dear @Web hoster,
I hope this message finds you well. We have noticed that you are currently in edit mode of single product, could you please, close it so we could make our implementations ?
Thank you for your cooperation and assistance in resolving this matter. Your prompt response will greatly facilitate our support efforts.
Best Regards,
Jack Richardson
8Theme’s Team
Sorry. I was editing at the time. Please try again. I am closing the editing page now.
Dear @Web hoster,
I hope this message finds you well. We have recently made some updates to the single product access on your website and would appreciate it if you could review the changes at your earliest convenience. The results can be viewed here: https://prnt.sc/_wqc55e-gIcW.
Additionally, we have implemented a custom snippet (https://prnt.sc/2qygRrLRYX6s) in your child-theme/functions.php file as follows:
add_filter('etheme_product_meta_elements', function ($elements) {
$elements['authorname'] = esc_html__('Authorname', 'xstore-child');
return $elements;
});
add_action('etheme_product_meta_element_render', function($key, $local_product, $edit_mode, $_this) {
switch ($key) {
case 'authorname':
$authors = get_the_terms( $local_product->get_ID(), $key );
if ( count($authors) ) {
foreach ($authors as $author) { ?>
<span class="<?php echo esc_attr($key); ?>_wrapper detail-container">
<span class="detail-label"><?php echo esc_html__('Author', 'xstore-child'); ?>:</span>
<span class="<?php echo $key; ?>"><a href="<?php echo esc_url(get_term_link($author, $key)) ?>"><?php echo $author->name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></a>
</span>
</span>
<?php
}
}
break;
default:
// code...
break;
}
}, 10, 4);
This enhancement allows you to select the custom taxonomy named “Authorname” in the list of product meta widget items. You can see this update here: https://prnt.sc/8IPxXa4JkfSd.
Please review these modifications and let us know if everything meets your expectations or if there are any further adjustments you would like us to make.
Thank you for your attention to this matter.
Best Regards,
Jack Richardson
8Theme’s Team
Okay Thanks. Its working as needed
Dear Web hoster,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘I want to add a new taxonomy of author.’' has been successfully resolved, and the topic is now closed for further responses