WordPress sub-posts and permalinks

Pages work this way, so you could either use pages or create a new post type (you’d need the hierarchical => true: function codex_custom_init() { $labels = array( ‘name’ => _x(‘Books’, ‘post type general name’, ‘your_text_domain’), ‘singular_name’ => _x(‘Book’, ‘post type singular name’, ‘your_text_domain’), ‘add_new’ => _x(‘Add New’, ‘book’, ‘your_text_domain’), ‘add_new_item’ => __(‘Add New Book’, … Read more

Using pagination with multiple loops causes it to break

The first problem can be solved by changing the query_posts in your work section. Replace ‘&category_name=work’ with ‘&category_name=work&paged=1&posts_per_page=-1’ For the second problem, why not use the category template itself in place of index.php? As a side note, you should not use query_posts for this use case. In place of that you should use a new … Read more

How to avoid duplicate Url for the home page

From the comments: What are your settings under Dashboard -> Settings -> Reading. Specifically, what are your Front Page Displays, front page, and posts page settings? And your reply: exactly this is the point, the client has used a Theme called Choice and in the Theme Frontpage Settings there is this page selected :”Welcome to … Read more