|
#1
Jan 12, 2011, 07:24 PM
|
|
I have found that when I switched to excerpt view if the featured image has a caption it displays incorrectly on the front page. Instead of not displaying at all on the front page, or displaying under the image the caption appears as the first line of the excerpt as if it's the first line of the article. I have actually had similar problems with other themes. Any way to fix this?
Thanks.
|
#2
Jan 12, 2011, 08:35 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
What is your version of Atahualpa and WP?
What is the URL point to 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
Jan 13, 2011, 06:27 AM
|
|
"What is your version of Atahualpa and WP?" The latest of both: Wordpress 3.0.4 and Atahualpa 3.6.1.
"What is the URL point to the issue?"
http://www.singledudetravel.com/ - on our latest post "Central America: “The Stepping-Stone”" (if it hasn't scrolled down by the time you read this) you will see what looks like the first line of the post "Costa Rican Chicas" but really that should simply be the featured image capture.
I have a similar (but worse problem) with WP Cover theme where sometimes it shows some of the [caption] code. That's why I thought it might be some kind of a known issue.
Thank you.
|
#4
Jan 13, 2011, 07:07 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
How are you defining the thumbnail? as a featured image? or do you use a plugin?
please attach a copy of your settings (ato->export/import settings)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Jan 13, 2011, 07:47 AM
|
|
Just using the normal built in functionality. There's no plugins involved that I know of. Here is the settings and screen shot of the image definition.
Here you go. Thanks.
Last edited by singledudetravel; Jan 27, 2011 at 03:46 PM.
|
#6
Jan 14, 2011, 10:29 AM
|
|
Here is a screen shot and the actual code involved:
HTML Code:
[caption id="attachment_183" align="alignleft" width="300" caption="Costa Rican Chicas"]<a href="http://www.singledudetravel.com/wp-content/uploads/2011/01/costa-rican-chicas.jpg"><img class="size-medium wp-image-183" title="Costa Rican Chicas" src="http://www.singledudetravel.com/wp-content/uploads/2011/01/costa-rican-chicas-300x241.jpg" alt="Costa Rican Chicas" width="300" height="241" /></a>[/caption]
Thanks.
Last edited by singledudetravel; Jan 27, 2011 at 03:46 PM.
|
#7
Jan 27, 2011, 12:04 PM
|
|
Is there any hope of fixing this some how?
Thanks.
|
#8
Jan 27, 2011, 01:54 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
it's not a bug, the [caption..] is a short code, it gets expanded into HTML code. All html is stripped from a excerpt or ignored by default.
You need to look at your site when the issue appears. Then look at the the browsers 'view source' option to look at the code that was generated. Now find what the [caption] shortcode was changed to and add that HTML to the 'Do not exclude' section of the excerpt page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
Jan 27, 2011, 01:57 PM
|
|
Quote:
Originally Posted by juggledad
it's not a bug, the [caption..] is a short code, it gets expanded into HTML code. All html is stripped from a excerpt or ignored by default.
You need to look at your site when the issue appears. Then look at the the browsers 'view source' option to look at the code that was generated. Now find what the [caption] shortcode was changed to and add that HTML to the 'Do not exclude' section of the excerpt page.
|
great. makes perfect sense. I think i can handle that. thank you.
|
#10
Jan 27, 2011, 02:58 PM
|
|
Quote:
Originally Posted by juggledad
it's not a bug, the [caption..] is a short code, it gets expanded into HTML code. All html is stripped from a excerpt or ignored by default.
You need to look at your site when the issue appears. Then look at the the browsers 'view source' option to look at the code that was generated. Now find what the [caption] shortcode was changed to and add that HTML to the 'Do not exclude' section of the excerpt page.
|
Is there a chance this just isn't fixable? The only thing I could find to add to exclude was the <div> tag but adding that to exclude created other worse formatting errors...
Thanks.
|
#11
Jan 27, 2011, 03:28 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Did you not see the <img> ??
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#12
Jan 27, 2011, 03:36 PM
|
|
Quote:
Originally Posted by juggledad
Did you not see the <img> ??
|
Yes (sorry didn't include in my post) but that one doesn't help either.
|
#13
Jan 27, 2011, 03:41 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what post is displaying the issue? The site looks fine.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#14
Jan 27, 2011, 03:47 PM
|
|
Quote:
Originally Posted by juggledad
what post is displaying the issue? The site looks fine.
|
Well yes because I keep changing it back when it fails so the site doesn't look all screwed up. Attached screen shot is the result of adding <img>, <div> and <span> to exclusions. I tried them all individually and they each produce a different kind of mis formatting.
|
#15
Jan 27, 2011, 04:00 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
I can not recreate your issue and if I can't see it on your site, there is not much I can do.
Document a sample, exactly how you add both the image and the featured image to the pos. It maybe that I'm doing it differently.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#16
Mar 19, 2011, 10:35 PM
|
|
Hi,
I came across the same type of error on my site. Here's how I recreate it.
I had set the excerpt length to default of 55. When I use the wordpress post editor's "Insert More Tag" function, it will override the excerpt function in Atahualpa.
I fixed by forcing all excerpts to go to be the excerpted version in the else statement. I am not sure why (count($words) < $post_content_length) causes an error, but it does on my site. Once I commented out the below section, the bug went away.
Quote:
// Custom Excerpts
if (count($words) < $post_content_length) {
// use the teaser and its 'read more'
$bfa_ata_more_tag_final = str_replace("%post-title%", the_title('', '', false), $bfa_ata['more_tag']);
$text = the_content($bfa_ata_more_tag_final);
return $text;
} else {
|
I hope this helps!
Hui-Neng
|
#17
May 27, 2011, 03:45 PM
|
|
I have been experiencing the same problem - when a post is displayed as a excerpt the image caption becomes the first line of the post.
I was able to fix this by simply filling in the excerpt field with a excerpt when creating a post rather then leaving the excerpt field blank.
|
|