Custom Fields
Re-Envisioned
Support MB Views Targeting Singular Posts with MB Views

  • Creator
    Topic
  • #31725
    Matt V
    Participant

    My View shows up as expected when I use the following settings:
    Type: Singular
    Location: All Singular
    Render for: Only the post content area
    Position: Before the post content

    But my View does not show up when I try to target just single Post views by setting the location to: Posts > All

    I must be missing something, but I don't know what.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #31733
    Long Nguyen
    Moderator

    Hi Matt,

    Please try to re-save the permalink (Post name) then check the Site Health status in Tools > Site Health if there is an error message with REST API. Some screenshots would be appreciated.

    #31735
    Matt V
    Participant

    Hi Long,

    Here is how I'm testing this:

    1. I spun up a LocalWP site with WP 5.8.1 and installed MB 5.4.8 and MB AIO 1.15.2.
    2. I created a View with a simple H1 and set it to
      Type: Singular,
      Location: All Singular,
      Render for: only the post content,
      Position: Before the post content

    View the Hello World post. The H1 test appears as expected.

    1. Switch the Location from All Singular to Post.

    View the Hello World post. The H1 test is not there.

    Screencast of the last part here: https://cln.sh/wwrzoW

    The Site Health comes up clean as far as the REST API goes:
    https://cln.sh/KWYlGX

    Thank you as always for your time.

    #31738
    Long Nguyen
    Moderator

    Hi,

    I've also experienced that issue on my in a while. If you cannot select a specific post, that means the view is broken. Screenshot https://share.getcloudapp.com/nOu5P549

    You can try to create a new View and select the Location again. If you can select a specific post, the view will render the content as well. Screenshot https://share.getcloudapp.com/JrunDnRP

    #31739
    Matt V
    Participant

    I see. For whatever reason, making a new view does seem to work. Thanks for the tip.

    I'll know to check that next time, but that's definitely not how I expected it to work. And from my testing, it's a pretty consistent bug.

    Thanks for your time. Have a nice day/night.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.