Viewing 4 replies - 1 through 4 (of 4 total)
  • You are misunderstanding how the More tag works.
    The More tag is only active on list pages (like archive or index) that show full content. The theme controls whether the content or the excerpt is shown, and some themes have an option you can toggle.
    But on single pages, like a static home page, the More tag is not active, not even for a list type of block like Latest Posts block.

    Thread Starter iamPariah

    (@iampariah)

    Thanks, Joy.

    So, there’s no way to show post content before the More tag on a static home page?

    Is there a way to edit the index.php with the Block Editor, so that I can create Latest Posts blocks that correctly show post content from before the More tag?

    The embedded iframe code DOES work in the Excerpt field, but it’s inefficient to include the same code in two locations in the same table record.

    So, there’s no way to show post content before the More tag on a static home page?

    The More tag is inactive when the main query is the static page. The core blocks don’t change this. But some third party block might. I haven’t looked.

    Is there a way to edit the index.php with the Block Editor

    Not yet, but they are working on Full Site Editing. But you only use index.php as a fallback when there is no more specific template to handle the query. If you make a child theme and a home.php, that template would be used for the list of posts. You can put code for whatever else you wanted to put onto your home page in there. (copy index.php to home.php and add the other content)

    Thread Starter iamPariah

    (@iampariah)

    Okay. Thank you. I think I’m just going to stick with Classic Editor and editing (child) theme PHP and CSS for now. I’ve been working with WP since 2004, and the more I do with blocks, the more limiting I find them.

    • This reply was modified 4 years, 1 month ago by iamPariah.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Latest Posts Block Won’t Show Post Code’ is closed to new replies.