Edward Caissie
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Two and more identical widgetsYou may likely need to address this with the widget author … have you tried contacting them about this issue?
Forum: Fixing WordPress
In reply to: Change to Comments to no Comments YetMy bad, I read this over too quickly. Editing the text in comments.php will not likely change anything, you will need to edit your template files, such as index.php and other related files that show multiple posts.
This is theme dependent in almost every case, but an example to look for would be the use of the
comments_popup_link()function. Try changing the text within its parameters.Forum: Fixing WordPress
In reply to: Change to Comments to no Comments YetHere is the page in codex to explain the
comments_numberfunction in more details http://codex.wordpress.org/Function_Reference/comments_number, but essentially all it seems you are asking to do is to change the part in your sample above that reads: ‘No Responses’.Change the phrase, No Responses, to something you prefer such as: No Responses, yet; or, Please Comment; or, Have your say! etc.
Forum: Themes and Templates
In reply to: different design "after_widget"Your ‘after_widget’ should be closing the
<li>tag you opened in ‘before_widget’. You might also consider using a CSS<div>class in ‘after_widget’ as well to create, and style, a ‘hr’ like item to your taste.This will help with adding another CSS selector to identify the ‘li:last-child” to not show the line after the last widget.
NB: These are suggestions only, you will have to adjust to your specific theme code.
Forum: Themes and Templates
In reply to: PLS HELP! change text in wordpress programWordPress does not contain any “bulit-in” eCommerce functionality that your screen shot is showing. You will more likely need to contact the plugin developer that created the widget you are using to have these concerns addressed.
Forum: Fixing WordPress
In reply to: wp_nav_menu function helpGreat! … and taking out the Disclaimer item lets the menu fit much better on your site.
Forum: Fixing WordPress
In reply to: wp_nav_menu function helpThe premise behind the use of wp_nav_menu() and its functionality is to allow end-users to create menus exactly how they want them to appear.
This leads to the idea of not using an exclude parameter; why would you exclude something you can simply choose not to add in the first place.
Obviously replacing wp_nav_menu with wp_list_pages is possible as well, it would just take some edits to your theme to do. The proper usage of wp_list_pages can be found in the codex.
Forum: Fixing WordPress
In reply to: Category post count inncorrect.With no URL or theme given, the only suggestion I can make is based on the use of wp_list_categories to display what you are seeing.
This article may point you in the direction you need to sort out this issue: http://codex.wordpress.org/Template_Tags/wp_list_categories
You will need to review your theme code against the parameters settings explained.
Forum: Fixing WordPress
In reply to: wp_nav_menu function helpThemes that use the wp_nav_menu function properly, such as Twenty Ten, generally do not have use of the exclude parameter associated with other menu creating functions such as wp_list_pages or wp_page_menu.
Have you tried creating a custom menu to match your existing one and simply not use “Disclaimer”?
Forum: Fixing WordPress
In reply to: bold, not strongIf the WordPress editor is changing the HTML
<b>tag to a CSS<strong>tag, you will need to adjust that style element in your style.css file to address this issue.Forum: Fixing WordPress
In reply to: renaming subdirectories?Excluding pages from the “nav bar” is generally easy but it is also generally theme dependent.
A link to your site and your current theme would be helpful in making suggestions on how to exclude these pages.
Forum: Fixing WordPress
In reply to: List Current Users Recent Posts In SidebarI just copy and pasted the code above into the sidebar on one of my test sites and it appears to work fine (with the exception of the WP_DEBUG Notices). Both logged in and logged out.
Forum: Fixing WordPress
In reply to: List Current Users Recent Posts In SidebarThe following is only quickly tested … user beware.
I just quickly combined all of the above examples, I would expect it to work but you should make sure to test it thoroughly.
<?php if ( is_user_logged_in() ) { $user_id = get_current_user_id(); $querystr = " SELECT comment_ID, comment_post_ID, post_title, comment_content FROM $wpdb->comments, $wpdb->posts WHERE user_id = $user_id AND comment_post_id = ID AND comment_approved = 1 ORDER BY comment_ID DESC "; $comments_array = $wpdb->get_results($querystr, OBJECT); if ($comments_array): ?> <h2>Recent Comments </h2> <ul> <?php foreach ($comments_array as $comment): setup_postdata($comment); echo "<li><a href='". get_bloginfo('url') ."/?p=".$comment->comment_post_ID."'>Comment on ". $comment->post_title. "</a><br />". $comment->comment_content . "</li>"; endforeach; ?> </ul> <?php endif; } else { echo "Please login to view your recent comments."; } ?>PS: There may be a lot of code clean-up involved as WP_DEBUG set to ‘true’ throws quite a few “Notices” that should be addressed.
Forum: Fixing WordPress
In reply to: allow commentsThis is most likely a theme issue … which are you using and what is the URL of your website?
Forum: Themes and Templates
In reply to: Line Spacing – How to make it uniform?The content that is “crammed together” appears to be wrapped in
<p>tags which is then being styled at line 168 in your style.css file by this:#content p { line-height:10px; margin:0; padding:0 0 15px; }Increasing the ‘line-height’ property to around 15px should improve the layout. The other text is wrapped in
<div>tags and not affected by the same property in your theme.