himanshu Dhingra
asked 5 years ago

Hello sir
when i am searching, only text is shown, not even image of the post. I want when I search something, the posts in the search result should contain the content before more tag in the post.
the website is http://www.gutargoo.com
Please help me.

1 Answers
DominicStaff
answered 5 years ago

Hi,
Please send me username & password of your site (via private answer) for further checking.

himanshu Dhingra
replied 5 years ago

Hello.Thanks for quick reply.I am really sorry. I am not allowed by company to share password, is there any code of a particular php file you want to see?I can share that.Waiting for a positive reply.

Dominic Staff
replied 5 years ago

I have checked on our demo and i think you need add the image to the Feature Image on the right hand side.See the screenshot:

himanshu Dhingra
replied 5 years ago

Hello sir.Due to some reasons, we can not add feature image, we add image directly to the post.Now how can the images will be visible, what changes should i do in search.php code.please help sir.waiting for positive reply.

himanshu Dhingra
replied 5 years ago

Hello sir.Please help me regarding this issue as no images are there while search and i can not add featured image. I want the first image of post to be visible while search. Pls reply

Dominic Staff
replied 5 years ago

To resolve this issue, you can open the content.php file in the folder path "wp-content\themes\dw-wallpress". Find the line 59 then replace with the following code: <?php the_content(); ?>
Hope this helps !

himanshu Dhingra
replied 5 years ago

Thanks a lot sir.It worked 🙂

Powered by DW Question & Answer Pro