Laying out your WordPress post

About me: I am an everyday Joe Schmoe that enjoys spending way too much time on the internet. Internet technologies such as XHTML, PHP, CSS, and FLASH are my best friends and hobbies. They are daily learning experiences and I enjoy sharing what I learn with others.

WORDPRESS COMMUNITYThe first tip for laying out the text in a post is to ask yourself whether you might not be better off with one or more smaller posts. I say this because some people have a lot of material to deal with and they are not sure how to break it up visually. Sometimes the simple answer is to break up the content into separate posts or pages. Pagination is a fair option but you will need additional plug-ins and the skills to properly implement them.

Another great option is setting up a category for a particular subject and doing mini posts. Your visitor can “be lead” to this category and see all your posts dealing with the subject matter. No plug-ins or additional coding skills needed. In the case of pages, when there is a lot of content on a single page, ask yourself, would it be better served up by breaking the content into separate pages? Each page could have its own focus.

Long posts appearing on your index.php / home.php page, how do I manage them? If you are using a theme and your homepage is not static, WordPress has what I think is a very elegant system for handling short summaries of posts. There’s the MORE button, which allows you to control each post individually and decide whether the full text is displayed or only a portion of it with a Read More link. There’s the Excerpt feature, which functions automatically on all posts, but not all themes use the Excerpt feature. We covered this in an earlier WordPress blog, controlling it within the WordPress loop. It is important to understand the loop and how it works.

The MORE button is easy to use. Simply place your cursor at the point in the text where you want to cut off the post and display a Read MORE link, and click MORE. The easiest way to get rid of the More line is to click it so that you see drag points around its edges, and then hit Delete or backspace on your keyboard. If you want to move the MORE link, hightlight by clicking on it and then left click and drag it to the new location. I rarely use the visual editor but it should work the same in both.

Even if your theme does not currently use the Excerpt feature, it’s worth entering a special summary in the Excerpt box while you’re adding a new post. That way, some time in the future, if you use another theme or modify the current one to use excerpts, you won’t need to go back through everything adding excerpts. Personally, I would consider controlling it in the WordPress loop itself.

Tags: , , ,

4 Comments So Far

  1. Aiko posted on April 26, 2010 | Permalink

    Couldn’t help laughing when I read this post – especially while looking at the picture where the Drupal community is beaten by WordPress….

    About the same time you were writing this post I was working on another e.g. better script to manage the excerpts on my blog. I wasn’t happy with what I had: a very crude script to break the string after #number of words. That’s why I couldn’t have links or images in the excerpts because the script would also break the string between tags.

    I found the perfect script for my purposes on ……. the Drupal site :-) http://drupal.org/node/46391

    It also breaks the string after #number of words BUT it will stay out of the tags and take punctuation into consideration, so it won’t break in the middle of a sentence. And .. it also closes any open tags. I’m very pleased with it as the excerpts are looking a lot better now!

    Guess this is about the same thing WordPress is using for their excerpts.

    EDIT: Great edit script for the comments BTW :-)

  2. Eric Zabinsky posted on April 26, 2010 | Permalink

    @Aiko they are close in ways but completely different in others. I have local Drupal community begging me to come on board but I like the WP framework better. The admin is easy to teach and theming is a snap.

    Laughing at my guy huh? The wife was sitting next to me the whole time I was creating him saying, “I don’t get it.”

    As for your prob… you find a solution? If not, I may be able to help.

  3. Aiko posted on April 26, 2010 | Permalink

    WordPress IS a great script – no doubt about that. The fun thing, call it challenge, to me is assembling / scripting the whole thing myself.
    Just see how far it gets me – trying to implement the things I would like (and my wishlist is very long :-)

    As for the prob: Thanks for the offer but there is no problem anymore. I’m using the function from the Drupal site and that’s doing the job exactly as I want.

    Just love that coding – it’s addictive :-)

    BTW: did you read the “secret”?
    http://blog.atgp.nl/index.php?id=7#comment9

  4. Eric Zabinsky posted on April 26, 2010 | Permalink

    Yes, I did! I try to visit daily. Great idea!

count Trackback

  1. [...] This post was mentioned on Twitter by Eric Zabinsky and Eric Zabinsky, Eric Zabinsky. Eric Zabinsky said: LAYOUT in WORDPRESS http://bit.ly/dg9FKP and WYSIWYG WordPress HELL « http://bit.ly/boHg4g [...]

Register!


That's it - back to the top of page!

Recent Posts

POPULAR POSTS!