Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Post Excerpt Theme Issue [the_excerpt()]

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28531
    pseudus
    Member

    Hopefully someone can help me with this. I am using the latest WordPress and the THAT-Music-Theme http://themes.weboy.org/that-music-theme/ I have done some tweaking here and there and am overall pretty happy with it. The issue I am having is on the main page. You have "Latest Entry" and then "Recent Entries", under "Recent Entries", all the html is stripped out. In other words anchor links don’t work, and any shortcodes used in an entry are stripped as well.

    I have looked thru the code, and can’t see anything that would do that, so I need some help. The site can be found at http://dizzywhiledreaming.com

    Thanks in advance for any help with this.

    #73029
    TheDoc
    Member

    Hmmmm, everything seems to be working for me?

    If you have a screen shot of the problem, and a screen shot of what it should look like, that would greatly help! Or if you want to better describe the problem, perhaps I’m just not quite understanding it.

    #73059
    pseudus
    Member

    The front page shows a previous post under Recent Entries, and all links/short codes are omitted. See here: http://dizzywhiledreaming.com for the front page. Notice the post "Music Added!"
    [img]http://dizzywhiledreaming.com/EXAMPLE1.png[/img]

    If you look at the same post on its own page here: http://dizzywhiledreaming.com/?p=126 .
    [img]http://dizzywhiledreaming.com/EXAMPLE2.png[/img]

    You can see what is missing.

    As I explained before, it is killing any code and listing the post as plain text for the most part.

    I am trying to figure out why it is doing that and how to fix it.

    Thank you.

    #73134
    blue642
    Member

    your problem lies in the code that creates the Recent entries…

    Code:

    Recent Entries

    ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

    ” rel=”bookmark” title=”Permanent Link to “>

    Read More..‘); ?>

    Code:
    Read More..‘); ?>

    The above line by default strips all HTML and graphics by default.

    "it will display a teaser which refers to the first 55 words of the post’s content. Also in the latter case, HTML tags and graphics are stripped from the excerpt’s content." – from the codex http://codex.wordpress.org/Template_Tags/the_excerpt

    you can fix it by following the great article here…

    http://www.aaronrussell.co.uk/blog/improving-wordpress-the_excerpt/

    Hope that helps,
    Blue

    #73132
    pseudus
    Member

    That’s what I’m talking about, you guys rock!!!!

    Thank you! Thank you! Thank you! :D

    #73139
    blue642
    Member

    Glad I could help, and glad it’s working. ;)

    #73140
    pseudus
    Member

    Real quick, after reading thru the comments on the excellent article you recommended, it led me to another site with some more info, and after reading thru those comments someone mentioned a plug-in to fix it. So I admit, I took the easy way out and installed the plug-in. Works for me.

    Here’s the thread in a nutshell.

    My issue was with the the_excerpt() function in my wordpress theme.
    to fix it an article at http://www.aaronrussell.co.uk was recommended,
    http://www.aaronrussell.co.uk/blog/improving-wordpress-the_excerpt/
    After reading the article and comments I was led to a follow-up at http://palehorseinformation.com/.
    http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/
    In those comments was the solution I used, found at http://wordpress.org/:
    http://wordpress.org/extend/plugins/advanced-excerpt/

    I am going to edit the title as well so maybe this will help some other people too.

    Thanks again.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Back End’ is closed to new topics and replies.