Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter skwerlzu

    (@skwerlzu)

    I have figured out where I need to edit the ajax template, but I can’t seem to get the post content to show.

    $html .= '<div class="entry-summary">'. get_post(' . content . ') . '</div></article>';

    Thread Starter skwerlzu

    (@skwerlzu)

    Got that figured out.
    $html .= '<div class="entry-summary">'.do_shortcode( get_the_content() ).'</div></article>';

    Is there any way for me to use the template search results in the ajax field?

    Thread Starter skwerlzu

    (@skwerlzu)

    Meant theme results template

    Plugin Author TC.K

    (@wp_dummy)

    It’s depend on how your theme create the result template.

    By the way, when using get_the_content(), no need to use do_shortcode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AJAX Seacrch results’ is closed to new replies.