Title: Thort's Replies | WordPress.org

---

# Thort

  [  ](https://wordpress.org/support/users/thort/)

 *   [Profile](https://wordpress.org/support/users/thort/)
 *   [Topics Started](https://wordpress.org/support/users/thort/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thort/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thort/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thort/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thort/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thort/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/thort/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/thort/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Wordfence generated .htaccess file prevented images to show up on my blog](https://wordpress.org/support/topic/wordfence-generated-htaccess-file-prevented-images-to-show-up-on-my-blog/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordfence-generated-htaccess-file-prevented-images-to-show-up-on-my-blog/#post-8403303)
 * Hi again wfasa!
 * It was the support team on my web-host at one.com who helped me find the out 
   that it was the .htaccess file that caused my problem. I can’t find any error
   logs on the one.com web-host administration page. And I can’t find any information
   about error logs on the Wordfence Diagnostics page. The section at the bottom
   of the page talks about log files but it states: “No log files found”.
 * Now I have informed you about my problem. I hope it’s interesting for you to 
   know. In some instances the option “Disable Code Execution for Uploads directory”
   on the Wordfence option page can cause problems when enabled. I will continue
   using Wordfence on my sites, and I want to thank you for the protection it provides
   for my sites.
    -  This reply was modified 9 years, 6 months ago by [Thort](https://wordpress.org/support/users/thort/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Wordfence generated .htaccess file prevented images to show up on my blog](https://wordpress.org/support/topic/wordfence-generated-htaccess-file-prevented-images-to-show-up-on-my-blog/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordfence-generated-htaccess-file-prevented-images-to-show-up-on-my-blog/#post-8403223)
 * Hi wfasa!
 * Thanks for your reply! I appreciate you’re taking time to help me. I understand
   you have looked into my blog at [http://thort.se/blog](http://thort.se/blog) .
   But my problem is on my other blog at [http://finbild.se/blog](http://finbild.se/blog).
   On this blog I have several images in the /blog/wp-content/uploads/ folder. This
   blog does not has the Jetpack plugin installed.
 * When the .htaccess file generated by Wordfence was present in the /blog/wp-content/
   uploads/ folder my images didn’t show up on my blog. If I did a test and copied
   the direct web-address to the image in the address field in my browser I got 
   this error message:
 * ![](https://i0.wp.com/thort.se/storage/forum/wordpress/internal_error_finbild.
   png)
 * When I deleted the .htaccess file the error message disappeared and my images
   showed up correctly on my blog.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [“Previous side” and “Next side” links doesn’t appear on all pages](https://wordpress.org/support/topic/previous-side-and-next-side-links-doesnt-appear-on-all-pages/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/previous-side-and-next-side-links-doesnt-appear-on-all-pages/#post-441810)
 * Hi again !
 * Now, I’ve found a solution. 🙂
 * In my sidebar I skipped the category list. Instead I put in a chronological list
   of all my posts. For this I use the plugin Recent Posts. It creates this tag 
   for the template: `<?php mdv_recent_posts(); ?>`
 * I’ve understood I can’t use neither `<?php posts_nav_link(); ?>` nor the pair`
   <?php previous_post(); ?> <?php next_post(); ?>` together with `<?php list_cats()?
   >`.
 * Now, the links “Next side” and “Previous side” appear on all my sites.
 * My blog: [http://thort.se/photoblog](http://thort.se/photoblog)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [“Previous side” and “Next side” links doesn’t appear on all pages](https://wordpress.org/support/topic/previous-side-and-next-side-links-doesnt-appear-on-all-pages/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/previous-side-and-next-side-links-doesnt-appear-on-all-pages/#post-441725)
 * Hi again !
 * I’ve read in the WordPress manual and found the `<?php previous_post(); ?>` and`
   <?php next_post(); ?>` tags.
 * I’ve added them to my template.
 * Now, my coding looks like this:
 * `<?php posts_nav_link(' — ', __('&laquo; Previous side'), __('Next side &raquo;'));?
   >`
 * `<?php previous_post('%','&laquo; Previous side', 'no'); ?>&nbsp;&nbsp;&nbsp;&
   nbsp;
    <?php next_post('%','Next side &raquo;', 'no'); ?>
 * The latter code block added “Next” and “Previous” links on:
 * [http://thort.se/photoblog/2006/05/09/grecian-windflower](http://thort.se/photoblog/2006/05/09/grecian-windflower)
 * But still, no links turn up on:
 * [http://thort.se/photoblog/category/grecian-windflower](http://thort.se/photoblog/category/grecian-windflower)
   
   [http://thort.se/photoblog/2006/05/09](http://thort.se/photoblog/2006/05/09)
 * Why?
 * It’s interesting to realize I use both `<?php posts_nav_link(); ?>` and the pair`
   <?php previous_post(); ?> <?php next_post(); ?>` after each other in my template.
   But on no sight I get double links. Either of them is used, never both.
 * Now, how do I get links on:
 * [http://thort.se/photoblog/category/grecian-windflower](http://thort.se/photoblog/category/grecian-windflower)
   
   [http://thort.se/photoblog/2006/05/09](http://thort.se/photoblog/2006/05/09)
 * I’m thankful if someone could give me some guidance.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Automatic slideshow](https://wordpress.org/support/topic/automatic-slideshow/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/automatic-slideshow/#post-426909)
 * Random Image is up and working on my blog. You can see it at the bottom of the
   sidebar.
 * I’m very satisfied. Just what I wanted!
 * 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Automatic slideshow](https://wordpress.org/support/topic/automatic-slideshow/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/automatic-slideshow/#post-426891)
 * Thanks samboll!
 * Random Image is interesting. It has the options I seek. Right now I’m trying 
   to integrate the plugin with my theme. It’s a bit complicated. My theme is complex.
 * My photoblog: [http://thort.se/photoblog](http://thort.se/photoblog)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Deleted a comment by misstake. How do I put it back?](https://wordpress.org/support/topic/deleted-a-comment-by-misstake-how-do-i-put-it-back/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/deleted-a-comment-by-misstake-how-do-i-put-it-back/#post-372643)
 * Thanks HandySolo !
 * Your advice worked! 🙂
 * Sorry, my english isn’t so good. This is about a deleted post, not a comment.
   I mixed the two words up. But the principle must be the same.
 * Anyway. First I posted a new post the usual way. Then I went into my phpMyAdmin
   and changed the date of the post. Very simple.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Active bookmark in Firefox doesn’t work](https://wordpress.org/support/topic/active-bookmark-in-firefox-doesnt-work/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/active-bookmark-in-firefox-doesnt-work/#post-367184)
 * Hi again !
 * I Just want to report how my problem was solved.
 * Some time ago I changed the titles of my posts. I changed the swedish letters“
   a” with a ring over, “a” with dots over and “o” with dots over. I changed them
   to “& a r i n g ;” “& a u m l ;” and “& o u m l ;”. My thought was foreign webbrowsers
   would show the unusual swedish letters wrongly.
 * I didn’t foresee the problem this would cause in Firefox concerning the live 
   bookmark.
 * So, now I have undone the change I maid.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Active bookmark in Firefox doesn’t work](https://wordpress.org/support/topic/active-bookmark-in-firefox-doesnt-work/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/active-bookmark-in-firefox-doesnt-work/#post-367053)
 * Thanks thunderlove!
 * I do appreciate your concern in my problem!
 * I edited my includes/default-filters.php as you suggest.
 * I added `add_filter('the_category_rss', 'ent2ncr', 8);` according to your instruction.
 * Then I tried to reload my ‘live’ firefox bookmark, but it didn’t help. The bookmark
   don’t update.
 * One interesting thing. I opened up Opera 8.5, and here I could add an atom channel
   for my blog. So, bookmarking works in Opera but not in Firefox. (I use Firefox
   1.5.0.1)
 * I have an english version of my blog. The address is: [http://thort.se/photoblog](http://thort.se/photoblog)
 * When watching this blog in Firefox it is possible to add an active bookmark which
   is working okey. Both of my blogs use the same Theme.
 * As I said, I appreciate your help, and if you have some more suggestions I would
   be thankful.
 * Thor
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Varying background color in posts](https://wordpress.org/support/topic/varying-background-color-in-posts/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/varying-background-color-in-posts/#post-319435)
 * Thanks billh!
 * I have insrerted the changed the sixth line as you suggest.
 * Still no alterning background color in posts.
 * Here is the present reading of index.php.
 * `<?php get_header(); ?>`
 * <div id="content" class="narrowcolumn">
 * <?php $postbg = 'darkentry'; ?>
 * <?php if (have_posts()) : ?>
 * <?php while (have_posts()) : the_post(); ?>
 * <div class="<?php $postbg; ?>" id="post-<?php the_ID(); ?>">
    <h2><a href="<?
   php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title();?
   >"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y') ?> <!-- by
   <?php the_author() ?> --></small>
 * <?php if ($postbg == 'darkentry') {
    $postbg = 'lightentry'; } else { $postbg
   = 'darkentry'; } ?>
 * <div class="<?php $postbg; ?>">
 * <?php the_content('Read the rest of this entry &raquo;'); ?>
 * </div>
 * <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('
   Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »','%
   Comments »'); ?>
 *  </div>
 * <?php endwhile; ?>
 * <div class="navigation">
 * <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?>
 * </div>
 * <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?>
 * </div>
 * </div>
 * <?php else : ?>
 * <h2 class="center">Not Found</h2>
 * <p class="center">Sorry, but you are looking for something that isn't here.
 *  <?php include (TEMPLATEPATH . "/searchform.php"); ?>
 * <?php endif; ?>
 * </div>
 * <?php get_sidebar(); ?>
 * <?php get_footer(); ?>
 * –
 * About the stylesheet. I’m insecure what is right. Should my two new clases read:
 * .lightentry {
    background-color: #ffffff; }
 * .darkentry {
    background-color: #f2f2f2; }
 * or
 * #lightentry {
    background-color: #ffffff; }
 * #darkentry {
    background-color: #f2f2f2; }
 * I’m insecure about the . or # sign.
 * Here is the whole stylesheet, as it looks right now:
 * [http://thort.se/storage/forum/wordpress/stylesheet_post_background_color_1.htm](http://thort.se/storage/forum/wordpress/stylesheet_post_background_color_1.htm)
 * And, once again, the address to the blog:
 * [http://thort.se/testblog](http://thort.se/testblog)
 * I’m thankful for your guidence. If you still have patience with me I should be
   thankful if you have some more ideas how to solve the problem.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Varying background color in posts](https://wordpress.org/support/topic/varying-background-color-in-posts/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/varying-background-color-in-posts/#post-319403)
 * Thanks makemead!
 * I am out in deep water now. I know very little about php. I’m not capable of 
   inserting your code in my index.php.
 * Here is the output right now of my index.php in my modified WordPress default
   theme. I have tried to follow billh’s instructions in his reply above:
 * `<?php get_header(); ?>`
 * <div id="content" class="narrowcolumn">
 * <?php $postbg = 'darkentry'; ?>
 * <?php if (have_posts()) : ?>
 * <?php while (have_posts()) : the_post(); ?>
 * <div class="post" id="post-<?php the_ID(); ?>">
 * <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to
   <?php the_title(); ?>"><?php the_title(); ?></a></h2>
 * <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
 * <?php if ($postbg == 'darkentry') {
    $postbg = 'lightentry'; } else { $postbg
   = 'darkentry'; } ?>
 * <div class="<?php $postbg; ?>">
 * <?php the_content('Read the rest of this entry &raquo;'); ?>
 * </div>
 * <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('
   Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »','%
   Comments »'); ?></p>
 * </div>
 * <?php endwhile; ?>
 * <div class="navigation">
 * <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?>
 * </div>
 * <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?>
 * </div>
 * </div>
 * <?php else : ?>
 * <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking
   for something that isn't here.</p>
 * <?php include (TEMPLATEPATH . "/searchform.php"); ?>
 * <?php endif; ?>
 * </div>
 * <?php get_sidebar(); ?>
 * <?php get_footer(); ?>
 * Is everything looking okey? Something wrong? Is my stylesheet okey? ( [http://thort.se/testblog](http://thort.se/testblog))
   I do not have alterning background color in the posts, which is what I want.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Varying background color in posts](https://wordpress.org/support/topic/varying-background-color-in-posts/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/varying-background-color-in-posts/#post-319398)
 * Thank You Billh !
 * I do appreciate your detailed reply!
 * I’ve tried to follow your advice exactly. But I can’t get it to work.
 * You wrote: “You’ll need to add two classes (in this example the classes are darkentry
   and lightentry) to your CSS file.”
 * Here I am insecure. How shall these new stylesheet classes look like? I tried
   this:
 * .lightentry {
    background-color: #ffffff; }
 * .darkentry {
    background-color: #f2f2f2; }
 * But I’m not sure if it’s right.
 * I’ve installed a testblog at:
 * [http://thort.se/testblog](http://thort.se/testblog)
 * Here I have used the default WordPress theme and done changes in the index.php
   and style.css of the theme.
 * I would be grateful if you would like to look into the blog and try to see what
   I have done wrong.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Varying background color in posts](https://wordpress.org/support/topic/varying-background-color-in-posts/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/varying-background-color-in-posts/#post-319288)
 * This forum has alterning background colors on the posts. White and grey.
 * This is what I also want on my blog.
 * How is it done?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Varying background color in posts](https://wordpress.org/support/topic/varying-background-color-in-posts/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/varying-background-color-in-posts/#post-319190)
 * If I have two different content stylesheets with different background color.
 * Would it then possible to shift alternately between them?
 * Would it be possible to make php code that can decide which content stylesheet
   to use when posting a new post?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Date format problem](https://wordpress.org/support/topic/date-format-problem/)
 *  Thread Starter [Thort](https://wordpress.org/support/users/thort/)
 * (@thort)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/date-format-problem/#post-318263)
 * Thanks MichaelH !
 * I did a change in the “WordPress Default 1.5” theme. In index.php I changed,
 * `<?php the_time('F jS, Y') ?>`
 * to
 * `<?php the_date(); ?> - <?php the_time(); ?>`
 * Now my date settings in Options > General take effect.
 * Thanks for your guidance! 🙂

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/thort/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/thort/replies/page/2/?output_format=md)