NO BUG: Search Template Issues - Template Fields like Featured Image getting Overwritten by Query on Page

Hi @Tom ,

I am sorry to say this is not a bug.
{post_title}, {post_excerpt} or {featured_image} will never show “bricks_template” post type data in actual frontend.

Example:

  • Single Template for Pages
    {post_title} in the frontend will be the page title

  • Single Template for Posts
    {post_title} in the frontend will be the post title

  • Single Template for CPT
    {post_title} in the frontend will be the post title

  • Archive Template for Taxonomy
    {post_title} will be the first result post’s title of the current taxonomy page. If you are talking about your “Courses” archive template, it is working because you are using the hardcode method, not {post_title}


    (suggest use {archive_title})

  • Archive Template for Custom Post Type
    {post_title} will be the first result post’s title of the current archive page
    (suggest use {archive_title})

  • Search template
    {post_title} will be the first result post’s title of the current search term
    (suggest use hardcode text)

Hope the explanation above and my suggestions make sense.

Regards,
Jenn