sanypoo
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Placement of primary widget area in 2010 themeForum: Installing WordPress
In reply to: Cannot Connect to databasehave you Rename the wp-config-sample.php file to wp-config.php.?
https://codex.www.ads-software.com/Installing_WordPressForum: Fixing WordPress
In reply to: how to make page parsorry it’s not moving to next page…
Forum: Fixing WordPress
In reply to: how to make page parI want to do it through coding… any other solution
Forum: Fixing WordPress
In reply to: how to make page parThanks for ur reply.
there is any necessary to install the plugin?cant I do without plugin ?
Forum: Fixing WordPress
In reply to: how to make page parI used
<div class=”pagelink”><?php wp_link_pages(‘pagelink=Page %’); ?></div>
but there is no link.
Forum: Plugins
In reply to: Comment area customizationcheck this …
<?php comment_form_title( ‘Add your Comments’, ‘Add your Comments %s’ ); ?>
Forum: Themes and Templates
In reply to: Difficuilty in developing new themeshi.. I think that the following link will be useful for you….
https://codex.www.ads-software.com/Podcasting
try this..
Forum: Themes and Templates
In reply to: Add a searchbox to navigation barhi try this…
add one text box and use this coding..
<form method=”get” id=”searchform” action=”<?php bloginfo(‘home’);?>”>
<div class=”headersearchcontainleft”>
<input type=”text” value=”<?php echo wp_specialchars($s,1);?>” name=”s” size=”14″ maxlength=”50″ width=”100″ style=”border:none” />
</div>
<div class=”headersearchcontainright”>
<input type=”image” src=”<?php bloginfo(‘template_directory’); ?>/images/search_icon.png” value=”<?php echo wp_specialchars($s,1);?>” />
</div>
</form>Forum: Themes and Templates
In reply to: Theme Images Not Appearinghi, try this…
<img src=”<?php bloginfo(‘template_directory’); ?>/images/read-more.png” border=”0″ />
Forum: Fixing WordPress
In reply to: how to display number for each commentno… I have only 3 comments in that post… but it’s repeating 15 times for each comment. ??
Forum: Fixing WordPress
In reply to: how to display number for each commentyes, I did.. but the loop is executing 15 times … what to do
Forum: Fixing WordPress
In reply to: how to display number for each commenthi the samething only I tried… by mistake I had given $i++…
the above coding only i used. This will repeat each comment for 15 times..
anyother solution? plsForum: Fixing WordPress
In reply to: how to display number for each commentno…. I’m not getting the comment numberings… Its displaying the total comment number… and one thing I am not using any loop in comment theme. once I used foreach loop its repeating 15 times. can u get me …. that’s the problem…… any solution? pls
code
<?php $i = 1; ?> <?php foreach ($comments as $comment) : ?> <div class="commentsbgheader"> <ol style="none"<?php comment_class(); ?> id="comment-<?php comment_ID() ?>"> <div class="commentsheadercontainer">COMMENTS : <?php $i++; ?></div> </div> <div class="commentsbgbody"> <div class="commentsbgbodycontainer"> <div class="commentsbgbodycontainerleft"><?php echo get_avatar($comment,$size='40',$default='<path_to_url>' ); ?></div> <div class="commentsbgbodycontainermiddle"> <span class="style_author"><?php echo comment_author() ?></span> <span class="style_date"><?php printf(__('%1$s'), get_comment_date()) ?><?php edit_comment_link(__('(Edit)'),' ','') ?> </span> </div> <div class="commentsbgbodycontainerright"><?php comment_text() ?></div> </div> </div> <div class="commentsbgbottom"></div> <div class="reply"> <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?> </div> <?php $i++; ?> <?php endforeach; ?> </span> </div>
Forum: Fixing WordPress
In reply to: how to display number for each commentthanks for your reply.
But its not displaying comments numbering for each post….
Its displaying overall comment number
any help?