transpersonal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: mod_rewrite working but cant add extension(.php)Hi,
Sorry I don’t have a solution for you but just out of curiosity why do you want the file extension to show? I don’t think it helps in SEO in any way and if anything, it might even hinder SEO as it is just a few extra characters that are unrelated to the post’s topic.
Forum: Fixing WordPress
In reply to: Cannot Remove Border Around Images Within PostsHere try this, in style.css find:
.the_content img { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:white none repeat scroll 0 0; border:1px solid #DDDDDD; padding:3px; } change to: .the_content img { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:white none repeat scroll 0 0; }
Forum: Fixing WordPress
In reply to: Cannot Remove Border Around Images Within PostsI don’t see anything other than a single page with an image and that image doesn’t have a border (using firefox).
Try putting this in your style.css (at the very bottom)
img {
border: none;
}Forum: Fixing WordPress
In reply to: How to surround WP comment box with color? Help.Okay this is what you have to do if you want the same. Go into your style.css file in the theme editor and find this:
#comments { margin-left:0; margin-right:2.1em; } Change it to: #comments { margin-left:0; margin-right:2.1em; background: #5C5A5A; }
Forum: Fixing WordPress
In reply to: How to surround WP comment box with color? Help.The containing div that holds his comments section is assigned #5C5A5A as the background color through CSS. For example:
The HTML: <div class="bgColor"> comments are here comments are here comments are here </div> The CSS: .bgColor { background: #5C5A5A; }
Forum: Fixing WordPress
In reply to: WordPress 2.8.4 Hacked?Hmm strange. It doesn’t necessarily mean you’ve been hacked but it’s also not supposed to happen. If I were you, I would download a backup copy of my database and download all my entire wordpress files (including theme and plugin files). Then I would click the link and see what happens. If something does go wrong youc an just restore from the backups – but be sure to change your password immediately after restoring.
Forum: Fixing WordPress
In reply to: increasing traffic to my siteOne slightly unrelated thing you should consider:
The images on your website are not optimized. Each is over 100KB! One of the things that repel visitors is a slow loading page. So you may want to optimize your images before uploading them. Right now it doesn’t make much of a difference, but if/when your blog starts to get a large amount of traffic – all the concurrent connections will slow down your site to a crawl if the images aren’t optimized. Optimizing will also save you bandwidth costs (of course that will only be a thing to consider if your site grows so popular that you need dedicated hosting).
Forum: Fixing WordPress
In reply to: spam comments on my websiteIf you don’t want to be emailed every time a spam comment is made go to:
Settings >> Discussion
Next to “E-mail me whenever” uncheck “A comment is held for moderation”.
To prevent spams use aksimet plugin. Also use a capctha plugin. A lot of spam is bot generated – meaning they are submitted by automated scripts not humans. Using a captcha prevents this.
Forum: Fixing WordPress
In reply to: why doesn’t index/home page show up in Pages listing?By default most wordpress themes display a list of your latest x number of posts. In Settings >> Reading you can change this by selecting a page to be displayed on the homepage instead of a list of your latest posts. This is called a “static page” because a list of your latest posts are always changing, a page is not.
In wordpress, there is a difference between a Post and a Page. Neither of them are actual files that you can see when you FTP to your site. They are both stored in a database. The actual files are called templates and can be accessed by going to Themes >> Editor. The templates only determine how the content of posts and pages will be displayed. The templates don’t actually contain any content itself.
So if you want to change the content of your homepage you can do one of two things. You can first make a Page (Pages >> Add New) and then in Reading Settings you can assign that page to be the homepage. There are videos on youtube that outline this process.
The other option is to go to the theme editor and edit the index.php template to suit your needs. You should do this only if you are familiar with html/css and php.
Forum: Fixing WordPress
In reply to: Comments, I broke it!!You probably edited comments.php or the
<?php wp_list_comments(); ?>
line in single.php. Make sure you have the latter line in single.php and you may want to replace the comments.php with a original copy from the theme you’re using. See if that helps.Forum: Fixing WordPress
In reply to: It’s Magic requesting a password when saving a postThis doesn’t sound like a wordpress problem but one that has to do with your server configuration probably set by your hosting company.
Forum: Fixing WordPress
In reply to: The Link Button Doesnt WorkNot sure what you mean by “retains the link URL” but you can just do it the html way:
Select the photo by clicking on it and then click the html view tab at the top of your editor.
The photo should have a code similar to this:
<img src="path/to/image.jpg" />
Before that tag put this:
<a href="https://www.google.com/">
and after it put this:
</a>
Of course you’ll replace google’s url with the one you are trying to link the photo to.
No, it still doesn’t work for me. My usual theme (red carpet) also uses a custom callback. Before I was using this:
<?php wp_list_comments(‘per_page=5&callback=custom_comments&type=comment’); ?>
and like I said, no comments showed after submission.
I then changed the per_page to the end like your code:
<?php wp_list_comments(‘callback=custom_comments&type=comment&per_page=5’); ?>
and this time comments did display but instead of being shown the last comment I am taken to page 2. How weird is that??? It doesn’t matter how much I change the per_page value to – it always takes me to page 2.
The problem can’t be in my comments.php file since I also tried it in an untouched default theme. So it’s most likely due to a plugin conflict. The only comments related plugin I use is wp-commentnavi and deactivating that doesn’t make a difference. I’m not going to deactivate all my plugins since that will erase the settings of a lot of them (and I need each and everyone of those anyway).
I will try to troubleshoot some more, if I can get it to work I’ll post it here, otherwise I’ll just have to do without I suppose.
Thanks for trying t.
I think I celebrated a little too soon. Apparently using the per_page parameter introduces a little problem. After the comment is made instead of refreshing and showing the latest comments – no comments display at all. One has to manually press the refresh button to see the new and other comments. I tried it in the default theme and in different browsers and the same problem.
the code:
<?php wp_list_comments(‘per_page=30’); ?>
Could the parameter be depreciated with the latest WP version?
All I had to do was add the per_page=5 parameter within list comments and it worked. I didn’t even know that could be done. I didn’t have to use any conditional comments since I already use a separate comments.php file for that page anyway (it’s kinda necessary for other reasons) Thanks a bunch t31os_ you saved the day once again!