Custom Fields
Re-Envisioned
Support MB Views 'Only the post content area' setting does not seem to work on Archives

  • Creator
    Topic
  • #27420
    Resolved Henri
    Participant

    Hi Metabox,

    I want to add a search box at the top of a specific archive. The archive is of an CPT event. I thought to add a shortcode to the top of the archive page. So I selected 'Only the post content area' and 'before the post content' settings. As a rule I added Archive and Event Archive. However, it does not display the search box. So I thought to replace the shortcode with just text to see if it displays. It doesn't though. Is this a bug, because for other locations it just works. Not with the archive locations though.

    Please advice. Kind regards, Henri

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

    Hi Henri,

    To add the search box on the archive CPT page, you should choose Render for: The whole page layout, including header and footer or The layout between header and footer.

    Refer to this topic https://metabox.io/support/topic/tag-archive-my-view-gets-ignored-when-rendering-only-the-post-content-area/

    #27426
    Henri
    Participant

    Hi Long,

    thanks for the reply. I watched your video on the other support post. I understand that when I choose to replace the content with the setting 'Only the post content area' it would replace all the content of each article on the Archive post. I understand this. So this can't be used to add content above the archive.

    However, when I do this on my website with Kadence Theme installed, I would expect that the excerpt of each article would be gone of each item on the archive page and replaced by the text I added to the MB view. Nothing happens though. See my recording here of what I mean: https://share.getcloudapp.com/OAuPGzEO

    Kind regards, Henri

    #27452
    Long Nguyen
    Moderator

    Hi Henri,

    Can you please switch to another theme (Twenty TwentyOne) and re-check the issue?

    #27453
    Henri
    Participant

    Hi Long,

    just did. The theme change doesn't affect the issue. It is still not working. I even deactivated all other plugins except for the metabox plugins and WPVividStaging. And it is still not working as you describe it would. So there must be something else wrong, I guess.

    #27486
    Long Nguyen
    Moderator

    Hi,

    For the next step of troubleshooting the issue, please share your site credentials via this contact form https://metabox.io/contact/, I will take a closer look.

    #27535
    Henri
    Participant

    Hi Long,

    Thanks for your offer, but I can't provide access at the moment to the website I'm working on. I've just created a fresh website and there it works like you said. So there is something wrong with the website setup I'm working on. I'll get to it later this month and see if I can share some credentials. I'll contact you then via the email address you pointed out.

    Kind regards, Henri

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