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 »

show pictures in excerpt ata 3.4.6


  #1  
Old May 1, 2010, 06:42 AM
drey
 
39 posts · May 2010
hello,

I would like to show pictures in excerpt,
I have read different links about this, and the solutions seems to be different depending on which version of ata we are working on.

I found out that it is possible to keep pics in excerpt with ata 3.4.6 in this thread, but my english and my knowledge of coding don't enable me to let me know exactly what to do in order to fix this
(http://forum.bytesforall.com/showthr...=excerpt+image)

it is said :

In 3.4 there were some changes because of the way WP strips the HTML tags when it process the excerpt, so Flynn wrote a version. You can control what HTML tags don't get strip. Give it a try

what does it mean exactly ??

thanks for reading, see you soon !
  #2  
Old May 1, 2010, 02:39 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you look at ATO>Style Excerpts you will see where you can set html tags that don't get stripped out in excerpts. For instance if you want an image in an excerpt you don't want the <img> tag stripped and thus the image would show. That is a guess as to what happens as I haven't tested so I would say play around with that and see what happens.
__________________
~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.
  #3  
Old May 2, 2010, 01:51 AM
drey
 
39 posts · May 2010
hello !

thank you for answering me !

I've added this line <img><p><div><a>
in Don't strip these tagsas suggested, but nothing happens.
Is there a problem ?
I mean that I've tried different number of words for the length of the excerpt (from 5 to 500 words) but the excerpt never changes, it is always +- 50 words ! how does it come ?
  #4  
Old May 2, 2010, 05:29 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what version, what is your url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 2, 2010, 04:03 PM
drey
 
39 posts · May 2010
hi,
atahualpa 3.4.6
wordpress 2.9.2
www.tailleudimages.fr

  #6  
Old May 2, 2010, 06:29 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
no such web site
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old May 3, 2010, 11:51 AM
drey
 
39 posts · May 2010
yep, I should have gone to sleep earlier !

the real url :
www.tailleurdimages.fr
  #8  
Old May 3, 2010, 11:58 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'm seeing images on the front page...is this the page with the problem?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old May 4, 2010, 04:02 AM
drey
 
39 posts · May 2010
ni, I've put back the full post in front page, as the excerpt options didn't work, it wasn't nice.
As I said i couldn't even change the number of words of the excerpt of the frontpage, I tried, but the excerpt always remained the same.

but i noticed that it worked somehow on the archive page. please check on the month of may (mai) :

on this archive page I noticed :

_ if I put "5 words" i get no images

_ if I put "55" words (the page you see right now is set on "55", so you can see it) I get some images just for one on 3 posts

_ if I put "555" words it is quite the same as with "55 words" : the length of the text is the same (50 words) excepted for the last post : I get all of its images + the full text...

how strange isn't it ? there's something I'm missing...
  #10  
Old May 4, 2010, 05:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The issue is probably related to the issue of what is a word.

When you use excerpts (if you hand craft an excerpt - this doesn't apply) Atahualpa trys to emulate WordPress's built in automatic excerpt creation. WordPress will create a 55 word excerpt, but it excludes ALL HTML.

Atahualpa does this with the exception that you can specify what HTML to include in the excerpt. This now poses a dilemma. What is a 'word' should the wotds in the HTML statements be counted? what about a short code? should the short code be exploded and then counted? but a short code will be processed some plugin - what then?

There was a bug in the excerpts (http://forum.bytesforall.com/showthread.php?t=3377) but 3.4.7 should be coming out shortly and should have the fix incorporated so I'd wait for it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old May 4, 2010, 08:25 AM
drey
 
39 posts · May 2010
ok. but what about this 3rd post for which the text reacts to the number of words that i choose ? it is exactly shaped as the other ones (pics then text) but it does work with this one...
  #12  
Old May 4, 2010, 09:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would have to look at your backend to see what the specifics are, If you would like me to do this, send me a PM and I'll quote you my rates for personal service.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tweetmeme widget does not show up when using Manual excerpt buzz628 Sidebars & Widgets 0 Jan 15, 2010 05:40 PM
Show full Excerpt SFGolfer Excerpts, Read more, Pagination 15 Nov 10, 2009 08:33 PM
How to show image on excerpt and have a different image on the posts page? mgofootball Post-Kicker, -Byline & -Footer 1 Sep 23, 2009 05:39 PM
New to WP...Got Ata 3.3..?'s on Ata vs Montezuma and TOP THINGS TO CUSTOMIZE - FIX? Brasshatgroup New Versions, & Updating 5 Jun 1, 2009 06:22 AM
[SOLVED] Show pictures as thumbnails on homepage timdevogel Excerpts, Read more, Pagination 1 May 4, 2009 02:57 AM


All times are GMT -6. The time now is 04:05 AM.


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