eguru
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Search result is disappearing when I search from the search resultHello all,
Any body here to help me out to find out the problem?
Thank youForum: Fixing WordPress
In reply to: pagination problemThank you! that worked like a charm… ??
Forum: Fixing WordPress
In reply to: pagination problemForum: Fixing WordPress
In reply to: pagination problemBTW I have tried the default pagination of wordpress code also. Both does the same
thaqForum: Fixing WordPress
In reply to: [REQ]how to change the posting order?I found the code at the last :
add_filter( 'load-post-new.php', 'wpse14403_load_post_new' ); function wpse14403_load_post_new() { $post_type = 'post'; if ( isset( $_REQUEST['post_type'] ) ) { $post_type = $_REQUEST['post_type']; } // Only do this for posts if ( 'post' != $post_type ) { return; } if ( array_key_exists( 'category_id', $_REQUEST ) ) { add_action( 'wp_insert_post', 'wpse14403_wp_insert_post' ); return; } // Show intermediate screen extract( $GLOBALS ); $post_type_object = get_post_type_object( $post_type ); $title = $post_type_object->labels->add_new_item; include( ABSPATH . 'wp-admin/admin-header.php' ); $dropdown = wp_dropdown_categories( array( 'name' => 'category_id[]', 'hide_empty' => false, 'echo' => false, ) ); $category_label = __( 'Category:' ); $continue_label = __( 'Continue' ); echo <<<HTML <div class="wrap"> <h2>{$title}</h2> <form method="get"> <table class="form-table"> <tbody> <tr valign="top"> <th scope="row">{$category_label}</th> <td>{$dropdown}</td> </tr> <tr> <td></td> <th><input name="continue" type="submit" class="button-primary" value="{$continue_label}" /></th> </tbody> </table> <input type="hidden" name="post_type" value="{$post_type}" /> </form> </div> HTML; include( ABSPATH . 'wp-admin/admin-footer.php' ); exit(); } // This function will only be called when creating an empty post, // via <code>get_default_post_to_edit()</code>, called in post-new.php function wpse14403_wp_insert_post( $post_id ) { wp_set_post_categories( $post_id, $_REQUEST['category_id'] ); }
Forum: Fixing WordPress
In reply to: [REQ]how to change the posting order?is there any one who knows how to do it? Please help me guys
Forum: Fixing WordPress
In reply to: how to make links on the header to the recent posts ?Please help me!!!! any body here?
Forum: Fixing WordPress
In reply to: how to make links on the header to the recent posts ?<?php wp_list_categories( ); ?> will only list the category links..it will not show the posts. What I need is if i click on the main menus (category name) i will be ale to see the recent post in side that particular gallery. Just like we are clicking on a static websites main Links.
Forum: Fixing WordPress
In reply to: Heavy server load: account may be closedThe best option is to change your server / service provider
Forum: Fixing WordPress
In reply to: recent post links on the header :: HOW??<a href="<?php echo the_permalink(); ?> " class=main_menu_links >NEWS </a>
Forum: Fixing WordPress
In reply to: how to give an option for user can hide a particular post?hello any one has any idea? pleasee help if any one knows….thaq
Forum: Fixing WordPress
In reply to: how to limit number of character of a post on front page?Thanks a lot RVoodoo.. Yes it is working fine
Forum: Fixing WordPress
In reply to: how to limit number of character of a post on front page?It worked like charm, Esmi. But is there any way I can add “read more” to the excerpt ? thax
Forum: Fixing WordPress
In reply to: how to limit number of character of a post on front page?thax ESMI for ur valuable time
Forum: Fixing WordPress
In reply to: 2 Blogs 1 user tableI am getting an error ” You do not have sufficient permissions to access this page.” What is the reason for this error? Please advice