gsawiris
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove “Private” from private pages?hi some of my post titles look like this:
<b>Da dana dan</b> songs – Paisa Song from <b>Da Dana Dan</b> – Vox
when i add this code to the functions file nothing happens:
function the_title_trim($title) {
// Might aswell make use of this function to escape attributes
$title = attribute_escape($title);
// What to find in the title
$findthese = array(
‘#<b>#’,
‘#</b>#’
);
// What to replace it with
$replacewith = array(
‘test’,
‘test2’
);
// Items replace by array key
$title = preg_replace($findthese, $replacewith, $title);
return $title;
}any ideas? thanks
this is funny i went to edit this post and noticed that my <b> symbol had been replaced with “& lt;b& gt;”
when i put put the same code in place of <b> in the function.php filter it works fine.
i can finally get rid of unwanted characters appearing in my post titles.thanks
Forum: Fixing WordPress
In reply to: Limit number of posts on home page to one (the latest)this limits the category of the posts to cat#2531 and only shows one post on the homepage.
<?php query_posts ($query_string . ‘&cat=2531&showposts=1’); ?>
Forum: Plugins
In reply to: Will the admins please remove wp-traffic plugin?ok thanks
Forum: Fixing WordPress
In reply to: Limit tags in tag cloudwhat do you type in the widget box to limit the number of tags?
i triednumber=20
and some other strings but nothing works
Forum: Fixing WordPress
In reply to: pluggable.php getting error on line 770Thank You askrocco
Forum: Plugins
In reply to: [Plugin: WordPress Reciprocal Links] spam?the link gets placed in the footer and shows up as the last line of text on every page of the blog. It is hard to figure out which plugin does it…had to remove several to figure it out ??
Forum: Fixing WordPress
In reply to: Custom RSS feeddiglounge..net/feed/
triggers my avast iframe virus checker. I’m sure its a great site, but this is a serious virus.Best, Peter Williams
AP Biology InfoForum: Plugins
In reply to: Anyway to gain more control over RSS feed?Basically any url from the blog is a feed if you add /feed/ at the end of it. If you do that for individual posts it becomes the rss feed for comments to that post. I use this for various proposes on my Science News blog.
Forum: Installing WordPress
In reply to: WordPress WP_SMF & SMFI just put a link on my blog to an SMF free forum. What’s the point of adding smf to wordpress?