Site logo

Archived topic

Content below Posts on category page

44 replies · Started by Marius on September 11, 2019

Viewing posts 31–45 of 45

Maybe a service like this would help?
https://wordtohtml.net/

Shouldn't be that difficult to put a <p> tag around each paragraph (not sentence) either.

Sorry I couldn't be more helpful.

Yes, since i know that, this can be done. But it is not very practical.

But my question was, why this is needed in hooks, and why i don´t need this in posts or pages? there must be a reason for that, right?

I believe the main reason is that hooks element is also commonly used to insert things like PHP and javascript so the normal text editor wouldn't work.

Therefore it's using a code editor instead of normal text editor,

The converter I linked above is probably the best solution for now.

Sorry for the inconvenience!

But it makes a <p> </p> on every return. And i don´t need this.

Isn't that what the default text editor does? I'm not sure how it would know when you want/don't want the <p> tag otherwise.

I really can't recall other similar requests for this but I've forwarded that request to Tom.

that was an error, I wrote <p>&nbsp;</p>, but here the editor took this away.

But in general it is like this:

I use always the text editor (no visual, no gutenberg). If i want a line break, i hit the return button. Then in text editor a new line begins. But i don´t see any p tags there.

The P tags are only shown in source code.

In text editor i only use tags like h2, bold, italic and so on. And these tags i see directly in text editor, cause i set them.

The Element editor is somewhat advanced, so it's free from things being automatically added (like <p> elements. It's actually a plus in a lot of scenarios, but it can be a pain for things like this.

We're working on a solution for that :)

That would be great.

Hi there,

Any chance you can open up a new topic? This one is quite long.

A screenshot of the custom field itself all filled out would be useful as well.

Thanks!

Hi Tom,

ist there a solution for that, as you mentioned? I need to put individual text on the bottom of many tag archive pages and want to use the normal text editor to do so.

So I can only use this, if I use Gutenberg? Because I don´t use Gutenberg, and I don´t want to.

That's correct. Since the block editor is the future of WordPress, we decided to go with that. The Classic editor isn't going to be a part of WordPress forever, unfortunately.

This archived topic is closed to new replies.