Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Remove image from specific posts on home page feed.


  #1  
Old Oct 9, 2012, 09:09 AM
bangert
 
6 posts · Oct 2012
Is it possible to remove the image from specific posts being displayed on the news feed. So instead of all being displayed having the image at the top and then an exert, only an exert shows and the title.

Thanks
  #2  
Old Oct 9, 2012, 10:59 AM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
are you saying you want all excerpts on multi post pages with no featured images?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 9, 2012, 11:29 AM
bangert
 
6 posts · Oct 2012
No, sorry for being confusing. How do i choose whether to display the image or not on specific posts, so there is a mixture of exerts, and exerts+featured image.
  #4  
Old Oct 9, 2012, 12:56 PM
Auteri
 
9 posts · Oct 2012
Netherlands
Check this thread for possible solution: http://forum.bytesforall.com/showthread.php?t=18574
  #5  
Old Oct 9, 2012, 02:57 PM
jerryc
 
367 posts · Oct 2012
Florida
Quote:
Originally Posted by bangert
How do i choose whether to display the image or not on specific posts, so there is a mixture of exerts, and exerts+featured image.
What's so great about Montezuma is that, without using much code, you can create as many different templates as you want, with as many different headers as you want, as many different footers as you want, as many different content areas as you want, as many different custom sidebars as you want (and the sidebars can be placed anywhere, not just on the side), all of which can be mixed and matched in various templates, and you can assign any page to any template.

I've been watching wordpress evolve for years, but, until Montezuma came out, it didn't have enough simple flexibility for me. Now, with the release of Montezuma, all my design options are open, and I'll be migrating all my sites over to it.
  #6  
Old Oct 9, 2012, 05:04 PM
bangert
 
6 posts · Oct 2012
I managed to solve it. In the link posted by Auteri, instead of deleting the lines of code from thumbs.php I've instead changed the values of 2 of the fields from true to false. So instead of deleting line's 58 to 64, they should instead read this, the FALSE read TRUE originally:

Code:
} elseif ( bfa_has_attachment() ) {
$thumb = bfa_get_first_attachment_id(); 
$hasthumb = FALSE;
} elseif( bfa_has_img_src() ) {
$thumb = bfa_get_first_img_src();
$hassrc = FALSE;
  #7  
Old Oct 10, 2012, 01:26 AM
Auteri
 
9 posts · Oct 2012
Netherlands
Quote:
Originally Posted by bangert
I managed to solve it. In the link posted by Auteri, instead of deleting the lines of code from thumbs.php I've instead changed the values of 2 of the fields from true to false. So instead of deleting line's 58 to 64, they should instead read this, the FALSE read TRUE originally:

Code:
} elseif ( bfa_has_attachment() ) {
$thumb = bfa_get_first_attachment_id(); 
$hasthumb = FALSE;
} elseif( bfa_has_img_src() ) {
$thumb = bfa_get_first_img_src();
$hassrc = FALSE;
Nice solution, even better than mine.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] post-specific header image w/ css insert (page-specific ones work, but not o viewdesigninc Header configuration & styling 10 Oct 1, 2012 04:43 PM
Help: how i can remove some widgets(?) from specific posts maurixx Center area post/pages 1 Jan 28, 2010 07:25 PM
[SOLVED] Remove footer from specific posts jmdr Post-Kicker, -Byline & -Footer 4 Nov 25, 2009 11:35 AM
Can I put HOME, POSTS and COMMENTS Feed links in sidebar? HalfWayThere RSS, Feeds & Subscribing 2 Feb 7, 2009 12:40 PM


All times are GMT -6. The time now is 03:44 PM.


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