- This topic is empty.
March 26, 2010 at 4:59 pm #28531
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.March 26, 2010 at 5:28 pm #73029TheDocMember
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.March 27, 2010 at 4:09 am #73059
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!"
If you look at the same post on its own page here: http://dizzywhiledreaming.com/?p=126 .
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.March 29, 2010 at 9:49 am #73134blue642Member
your problem lies in the code that creates the Recent entries…Code:
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…
Hope that helps,
BlueMarch 29, 2010 at 10:11 am #73132
That’s what I’m talking about, you guys rock!!!!
Thank you! Thank you! Thank you! :DMarch 29, 2010 at 12:25 pm #73139blue642Member
Glad I could help, and glad it’s working. ;)March 29, 2010 at 12:40 pm #73140
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,
After reading the article and comments I was led to a follow-up at http://palehorseinformation.com/.
In those comments was the solution I used, found at http://wordpress.org/:
I am going to edit the title as well so maybe this will help some other people too.
- The forum ‘Back End’ is closed to new topics and replies.