• Resolved lmstearn

    (@lmstearn)


    Hi,

    Using the editor, the idea is to insert an editable box, activated when a visitor clicks “Leave Comment?”: “Click Here.”

    Tried Insert before the separator, the popup options don’t include anything like an edit box, and what is actually created by default is a Paragraph.

    There is no Insert after the button , or before/after the next column, either.

    Must be missing something fundamental, and as fairly new to this, help appreciated.

    Thanks.

    • This topic was modified 1 year, 8 months ago by lmstearn.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lmstearn

    (@lmstearn)

    Here’s what there is in the editor (for 6.1.1):

    Somehow, the Post Content block has gone AWOL. Might have inadvertently removed the comment box previously in the editor error. Is there some way to get it back in there with the editor, or is it broken.

    Edit: Found the Comment Template by watching this video:

    Comments Block How-to

    Missed the handy looking WP button at the top left. Will post back on progress (or lack of). ??

    Moderator Kathryn Presner

    (@zoonini)

    Hi @lmstearn – glad you found the Comments block.

    Somehow, the Post Content block has gone AWOL.

    Your screenshot shows that your template is displaying a Post Excerpt, instead of the full post. If you prefer to display the full post, you can remove the Post Excerpt block and add the Post Content block instead.

    Since you mentioned being new to things, here are some resources for Site Editing and block themes that might be helpful, if you haven’t already checked them out. If you’re new to the block editor as well, there are many other tutorials at Learn.www.remarpro.com that you might find helpful.

    Let me know if you’re still stuck on anything and I’ll be glad to help!

    Thread Starter lmstearn

    (@lmstearn)

    Hi Kathyrn,

    Thank you very much for looking in, apologies for the delay, did browse through the links, thanks, it’s very detailed and well put together. ??

    Although there’s evidence in the following that some key points in the presentations have been missed altogether. ??

    Seems like a while ago now, there was, for some reason or issue of post content display, an idea to use an excerpt, followed by comments on the main page. An Advanced Excerpt plugin was used, and it seemed to have provided some visual improvement with some tweakage.

    Couldn’t work out all the rationale for using excerpts in any case, might have been something to do with line breaks, in which case from the answer given, was not sure where in what file to place the wpautop code.

    Anyhow, the main goal for the site main page is for it to consist of exactly one post, or a welcome message, with comment boxes following for visitor comments, as was the fashion with erstwhile guest books. Pretty much like how it is with the “Single Theme” template, for example. This will work, as you suggested, by replacing the Post Excerpt with Post Content.

    Placed a MySite_Comment_Block literal in the link rel of the “Click Here” button, hoping to match it up with a matching reference in the Post Content block, is that how it works?

    If, for some reason, the Post Content display doesn’t suit, is it possible to have a static Quoted block with a blank Post Content instead? The effect is the visitors are responding to the Quoted block instead.

    As a matter of interest, in order to implement an entire Post Content block in the query loop, One could copy a single template group from the templates page, how to paste/replace it as a group into the main site page?

    Thanks.

    Thread Starter lmstearn

    (@lmstearn)

    Created a static “Home” page, so looking at getting the Single template in for it. Funny thing, it was published today, but can’t find the file (sorting by date) for it anywhere in the ftp listings. In fact the other pages created cannot be located – are they in wp-content somewhere?

    Using this idea for the Single template, the single.html page has to be copied with an ID or slug – not sure if there is one created for the above-mentioned “Home” page. To what location must the copied php/html file go?

    Thanks again.

    Anyhow, the main goal for the site main page is for it to consist of exactly one post, or a welcome message, with comment boxes following for visitor comments, as was the fashion with erstwhile guest books.?

    Hi @lmstearn. Apologies for jumping into the conversation half-way but this is how I would go about things to get a comments form in the homepage:

    • Create a new post (to make sure that we have posts and that this new post in the most recent one). You can add the “content” of the page to that post.
    • Set your Site’s Reading settings to “Show recent posts” (as opposed to “Static Page”.
    • Head to the Site Editor and select your “Home” template.
    • Select the Query Block and turn off the “Inherit query from template” option.
    • Set the query to display just one post.
    • Edit the “Post Template” to add a new block. If you cannot locate a “Add before/after” option, you can simply select a block and press Enter. A new block will be added after the current one and you will be able to select the Comment Form Block

    I recorded a screencast with the steps, you can see it here.

    Would this make sense? Were you referring to this?

    Actually, it just occurred to me that there is an even simpler way to do this: You can enable comments on a page and set it as the static homepage:

    Screen Shot on 2023 04 03 at 19 02 03
    Thread Starter lmstearn

    (@lmstearn)

    @Alvaro Gómez: How nice to come in with helpful comments.

    Many thanks. Your first post provides valuable insight to the workings of all this, the second – omg – makes it look all so easy now. ??

    And not only that, the Page Summary section has a templates section where which any template can be applied, or even edited, – have to take care any template modifications are sitewide, though.

    Was also considering the possibility of adding something like the venerable Disqus, so the commenting user had a choice of logging in through that – probably a question for another thread, (and another time ). ??

    Sounds great! I will go ahead and mark this thread as solved but feel free to add a reply if something is unclear, @lmstearn!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Editable Box?’ is closed to new replies.