[Support request] Content below Posts on category page

Home Forums Support [Support request] Content below Posts on category page

Home Forums Support Content below Posts on category page

Viewing 15 posts - 31 through 45 (of 45 total)
  • Author
    Posts
  • #1007961
    Leo
    Staff
    Customer Support

    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.

    #1007998
    Sonja

    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?

    #1008029
    Leo
    Staff
    Customer Support

    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!

    #1008044
    Sonja

    Yes i have looked on the converter. But it makes a <p> </p> on every return. And i don´t need this.

    Maybe GPP can implement a feature like i wrote in https://generatepress.com/forums/topic/feature-request-5/

    #1008046
    Leo
    Staff
    Customer Support

    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.

    #1008067
    Sonja

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

    #1008078
    Sonja

    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.

    #1008242
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #1008840
    Sonja

    That would be great.

    #1100077
    Michael

    Any progress in this area? I’m having the same issue:

    Here’s my custom field:
    http://prntscr.com/q8xg73

    Here is my hook:
    http://prntscr.com/q8xh3w

    And here’s the output:
    http://prntscr.com/q8xafa

    I adding that using the functions.php file and the line breaks worked so maybe I should go back to that. But just curious if there’s a solution to my current approach.

    #1100446
    Tom
    Lead Developer
    Lead Developer

    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!

    #1381688
    Sonja

    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.

    #1381779
    David
    Staff
    Customer Support

    Hi there,

    We just added Block Elements to GP Premium 1.11 which is still in Beta.
    Which has the power of the Hooks with the Block editor.

    https://generatepress.com/gp-premium-1-11-0-block-elements/

    Other wise the hook element will rely on you adding HTML

    #1381973
    Sonja

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

    #1382289
    Tom
    Lead Developer
    Lead Developer

    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.

Viewing 15 posts - 31 through 45 (of 45 total)
  • You must be logged in to reply to this topic.