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 »

[SOLVED] Conditional Excerpt Strip


 
Prev Previous Post   Next Post Next
  #1  
Old Mar 30, 2011, 04:07 PM
SupraTT's Avatar
SupraTT
 
78 posts · May 2009
[SOLVED] Conditional Excerpt Strip

I would like the post excerpts to not strip html tags for a specific page. I tried inputting the following in Configure EXCERPTS > "Don't strip these tags"

<?php if (! is_home() ) {?><iframe><span><p><?php } ?>

but it seems Atahualpa ignores the php conditional test.

Using this so that I can use the full image size or embedded video for the excerpt in all pages except for the home page. The home page is using featured image thumbnails that are a certain size.
__________________
---
>> Los Angeles Search Engine Marketing - Web Development & Marketing

Last edited by SupraTT; Mar 30, 2011 at 04:32 PM.
 

Bookmarks

Tags
conditional, excerpts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"don't strip these tags" + excerpt issues SC801 Excerpts, Read more, Pagination 17 May 25, 2011 07:21 PM
conditional formatting for custom post types titaniumbones Center area post/pages 0 Feb 22, 2011 09:15 AM
Conditional category styling = PHP bender57 Center area post/pages 1 Dec 17, 2010 07:09 PM
Conditional PHP issue MyJourneytoMillions Center area post/pages 6 Feb 10, 2010 03:11 PM
How do I provide a conditional Widget in the sidebars? bgt Forum How-To 1 Jun 1, 2009 02:16 PM


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


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