20 replies
Hello everyone.

For some reason, all of my wordpress posts that are more than like a paragraph long get cut off and the only thing that shows up on the home page is:
the title of the article and a link to read more.

Can someone help me figure out how to fix this problem so my blog posts will show up on the home page rather than a user having to click read more to see them?


Thanks,



Jacob Martus
#problem #wordpress
  • Profile picture of the author Istvan Horvath
    Most likely it is a setting/code in your theme.

    When in doubt - always switch to the default theme and check the blog's behaviour.
    If in the default works as you would like... it's time to look into your theme files.
    Signature

    {{ DiscussionBoard.errors[1412136].message }}
    • Profile picture of the author tomsmart80
      this is a great post
      always always check your blog in a default template
      9 times outta ten the problem will be in your theme code
      check out the css for your theme you could probably see code there for the more tag
      in the wrong place
      but i am not a wordpress coder
      hope that helps
      {{ DiscussionBoard.errors[1419782].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by tomsmart80 View Post

        but i am not a wordpress coder
        Then don't talk nonsense like looking for the "more code" in the CSS file

        Useless guessing is NOT help. It's just wasting bandwidth and everybody's time!
        Signature

        {{ DiscussionBoard.errors[1419799].message }}
        • Profile picture of the author tomsmart80
          the more text tag can be modified in css
          im not guessing
          {{ DiscussionBoard.errors[1420041].message }}
          • Profile picture of the author Diana Lane
            Originally Posted by tomsmart80 View Post

            the more text tag can be modified in css
            im not guessing
            The 'more' tag is placed where it's wanted in the theme's php files - or not - and dictates whether there will be more text shown beyond it. The default number of characters is 55 (if I remember rightly), but you can add code to the 'functions' file to change it. You will not find a 'more' tag in a css file.
            Signature

            Plot short fiction, long fiction, even outline non-fiction * Edit the question prompts to suit your genre * Easily export text and image files for use with your word processor or Scrivener.
            {{ DiscussionBoard.errors[1420086].message }}
            • Profile picture of the author Istvan Horvath
              Originally Posted by Diana Lane View Post

              The 'more' tag is placed where it's wanted in the theme's php files - or not - and dictates whether there will be more text shown beyond it. The default number of characters is 55 (if I remember rightly), but you can add code to the 'functions' file to change it. You will not find a 'more' tag in a css file.
              Agree with the last sentence - no 'more' tag in the css.

              However, I have to disagree with the rest.

              The more tag is NOT placed in the theme files. There is only a piece of code that enables the use of the "more" tag. It looks like this:
              PHP Code:
              <?php the_content('Read the rest of this entry &raquo;'); ?>
              YOU, the blogger will insert the more tag wherever you want, while writing the post and it will break your post exactly at that point.


              Not to be confused with the_excerpt template tag, which would look like this in the code line above:
              PHP Code:
              <?php the_excerpt(); ?>
              This one has a set number of words/characters defined in the WP core files and it does not display the "read more" but this [...] after the first X characters.

              Just to make it more compliacted, if you write anything in the "excerpt" field when writing the post - that text will be displayed on the site (if the_excerpt is in use in your file).
              Signature

              {{ DiscussionBoard.errors[1420182].message }}
  • Profile picture of the author WebFlip
    Quick fix: Go to your post and skip to where you want it to preview, then click the "Insert More Tag" button. This will tell WP to preview what's above that line. If that doesn't work let me know and I'll show you how to fix it in the editor code.

    Safe Travels,
    {{ DiscussionBoard.errors[1412165].message }}
    • Profile picture of the author Istvan Horvath
      s
      Originally Posted by WebFlip View Post

      Quick fix: Go to your post and skip to where you want it to preview, then click the "Insert More Tag" button.
      You should read before posting!

      The OP's problem is that it already HAS inserted that gizmo automatically and he wants to get rid of it.
      Signature

      {{ DiscussionBoard.errors[1412172].message }}
  • I have seen this problem with different themes. There was a christmas theme that I tried last week. I had to get another theme because it was not showing my whole post.

    Other than that, I have never had that problem as a general problem with Wordpress. Does it do this on different themes, or just one theme in particular?
    {{ DiscussionBoard.errors[1412361].message }}
    • Profile picture of the author rosetrees
      Does your theme have an option for deciding whether to display the whole post or just an extract on the home page? I guess if you're using a magazine style theme it may be set that only excerpts appear. Which theme are you using?
      {{ DiscussionBoard.errors[1412441].message }}
  • Profile picture of the author Austin Delaney
    In the WordPress dashboard:

    Appearance -> Editor

    If there is a home.php click on that

    Look for the_excerpt and replace with the_content

    If there's no home.php then edit index.php

    All depends on which theme you're using - they might even have a custom excerpt function.

    PM me if the above doesn't work - will quickly fix it for you.
    {{ DiscussionBoard.errors[1412444].message }}
  • Profile picture of the author rdraiss
    try to change main page to a static page and see if this helps. ( you can do so under settings-reading.
    {{ DiscussionBoard.errors[1413324].message }}
  • Profile picture of the author Jacob Martus
    I am using the heatmap theme. I can't seem to find the_excerpt anywhere in index.php.
    Can anyone please help me fix this problem. I don't like the way the website looks with just the title of every post and then read more. I'd like at least some of the article to show up and then the read more.

    Someone please help me.
    {{ DiscussionBoard.errors[1419268].message }}
  • Profile picture of the author Jacob Martus
    Austin. I don't have enough posts to send PM's. Can you give me an email address to send you that information to?

    Thanks.


    Jacob Martus
    {{ DiscussionBoard.errors[1419305].message }}
  • Profile picture of the author Istvan Horvath
    Well, that's a very, very complicated theme for a beginner... it has zillions of options and conditional statements in the code, meaning if you do this setting, this is what will happen, if you do another setting, something else will happen, etc.

    I don't have time to install it now on a clean, new WP and to play with all the Options of the theme, sorry.
    Signature

    {{ DiscussionBoard.errors[1419342].message }}
    • Profile picture of the author Jacob Martus
      Well Austin said he can take a look, but I can't send him a pm with the login details. Just waiting for a pm with his email and I can get him the info he needs.
      {{ DiscussionBoard.errors[1419347].message }}
      • Profile picture of the author billspaced
        I suggest you look at your plugins, too. Sometimes they cause funky results. If things were working well before you installed a plugin (or some plugins) and not so well after, then an incompatible plugin may be the culprit.

        Just a suggestion. I am no WP expert.
        Signature

        Bill Davis
        Chief Marketing Officer, SoMoLo Marketing

        {{ DiscussionBoard.errors[1419745].message }}
  • Profile picture of the author Istvan Horvath
    Yes, if styling it is considered "modifying"... then yes, the appearance of the more tag can be modified via CSS. That's not the issue in this thread.

    The OP described his situation as the "Read more" being displayed after the excerpts - without him knowingly setting them like that. Which is not about the look or appearance anymore but PHP coding in the template file(s) or some weird interference of a plugin. Hence the need for live testing on his blog...
    Signature

    {{ DiscussionBoard.errors[1420098].message }}
  • Profile picture of the author Diana Lane
    I agree with you wholeheartedly, Istvan. I've coded a few themes in my time and know exactly what you're saying. This is because you have the ability to say it rather better than I do

    I found the idea of some of the more gullible people on the forum being led to believe (by someone who was adamant that they were not guessing) that they could find 'more' tags in the css so shocking that I couldn't just leave it there and then ended up making such a hatchet job of refuting it that I probably ended up being every bit as misleading. Thanks for giving the issue the clarity that my 3.00am brain was unable to
    Signature

    Plot short fiction, long fiction, even outline non-fiction * Edit the question prompts to suit your genre * Easily export text and image files for use with your word processor or Scrivener.
    {{ DiscussionBoard.errors[1420246].message }}

Trending Topics