shilojean
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: php comment_link not working for zero quantityWell huh. In completely unrelated news, my theme is a hacked-up and reworked version of a different ready-made theme (Corporate by Ori Pearl) and I had changed the post size in style.css, but not in screen.css, the blueprintcss file. (that I didn’t even realize existed because it doesn’t show in my wordpress editor, whoops!)
This css incongruence was causing me some alignment issues with my “older” and “newer” images, so I got in there and fiddled around with it until everything was lining up correctly. Somehow, magically, this also appears to have fixed my issue with the comments!
Thanks again for your help, it’s deeply appreciated.
Lesson of the day: Janky CSS can mess up more than appearances.
Forum: Fixing WordPress
In reply to: I want to add a "Comments are closed" messageWHOOPS NEVERMIND.
I was wrong. While this method does get a comments closed notification message to appear, it also makes comments already left invisible. So, scratch that!I found the real solution and posted it in this other forum thread:
http://wordpress.org/support/topic/corporate-theme-trying-to-add-a-comments-closed-notification?replies=2#post-1634021Forum: Themes and Templates
In reply to: [Corporate theme] trying to add a comments closed notificationFigured it out!
In case anyone else is trying to do the same, all you have to do is change the very last bit of code in the comments.php file from this:
<?php endif; ?> <?php endif; ?> </div>to this:
<?php endif; ?><?php else : ?> Comments are closed on this post <?php endif; ?> </div>Viola!
Forum: Fixing WordPress
In reply to: php comment_link not working for zero quantityHi alchymyth, thanks for your response and suggestions.
I initially thought when I posted this thread that the comment link (to comment count) was working for comments counts of 1 or above, but not zero.
However, I just realized that the issue is NOT a comment count issue, that it’s the first post on any page, regardless of the count. It just so happened that all of the posts I was looking at had zero comments AND happened to be at the tops of their pages.Example: If you try to click through the comment link on the first post on this page:
http://www.yikesmachine.com/2009/11/page/2/
You’ll see that the background link works, but the comment count itself doesn’t link to anything.
However, if you try any other comment count other than the first post on the page, both the background and the count will click through.This appears to hold true regardless of how posts are sorted – main index, search results, category results, archives etc. – any format where multiple posts are to be displayed, the first one always doesn’t work but the rest are fine.
Clear as mud?
I’m just learning the basics of php and theme development, so I’m not familiar with anchor points, but I’ll go look them up and see if that may be a possibility for my issue.
Thanks again. I really appreciate your help.
Forum: Fixing WordPress
In reply to: I want to add a "Comments are closed" messageAfter many hours of syntax errors, I figured it out so I’m closing this post.
But just in case anyone else is trying to figure this out, what I did was as follows:First, I removed `<?php if (‘open’ == $post->comment_status) : ?>
<p><?php _e(‘Nope, no comments yet.’); ?></p>` from the comment code shown in my initial post.Then I stole this similar, but slightly different bit from a different theme that displayed the comments closed message I was after:
`<?php if (‘open’ == $post->comment_status) : ?>
<p class=”center”>Nope, no comments yet.</p>
<?php else : // Comments are closed ?>
<p><?php _e(‘Comments are closed on this post.’); ?></p>I stuck that bit of code in just after
<div class="allcomments">and viola! the notice appears on closed posts.Forum: Plugins
In reply to: [Plugin:SidePosts Widget] more tag usage.okey doke, I’ll live.
thanks again for all your help.
Forum: Plugins
In reply to: [Plugin:SidePosts Widget] more tag usage.waitaminute… I just noticed something, the original issue of the
<!--more-->tag staying intact in the sidepost is fixed, but now the expanded post opens up automatically scrolled down to where the more tag is in the content. Everything prior to the more tag isn’t shown in the expanded post unless they scroll back UP.it works, but it feels weird.
Any way to fix that?
If not, I won’t die.Forum: Plugins
In reply to: [Plugin:SidePosts Widget] more tag usage.oh, and thanks, the theme is a very-modified version of neutica by Allan Cole. He’s made a couple really beautiful themes.
Forum: Plugins
In reply to: [Plugin:SidePosts Widget] more tag usage.Txanny,
Beautiful! Problem solved!
Thank you so much for your super quick replies in regards to support. I loaded it up and it works wonderfully.
I just gave you and your plugin a 5 star rating.Thanks again!
ShiloForum: Plugins
In reply to: [plugin:SidePosts Widget] changing line thickness betweenthanks, that did the job!
Forum: Fixing WordPress
In reply to: Comments only at the ENDPlease post if you find a solution to this problem.
Me too! Me too! Please note here if anyone knows of a plugin that can make this happen.
Forum: Fixing WordPress
In reply to: my contributors can’t log in.problem solved! you rule!
Forum: Plugins
In reply to: Twitter-Tools – Post Title ChangeI figured out how to delete the title completely.
go into twitter-tools.php and on line 477 you should find this:
, 'post_title' => $wpdb->escape(trim_add_elipsis($tweet->tw_text, 30))delete that line completely and all of your FUTURE tweets will have no title. I can’t figure out a way to make it change all the back tweets, but whatever oh well.
Forum: Plugins
In reply to: [Plugin: SideBlog] Remove titles and pound sign and link content to permalinkI figured it out.
Instead of messing with sideblog, I went into twitter-tools.php and on line 477 I found this:, 'post_title' => $wpdb->escape(trim_add_elipsis($tweet->tw_text, 30))delete that line, and you delete twitter titles completely