dizastix
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How would I code “if post has the character @ in it”figured it out. did it using the strpos function. here is the new code in case anyone else needs it in the future:
<?php if ( in_category(112) ) { $reply = strpos($post->post_content, '@'); if ($reply === false) { ?>Forum: Fixing WordPress
In reply to: How would I code “if post has the character @ in it”Thanks for the response. I don’t know if you’re familiar with twitter, but currently my twitter posts get posted on my wordpress blog using wp-o-matic (http://devthought.com/wp-o-matic-the-wordpress-rss-agreggator/) to fetch my twitter feed, however I don’t want my tweets which are replies to other people to get posted. These replies contain @username in them, so I figured if I could just tell it to not include any of my tweets that have @ in them that would work. Any suggestions?
edit: I tried the yahoo pipes solution to this, which basically makes a new feed from your twitter feed minus the replies, but it wouldn’t update and wp-o-matic had problems reading it, so that didn’t work..
Forum: Fixing WordPress
In reply to: How would I code “if post has the character @ in it”anyone?
Forum: Themes and Templates
In reply to: Background image won’t center!Solved, my footer code was in the sidebar div causing the page to be elongated. The background was in fact centering, but my page was extra long. I just had to close up my sidebar div with an extra </div> and the background now centers correctly.
Forum: Themes and Templates
In reply to: Background image won’t center!podz: Tried it, has no change :(…
Forum: Themes and Templates
In reply to: Background image won’t center!Oh, and don’t even bother viewing it from IE, it just gets totally screwed up (If any one knows why please, feel free to let me know)
Forum: Themes and Templates
In reply to: Kubrick “Read the rest of this entry” template?thank you π
Forum: Themes and Templates
In reply to: Kubrick “Read the rest of this entry” template?Woops, thats:
this to have the side bar like <A href=”http://www.dizzytech.com/realm/”>the front page.
Forum: Themes and Templates
In reply to: Kubrick “Read the rest of this entry” template?Oh, then I am confused. I wanted it so that <A href=”http://www.dizzytech.com/realm/?p=18″>this had the sidebar like on the front page.
Forum: Themes and Templates
In reply to: Kubrick “Read the rest of this entry” template?That ( ^ ) is exactly what I did…
Forum: Themes and Templates
In reply to: Kubrick “Read the rest of this entry” template?Hmm, sorry I missed that, anyhow…I found “the_excerpt” in archive.php and changed it as it said to, but it has made no difference at all…any ideas?