Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 09-11-2008, 12:37 PM   #1
Joe
War Room Member
 
Joe721's Avatar
 
Join Date: May 2007
Location: Athens
Posts: 45
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Social Networking View Member's Twitter Profile 
Default $50 beer for wordpress dev question solution

Hi,

I just cannot get my head round this. New to wordpress, ok with php:

I'm using a filter for the content to detect a string and take action if it exists, this works just fine. Different posts will have different strings, and unique action is taken depending on that post's string. The problem is when you switch on the widget 'recent articles' and then all that content is also filtered, producing unpredicatble results. I need to detect whether the content that is being filtered is the actual post, not the recent articles.

In other words how do I detect a post within the content if the content includes all the excerpts?

The WordPress Popup System: http://www.wordpresspopupplugin.com
Advanced DHTML Popup http://www.dpopup.com
Advanced DHTML Video http://www.dpopup.com/blog
Joe721 is offline   Reply With Quote
Old 09-21-2008, 06:52 AM   #2
Joe
War Room Member
 
Joe721's Avatar
 
Join Date: May 2007
Location: Athens
Posts: 45
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Social Networking View Member's Twitter Profile 
Default Re: $50 beer for wordpress dev question solution

Thanks, but you should re-read the question, especially the part where I mention that I am already using a filter. It is a little more complex than the code you post to say the least. In any case, I have found a workaround to this issue now, and the offer can be closed, but thanks anyway.

The WordPress Popup System: http://www.wordpresspopupplugin.com
Advanced DHTML Popup http://www.dpopup.com
Advanced DHTML Video http://www.dpopup.com/blog
Joe721 is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
$50, beer, dev, question, solution, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



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