Site logo

Archived topic

Can't remove comma between term items created with post meta block template.

5 replies · Started by Lilo on May 15, 2021

Viewing posts 1–6 of 6

Hi,

I've tried the 'generated_term_separator' function filter from the docs within code snippets without success. The post with the comma between terms is assigned to two categories.

Another possibly related flaw I've noticed is that paddings, margins and border radii applied to a the global style don't get applied to the post meta template when I set it to use the global style, the post meta template only inherits the background color.

I'm using localwp as my test environment.

Hi there,

Can you duplicate the issue on a live site so we can try to determine the issue?

Or we can revisit the issue once it's live.

Unfortunately we are unable to help with this without looking at the issue live.

Thanks!

Unfortunately not currently, I'm quite new to WordPress and have no hosting yet. I can export it with AIO WP Migration and upload the file somewhere.

The comma issue isn't urgent, I'll most likely use only one category per post anyway. But I wanted to let you know about it.

Are you talking about post meta created with the block element?

If so can you make sure the term separator field is empty?
https://www.screencast.com/t/m7qXe7X8O

The filter solution won't work for blocks.

This did the trick, thanks! Sorry, totally forgot about this field below the db icon, when I created the template I didn't even knew what a term separator was.

No problem :)

This archived topic is closed to new replies.