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 »

Want excerpts to show full size first image instead of excerpts


  #1  
Old Mar 22, 2012, 09:49 AM
thriftyveggiemama
 
2 posts · Mar 2012
I have excerpts for posts enabled on my home however I want the full size first image to be displayed and not the thumbnail. How can I do this? I figured out how to show the full size first image by adding the tag in ATO Don't strip this section under configure excerpts but when i do that the post thumbnail and the first image are displayed.

Thanks in advance for anyone's help on this.
  #2  
Old Mar 22, 2012, 10:10 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Don't use the featured image function.
__________________
~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 Mar 22, 2012, 10:29 AM
thriftyveggiemama
 
2 posts · Mar 2012
So I have to go back through each post and disable the featured image?
  #4  
Old Mar 22, 2012, 01:52 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You could also try adjusting the thumbnail size in the Thumbnail section of the theme options.
__________________
~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.
  #5  
Old Aug 19, 2012, 06:40 AM
theadventurebite
 
136 posts · May 2010
Is there a way to actually edit the theme file to make the excerpt really just be the post only shortened?

I do not want it pulling the image in from the featured image area and I want it to pull in all the images in the first 250 characters....not just one.

I'm looking in functions.php but not finding what I am looking for....i think?
  #6  
Old Aug 19, 2012, 06:50 AM
theadventurebite
 
136 posts · May 2010
Okay so it looks like if I manually add the
Code:
<!--more-->
to each post and leave it on full content instead of excerpt this will achieve this. A bit of a pain but not terrible and it makes for a cleaner transition than getting cut off in the middle of the sentence too.

If there is a way to do this automatically I would be interested still though.
  #7  
Old Aug 19, 2012, 07:00 AM
theadventurebite
 
136 posts · May 2010
Okay so by deleting:
Code:
$text = strip_tags($text, $bfa_ata['dont_strip_excerpts']);
from functions.php I have gotten all the images back and working correctly.

edit: If you leave this in the code and just add the < img > tag to the tags not to strip in the ATA settings it also works.

The only problem is I also have the featured image running so I am getting doubled up images at the top of the posts.

Is there a way to turn this call off to the images or do I need to delete the entire post_thumbnail section? The latter seems more scary to me by a long degree.

Last edited by theadventurebite; Aug 21, 2012 at 08:47 AM.
  #8  
Old Aug 19, 2012, 10:11 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
add the following to the CSS Inserts
HTML Code:
img.attachment-post-thumbnail {display:none;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Aug 21, 2012, 08:40 AM
theadventurebite
 
136 posts · May 2010
Great. That worked. Is this a very clean way to do it? It seems like there should be a place in the excerpt code that says like:

get_the_post_thumbnail

but I can't seem to find it?

If I could just delete something like that without deleting the whole thumbnail creation I would love to do that....it seems cleaner from my point of view then just hiding the image with the CSS.

Am I thinking that through right?
  #10  
Old Aug 21, 2012, 08:56 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you can certainly edit the theme code insteading of using the css and it will be 'cleaner' on the page, but the next time you update the theme you have to go back and make the changes all over again.

so you have to ask yurself, which will be easier in the long run
__________________
"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
How to change search results to show full posts instead of excerpts? Fredo Atahualpa 3 Wordpress theme 2 Jul 6, 2011 08:07 PM
[SOLVED] Full image vs Thumbnail in excerpts? allyevans Excerpts, Read more, Pagination 1 Dec 31, 2010 01:36 PM
[SOLVED] How to show some posts in full, others as excerpts on my homepage? winterveg Center area post/pages 1 Nov 15, 2010 07:54 AM
[SOLVED] Full size image not thumbnail for excerpts goonygoogoo Center area post/pages 2 Sep 5, 2010 09:46 PM
Only show page title, not excerpts or full, on tag pages. Alphanon Excerpts, Read more, Pagination 2 Mar 3, 2009 10:18 AM


All times are GMT -6. The time now is 04:17 PM.


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