Custom setup of wordpress comments that are displayed

Try adding the following code to your comments.php template file (where you want the “next page”https://wordpress.stackexchange.com/”prev page” links displayed): <?php paginate_comments_links(); ?> This should enable multiple pages for your comments. Also, check out this Codex page (paginate_comments_links) for more information. Hope this helps 😉

posts not showing on index.php

The template naming is a bit confusing in this situation, but what is happening is normal behavior in the Template Hierarchy. home.php shows your posts page, whether it’s on the front page, or assigned to another page when using a static front page. If you want your home.php template to be used for your static … Read more

How to get the first post and second post in a wordpress blog?

Have you tried using WP_Query()? $query = new WP_Query( ‘posts_per_page=2’ ); You can also split it into two quieries if you must, with an offset: $query = new WP_Query( ‘posts_per_page’ => 1 ) ); // First post $query = new WP_Query( ‘posts_per_page’ => 1, ‘offset=1’ ) ); // Second post

Add $values to post_class()

Multiple post classes should be separated by a single space or should be in an array. post_class(“$even_odd $current_post $current_in_total”); Or post_class(array($even_odd, $current_post, $current_in_total));

Where do wordpress posts go?

You should have a Posts menu item, like Pages. If it’s not visible, there is possibly code in your theme, or a plugin hiding the menu item. Look through your plugins and their options, and/or switch to a default theme to determine where this is happening.

Security to delete post by Admin

At first, read something about WordPress Ajax API and about Roles and Capabilities – capability to “edit_posts” has even Contributor. I would suggest to check for ‘delete_others_posts’ to prove the user is at least Editor. Or use capability of ‘manage_options’ (has Administrator, not Editor). Further, there is a check ajax referer function for you to … Read more