Is it possible to skip certain specified pages when using < prev and next > links?

Haven’t checked the plugin you mention… but I use this solution for doing an “author” navigation. I adjusted the functions and this should probably work without the plugin (untested). You need to adjust the ID, and the conditions itself if you want more exclusions. [edit: corrected functions, the queries were missing the menu_order condition] notes: … Read more

List child pages by slug not ID?

Why don”t you use get_page_by_title() to get the page object, and then pass its ID as the child_of parameter? If you would rather use the actual slug, then get_page_by_path( $slug ) should do the trick. So: if ( $page = get_page_by_path( ‘your-page-slug’ ) ){ wp_list_pages( ‘orderby=name&depth=1&order=DESC&show_count=0&child_of=” .$page->ID . “&title_li=’ ); }

Removing the TinyMCE editor for a given page template

You can try to hook on load-page hook instead of admin_init. It is supposed to be called only when a page is being edited, and then you should be able to use the global $post variable function hide_editor() { global $post; $template_file = get_post_meta($post->ID, ‘_wp_page_template’, true); if($template_file == ‘page-home.php’){ // template name here remove_post_type_support(‘page’, ‘editor’); … Read more

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