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.

How do I insert a custom post type query after a certain number of recent posts and then resume recent posts?

I’d make a loop with 12 posts per page and after printing 4 posts I’d call another loop with 6 custom posts. Then go back and print the last 8 posts of current page. <?php $index = 1; $paged = ( get_query_var(‘paged’) ) ? get_query_var(‘paged’) : 1; $posts = new WP_Query(array(‘post_type’ => ‘post’, ‘posts_per_page’ => … Read more