Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Remove image from specific posts on home page feed. (http://forum.bytesforall.com/showthread.php?t=18619)

bangert Oct 9, 2012 08:09 AM

Remove image from specific posts on home page feed.
 
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

juggledad Oct 9, 2012 09:59 AM

are you saying you want all excerpts on multi post pages with no featured images?

bangert Oct 9, 2012 10:29 AM

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.

Auteri Oct 9, 2012 11:56 AM

Check this thread for possible solution: http://forum.bytesforall.com/showthread.php?t=18574

jerryc Oct 9, 2012 01:57 PM

Quote:

Originally Posted by bangert (Post 91115)
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.

bangert Oct 9, 2012 04:04 PM

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;


Auteri Oct 10, 2012 12:26 AM

Quote:

Originally Posted by bangert (Post 91145)
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.


All times are GMT -6. The time now is 09:46 AM.

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