The style-attribute is not in the span-tag, but should be. Further you are using the php opening tag inside of the echo tag (copy-paste?).
change
'<span class="termek-oldal-kategoria-teszt"> style="background-color:<?php the_field('kollekcio_szine'); ?>"'
to
'<span class="termek-oldal-kategoria-teszt" style="background-color:'.get_field('kollekcio_szine') . '">'
(sorry, I would have commented, but I don’t have enough reputation)
Related Posts:
- ACF: Display category name using taxonomy field
- Redirect to another page using contact form 7? [closed]
- Include WooCommerce product to all child categories
- How to display a value inside a post with a specified category from a category custom field? [closed]
- List just subcategory and products of active category page in Woocommerce
- Grandchild Term Things Grandfather Term is It’s Parent
- How can i add service category here? [duplicate]
- How to target all woocommerce categories that don’t have any subcategories in them?
- Show the parent taxonomy by creating shortcode in woocommerce?
- Get WooCommerce product category list in functions.php
- Woocommerce custom taxonomy order
- Add custom fields to Woocommerce Category Page
- Display All Products by Category with WooCommerce
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Woocommerce get category image full size
- Control term order on a per-post basis
- Can a Child Category Have More than One Parent?
- Reflect nested categories in appearance > menus
- Create terms when registering taxonomy?
- How do I edit pre_get_post for the category the user is currently in?
- How to Override default update_count_callback for category
- Does WordPress Offer a Way to Find All of the Categories that Don’t Have Children?
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- wp_list_categories, Add class to all list items with children
- Getting WordPress custom taxonomy/category?
- Display empty taxonomy terms with get_terms()
- Return category slug / title from category ID
- Connecting WordPress gallery to custom categories (taxonomy)
- Get term by slug in Gutenberg
- How to get the depth of a category’s subcategories
- New categories are now going to 404s
- Best way to programmatically link to multiple categories (union/intersection) [closed]
- “Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
- Display “add to cart” button on every listing in product category page?
- Get multidimensional array that reflects category hierarchy
- Can I use get_adjacent_post for specific categories?
- Taxonomy filter all children
- Woocommerce category show subcategories only/omit posts for specific category
- products nested by subcategories in a current category archive
- WC 3.x Get categories from variable product of the cart
- Force a user’s posts category
- Search Posts / Pages with multiple options?
- How to filter out Categories for specific post types on WordPress Admin?
- Pagination not visible on woocommerce’s category page
- Remove product category placeholder image (Woocomerce)
- Change thumbnail image depending product category
- Woocommerce custom category pages
- How to “group” (categorize) the Pages together?
- How can I edit the ‘Most Used’ tab in the categories meta-box to show another custom taxonomy?
- Why don’t posts show up in my categories on the frontend?
- How many categories can WordPress handle before performance suffers?
- Targeting Parent Category Pages
- Categories are not listing their respective products
- Display single category name in woocommerce loop
- woocommerce related products by specific categories [closed]
- Notice: Trying to get property of non-object in : custom fields category
- WP REST API not retrieving all categories
- Some categories missing on wp-admin/edit-tags.php?taxonomy=category
- Display all product tags associated with a specific product category
- Eliminate word from $term->name
- Query (built in) Categories and Advanced Custom Fields?
- Adding custom ID field to the categories
- Style a category from category list
- How to schedule categories?
- Template for product-category page [closed]
- Copy post taxonomy?
- How to get posts using category slug in ClassiPress?
- Combining these queries? (Same taxonomy term + same category as post)
- get_the_category – display only a single category for a post (not all categories)
- display category with background color
- displaying the last product comment in the woocommerce category
- Disable Category Taxonomy
- How to make product image inherit from category image
- How to add all subcategories as submenu in WordPress menu
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- in post content shortcode works, but hardcoded in same page template doesn’t?
- How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
- get taxonomy list in a page in the wordpress
- Number of categories slowing down the site
- How do I merge WooCommerce categories with the same name?
- How to create a category loop on my blog (ACF Plugin)
- How to delete WooCommerce categories in bulk that only have one product
- Product Category page showing all products
- How to load terms of a custom taxonomy of a product in woocommerce cart page
- Create duplicate category page with content variations
- Renaming default category taxonomy?
- How to echo Tags and Categories as plain text
- How can I add HTML classes for current taxonomy/term hierarchy into my pages to simplify styles?
- Display List of Categories Within a Custom Taxonomy
- Taxonomy for custom post type not found
- Why is my post categories not displaying?
- Assign a category by user and customize the edit-tags.php?taxonomy=category page
- Custom Woocommerce Category view
- Displaying categories and subcategories without link
- Sorting Woocommerce products by category and attributes
- How to get Woocomerce categories count
- Categories and products woocommerce wordpress
- Function to reference post meta in place of category Woocommerce
- hide_empty property not working when using get_terms
- How to make /category/ URL load properly instead of 404 error?