Not display an image of category of custom post

First of all $category->$term_id is wrong use $category->term_id I don’t think $category->$term_id will give you the desired result For this you must have create some meta for the image in the backend. term_image_id = get_term_meta( $category->term_id, ‘your-term-id’, true ); Here the term id is $category->term_id and the term value is your-term-id Can you please check … Read more

WordPress Website is Auto-Posting strange posts

You can be hacked by someone and they automatically post their content on your site. When I had my own site I faced the same problem and here I read an advice to change the password. Then it helped me, you can try.