"don't strip these tags" + excerpt issues
So, I was recently fiddling with my "don't strip" section because I needed to have a video from a post show up in the excerpt on the home page. Now, something that I added has made the h4 heading show up as well. I don't want the heading format to show up in excerpts. But I've been deleting and checking to see which of the tags I entered made this happen, and can't figure it out.
these are the tags I have in the "don't strip" section now: <p><a><object><embed><img><div><em><br> Can someone tell me what's going on? (ps: using Atahualpa 3.6.4) thanks! |
What's the URL so we can see the issue
|
http://sierraclubcalifornia.org/
in the sticky post, the "1. ..." line is in h4 format, and just want it to be regular. |
Quote:
|
Do you have anything in the excerpts box for that post. Any tags in that would show.
|
what is the actual post - please copy and past it here using the HTML editor to copy it and then use the HTML icon above to paste it
also, export your settings and attach them to a reply |
Here is the text from the post (before the break)
HTML Code:
<h4>1. Fighting Global Warming, Generating Clean Energy and Stimulating Green Jobs</h4> HTML Code:
<p><a><object><embed><img><div><em><br> |
Do you have anything in the excerpts box for that post?
Any tags in that would show. |
at ato->Configure EXCERPTS
1) what do you have for 'Posts or excerpts on HOME page?' 2) what do you have for 'Show the first X posts on HOME page as full posts?' |
Quote:
2) 0 |
Quote:
But I do have a "read more" break in the post, and have not used that for any other post. Could that somehow make the heading tag show? |
Yes it would. As a matter of fact Juggledad has been looking at that very issue. Currently if are set to show excerpts and you have a "readmore" the excerpt is ignored and all tags are rendered. We are testing "fix".
|
1 Attachment(s)
try this, replace your current functions.php with this copy
Attachment 1259 and let me know the results |
I used the new functions.php file and that fixed the issue. Yay! :D
Just so I know - will the posts with <!--more--> breaks now adhere to the controls in the "Configure EXCERPTS" section? They seem to, except for the placement of the "read more" link, which in all other posts is aligned with the last line of the excerpt, while in the <!--more--> break posts is in a line of its own. (you can compare my sticky post excerpt vs my other posts to see this http://sierraclubcalifornia.org/) Thanks so much, lmilesw and juggledad! |
In my testing if the readmore is "within" the excerpt it will show. If the excerpt is either manual or "before" the readmore the excerpt rules apply.
|
The <!--more--> function now no longer works at all! When I put in a manual break, no "read more" link of any kind appears.
I tried doing <!--more Read more--> as well and that did not work. I tried moving the tag around in the post, and that did not work. It is well within the number of words to show in "Excerpt Length". I read something about needing to have the tag on it's own, without <p></p> around it, but I can't make it do that because the HTML editor keeps automatically adding it. (Putting it within the paragraph tags of another paragraph does not work either I am using the functions.php that I downloaded from you above. When I replace it with the original functions.php, and use <!--more Read more--> it works again. I am using Atahualpa 3.6.4 and Wordpress 3.0.1 This is my html: HTML Code:
<p><img class="alignnone" src="http://sierraclubcalifornia.org/muir_tree.PNG" alt="John Muir" width="542" height="351" /></p> The first post is the one with the <!--more--> tag. As you can see, it breaks where I tell it to, before the form, but there is no link to read more. |
have you applies the 364 bugfix's? (new versions & updates forum)
|
Quote:
Without the 07 bugfix, the read-more link shows up. With the 07 bug fix, it does not. |
All times are GMT -6. The time now is 06:07 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.