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
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- Display all product tags associated with a specific product category
- why get_the_post_thumbnail( the_ID()) echos extra post id
- How to access deleted term inside delete_product_cat action
- Apply WordPress function on specific woocommerce product categories only
- Filter WooCommerce archive pages by an additional category
- How to echo woocommerce category name
- Eliminate word from $term->name
- What Must to Display the “mysite.com/category” URL?
- Query (built in) Categories and Advanced Custom Fields?
- Custom tax_query filter not working for Woocommerce product categories
- How do order product categories – on a parent category page – in Woocommerce?
- WP 4.7 in_category change?
- Woocommerce filter function not updating
- Adding custom ID field to the categories
- How can i change what one category displays?
- Remove any product that is featured from regular display loop [WooCommerce]
- Two Sections on Woocommerce Catergory Page [closed]
- Woocommerce search form with category select
- Get posts of a custom post type from category from taxonomy?
- How to display product with two condition, category and brand taxonomy
- Show different menu on each woocommerce category page
- Illegal string offset ‘taxonomy’ in
- Style a category from category list
- ACF no print data [closed]
- Same menu for different taxonomies to reach different content
- Change categories count to include media attachments
- How to schedule categories?
- Template for product-category page [closed]
- How to get selected taxonomy or category ID if using custom walker?
- Let user select their own category
- Copy post taxonomy?
- How could I write a get_categories_by_year() function?
- Get posts in a subcategory of a chosen parent
- Setting selected term_id with wp_dropdown_categories?
- creating categories programmatically
- Natural sort / ordering wp_dropdown_categories
- How to get posts using category slug in ClassiPress?
- Best way to categorize/populate a magazine style layout
- Combining these queries? (Same taxonomy term + same category as post)
- sidebar troubles, taxonomy trouble
- Displaying posts of given category
- Display ACF category image on archive and single template files
- get_the_category – display only a single category for a post (not all categories)
- WooCommerce shared categories
- display category with background color
- displaying the last product comment in the woocommerce category
- Displaying Single Product Page Parent and Child Category
- Category post count is not correct
- Disable Category Taxonomy
- Woocommerce only display child category when parent is checked (on add new product page)
- WordPress Default Category and Custom Taxonomy Selected Attribute not Working After Searched in wp_dropdown_categories Array
- Automatically adding tags and categories into Post Excerpt for searching
- category description not showing in my woocommerce
- Show subChild categories
- Visual composer custom element error
- Conditional label Woocommerce archive [unsolved]
- How can i change sort category view starting from child then parent, not alphabetically
- WordPress 5.4 and higher: Filter posts by category 1 AND category 2 in API requests
- Show audio player only in specific post type category
- How to set the same base url for two different taxonomies?
- How to make product image inherit from category image
- How to show given products only using product id array from specific category page in woocommerce
- Limit categories to hierarchal depth of 2
- Shop Category Pages missing s
- WooCommerce REST API not returning the default products category
- In if…else condition, the else statement shows even if if statement is correct
- How to show WooCommerce Categories on ‘shop’ page instead of products?
- How can I display all products from all categories on one page with woocommerce?
- How to add all subcategories as submenu in WordPress menu
- How to edit woocommerce sub-category page
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- Filtering posts in category by tag URL
- WordPress Portofolio Conditional Templating – functions php
- Parent Category and Subcategory default text generated with category
- Post List by category and under custom taxonomy
- in post content shortcode works, but hardcoded in same page template doesn’t?
- Is there a reason to put a product in both the Child and Parent Categories?
- WordPress category title not update in navigation menu
- How can I add different custom fields for each category in the same post?
- WooCommerce showing active product categories on single product page
- selecting categories that have products with tag/category
- Bulk assign posts to a category using SQL (MySQL)
- Restrict retrieved terms by category?
- How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
- How to display custom fields as table in Woocommerce
- get taxonomy list in a page in the wordpress
- Number of categories slowing down the site