Subscribe to my RSS Feed ... Or if you prefer, Subscribe by e-mail ... What is RSS?

The Fix for (more) in Andreas04 2.0

idea.jpg

It took a couple hours yesterday, but I finally figured it out. As they say about hindsight, it’s 20-20. It was actually an easy fix to get the “more” function to work the way it is intended, as a lead in to the rest of a post after it is split.

It seems the problem is with the Andreas04 2.0 by Tara Aukerman Theme. I am not sure if it is recurring in any of the other Themes they have or not, but it should be addressed by them.

Here are the steps I took which were totally unnecessary: (so you don’t have to)

~~ Way back in the beginning when I was having this problem, I adapted by including the “more” function as an addition to the “comment” php. It worked but not well, it took people to comments causing them to have to scroll up to read the balance of the post.

~~ Since I have other WordPress Blogs with different Themes, I tested the “more” on them.  It worked fine on the 2 other instances of the same Version of WP. It showed “Read the rest of the post” where it should be. Telling me that the problem was most likely this Theme.

~~ I found the php that produces the desired “more” effect and tried copying it into the index php of the Andreas Theme.

~~ That didn’t work out too well, it split the post, but also gave duplicates of each post. I tried various positions within the index and got varying results. None of them any good.

~~ I blocked out the php in different places and got some really funny looking stuff, but I wasn’t laughing too hard by that point.

~~ Finally, I found the below php in the Main index and noticed it was the same as the one I was trying to copy into the index, except that the _content was blank. That’s what caused the missing “more” and the duplication. 

div class=”entry”

h2 a href=” ?php the_permalink() ? ” title=”Permalink” ?php the_title(); ? /a /h2
 
?php the_content(”); ?

The Fix was simple after that discovery, revelation, lightbulb over my head.

I blocked out the whole php that I copied and filled in the blank, where the ?php the_content(”):? is for the “more“. Just place whatever text you want to show between the ” in the statement. Now, it works like a Charm. The code is located right after the ?php have_post statement.

As I said about hindsight… It really was simple, I just had to find it.

NB: I had to remove the Brackets in the Statement in order for it to show properly

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google Bookmarks
  • email
  • LinkedIn
  • StumbleUpon
  • Facebook
  • RSS
  • Twitter

Related Posts:
  • How to Alphabetize Categories in Andreas04 2.0
  • Add Post Count to Categories in Andreas04 2.0
  • Want to Go to The Dark Side?
  • This entry was posted in Andreas04 Tweaks, Basics, Tips, WordPress. Bookmark the permalink. Both comments and trackbacks are currently closed.
    Print This Post Print This Post

    One Trackback

    1. By Working at Home on the Internet on November 14, 2006 at 6:58 pm

      [...] The Fix for (more) in Andreas04 2.0 [...]


      Welcome...


      I appreciate you taking the time to visit, and hope you enjoy your stay. Look around, there are a lot of interesting posts for you to read and information for you to take with you.
      Contact Me --- Hire Me



      Working at Home Blog Carnival


      bigtop.jpg
      Join In The Fun

      Recommended by Joe




      Navigation


      --The Way-back Machine--

      ...from February 8, 2009...


      promiseblue0.gif

    • Today’s Job Listings

    • Subscribe via e-mail

      Delivered by FeedBurner

    • Pages

    • Series

    • Categories

    • Archives