Using menus to link to sections on the home page

Are you saying you named your homepage the same as your url? Don’t do that. I’m more curious about what code you put in your menus to attach the anchors though. You should have separate menus for pages if you are doing anchors on them. Your link should be #anchor. This way the page doesn’t … Read more

Limit the amount of main pages

Won’t it make more sense to limit number of pages that navigation displays? There are many instances when page is not wanted in navigation but still needed somewhere (I have privacy policy set up this way at my blog for example).

Add new post redirection [closed]

As t31os said, first thing you should do is disable all plugins, see if wp-admin/post-new.php works fine then, and re-enable them one by one, see which one is causing trouble. I would start with the plugin to change the admin theme, since this is the closest one to the admin dashboard.

homepage loading too slow

There was a thread on wp-hackers in December which could be related: Avoid query_post on frontpage on wp initialization. You may give Sergey Biryukov’s code a try: I was able to cancel the initial query with this code in the active theme’s functions.php file: function cancel_first_query() { remove_filter(‘posts_request’, ‘cancel_first_query’); return ”; } add_filter(‘posts_request’, ‘cancel_first_query’);

Skip 5 latest post while paging?

You can specify either paged for simple pagination, or offset if you want to do something special. Calculating the offset yourself is easy: just multiply the current page number (minus two) with the number of posts per page, and add your start offset: $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; $posts_per_page = get_option( ‘posts_per_page’ ), … Read more

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