Apply ordering args to newly merged queried

Here’s what I’d do. This is mildly tested. It gets the IDs of all the posts you need and then builds a single query to get the posts in the correct order. // get your page IDs, I assume this returns an array of integers $page_ids = get_pageslug(” ‘first_page’, ‘second_page’ “); // get your blog … Read more

Next 10 posts data of currently viewing post in blog page

This will get you next 10 posts on single post template. <?php global $post; $current_post = $post; for ( $i = 1; $i <= 10; $i++ ) { $post = get_previous_post(); // this uses $post->ID setup_postdata($post); get_template_part( ‘content’, get_post_format() ); } $post = $current_post; // restore ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)