Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

"don't strip these tags" + excerpt issues


  #1  
Old Mar 25, 2011, 07:42 PM
SC801
 
34 posts · Oct 2010
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!
  #2  
Old Mar 26, 2011, 04:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What's the URL so we can see the issue
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 26, 2011, 06:36 PM
SC801
 
34 posts · Oct 2010
http://sierraclubcalifornia.org/

in the sticky post, the "1. ..." line is in h4 format, and just want it to be regular.
  #4  
Old Mar 29, 2011, 04:30 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by juggledad
What's the URL so we can see the issue
I posted the url, Juggledad. Can you help me?
  #5  
Old Mar 29, 2011, 10:16 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Do you have anything in the excerpts box for that post. Any tags in that would show.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Mar 30, 2011, 03:55 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Mar 30, 2011, 04:55 PM
SC801
 
34 posts · Oct 2010
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>

<p>Sierra Club California is working with the Legislature, Governor, Public Utilities Commission and Air Resources Board to speed our state’s transition to a green economy that sustains both jobs and our atmosphere, by:  <span style="color: #999999;">. . . →</span><!--more Read More--></p>
I don't know which settings you mean, or how to export them. But, like I said in my first post, when this issue appeared was when I added tags to the "don't strip these tags" section of the excerpt settings. What is in the "don't strip" section now is
HTML Code:
<p><a><object><embed><img><div><em><br>
Logically, since I didn't change anything else at the time, one of these added tags must have made the h4 heading tag become viable, right? Can you tell me what might have done that?
  #8  
Old Mar 30, 2011, 09:29 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Do you have anything in the excerpts box for that post?

Any tags in that would show.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Mar 31, 2011, 04:13 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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?'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Mar 31, 2011, 12:51 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by juggledad
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?'
1) "Only Excerpts"
2) 0
  #11  
Old Mar 31, 2011, 12:55 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by lmilesw
Do you have anything in the excerpts box for that post?

Any tags in that would show.
No, I have nothing in that box.

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?
  #12  
Old Mar 31, 2011, 02:06 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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".
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #13  
Old Mar 31, 2011, 03:50 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this, replace your current functions.php with this copy
functions.php.zip
and let me know the results
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Mar 31, 2011, 04:35 PM
SC801
 
34 posts · Oct 2010
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!

Last edited by SC801; Mar 31, 2011 at 05:00 PM.
  #15  
Old Mar 31, 2011, 04:47 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #16  
Old May 25, 2011, 05:24 PM
SC801
 
34 posts · Oct 2010
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>
<p>2011 marks Sierra Club California's 25th year as a standalone legislative office. Please contribute your memories of the last 25 years to help us create a living history of our accomplishments.</p>
<p>Thank you!</p>
<p><!--more--></p>
<p>[si-contact-form form='4']</p>
As a reminder, this is the website: http://sierraclubcalifornia.org/
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.
  #17  
Old May 25, 2011, 06:26 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
have you applies the 364 bugfix's? (new versions & updates forum)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #18  
Old May 25, 2011, 07:21 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by juggledad
have you applies the 364 bugfix's? (new versions & updates forum)
I have installed the bugfixes 364-01 to 364-07. (Bugfixes 08 and 09 don't apply to my site)

Without the 07 bugfix, the read-more link shows up. With the 07 bug fix, it does not.

Bookmarks

Tags
don't strip these tags, excerpts, headings, html, tag

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Add to cart" excerpt buttons not displaying in IE8. furiousfrog Excerpts, Read more, Pagination 2 Oct 13, 2010 04:15 AM
When "parent" clicked, "children" become active and don't change on hovering ymf Page & Category Menu Bars 1 Apr 23, 2010 07:43 AM
Where is the "Excerpt" part of The Loop in Atuhualpa JakeThePeg Excerpts, Read more, Pagination 6 Aug 10, 2009 05:12 AM
Everything is an excerpt, but option says "full text" Ace Excerpts, Read more, Pagination 0 Mar 15, 2009 11:34 PM


All times are GMT -6. The time now is 01:10 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.