yakuphan
Forum Replies Created
-
Forum: Plugins
In reply to: Display Most Recently Commented PostsForum: Fixing WordPress
In reply to: Widget ProblemTry another browser like opera, firefox.
Clear cache of your browser.
If problem isn’t resolved, deactivate all plugins then try again.Forum: Fixing WordPress
In reply to: Recent Posts Widget.Maybe you want to use my plugin:
http://wordpress.org/extend/plugins/advanced-most-recent-posts/Try like that. Use $paged.
<?php if (have_posts()) : ?> <?php $post = $posts[0]; $c=0;?> <?php while (have_posts()) : the_post(); ?> <?php $c++; if( !$paged && $c == 1) :?> <h1>The first post on the main index page</h1> <?php the_title(); ?> <?php the_excerpt(); ?> <?php else :?> <h2><?php the_title(); ?></h2> <?php the_content(); ?> <?php endif;?> <?php endwhile; ?> // page nav <?php endif; ?>Forum: Fixing WordPress
In reply to: How to edit wp_list_categoriesOpen wp-includes/default-widgets.php and see line 460 for WordPress 2.8.4
Edit this UL.Forum: Fixing WordPress
In reply to: Always start a new postI edited my message, please try again.
In new way, you will see “Post published” message.Forum: Fixing WordPress
In reply to: Always start a new postFor WordPress 2.8.4, open wp-admin/post.php file and find this code in line 46.
$location = add_query_arg( ‘message’, 6, get_edit_post_link( $post_ID, ‘url’ ) );
and change like this.//$location = add_query_arg( ‘message’, 6, get_edit_post_link( $post_ID, ‘url’ ) );
$location = add_query_arg( ‘message’, 6, “post-new.php” );So, when you publish a post, you will be redirected a new post window. Unfortunatally, there is no a soft way.
In this way, you can’t click ‘View post’ link.Forum: Fixing WordPress
In reply to: How to edit wp_list_categoriesView your source of your page. Find
li id=”categories-1″ class=”widget widget_categories”
This is categories widget class. For ul, you can use,
.widget_categories ul{
}Forum: Fixing WordPress
In reply to: WordPress Notification Email Tweaking: Subject, From, and Reply To?Please check http://www.yakupgovler.com/?p=745 and http://www.yakupgovler.com/?p=744 pages.
Forum: Fixing WordPress
In reply to: Showing different single.php’s based on authors?Try like this:
if ( (is_single()) and (is_author(‘4’)) ) {
….Forum: Fixing WordPress
In reply to: How to delete the side bar in one page in my template?Try like this:
<?php if(!is_page(‘Page Name’)) {
<div class=”span-8 last sidebar”>
<?php get_sidebar();?>
</div>
<?php } ?>And maybe, modify your style.css file.
Forum: Fixing WordPress
In reply to: Can I turn on comments for all my articles?In PHPMyAdmin query this sql:
UPDATE yourprefix_posts SET comment_status = ‘open’ WHERE comment_status = ‘closed’;
and if you want to open pingback:
UPDATE yourprefix_posts SET ping_status = ‘open’ WHERE ping_status = ‘closed’;Forum: Fixing WordPress
In reply to: Replace author url with different onePlease use <?php the_author_link(); ?> instead of <?php the_author_posts_link(); ?>
It gives author’s url in profile.Forum: Fixing WordPress
In reply to: Create authors page with gravatar using the loopChange this,
<?php $first_author = 0; ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if ($first_author == 0) { echo get_avatar( get_the_author_email(), '80' ); } $first_author = 1; ?> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?> <?php endif; ?>Could you share your author archive?
Forum: Fixing WordPress
In reply to: Insert Query not workingUse the following codes
$table_name = $wpdb->prefix . “ticket”;
$wpdb->query(“INSERT INTO $table_name (CompanyName, CustomerName) VALUES(‘test1′,’test 2’)”);