mouseclone
Forum Replies Created
-
Forum: Plugins
In reply to: link rewriteAnyone with any ideas?
Forum: Plugins
In reply to: ASMW WP Pluginnever mind.. some reading and a good bit of looking around has solved my problems. Thx.
Forum: Plugins
In reply to: ASMW WP PluginIs there anyone out there that would be able to help me with this. I don’t seem to be able to find out where my repository is. I don’t know why directions are not listed on the site for people that a dumb like me.
Just need a little help here WP.
Forum: Fixing WordPress
In reply to: Trackbacks / Pingbacks – WP 2.5Ok I will give it some time. I have had a few people not have it happen for a few hours.
Is there something that I can run in crontab that will cause it to check every hour or so?
Forum: Plugins
In reply to: Replacing a Post based on regexOk I’m still not getting it.
Currently I can replace
[test]
in a post with this function:function asmw($text) { $asmw_tag_pat = '/(\[test\])/'; $test = 'This is the text to replace'; if (preg_match($asmw_tag_pat, $text, $matches)) { $text = preg_replace($asmw_tag_pat, $test, $text); } return $text; } add_filter('content_save_pre', 'asmw');
This is currently the way that the plugin works now and it works well. The problem is that it will only replace
[test]
.is there an easy way to wrap a post in a table or div tags before it goes into the database?
Forum: Themes and Templates
In reply to: How do I list RSS links beside my displayed categoriesso where would you use the wp_list_cats?? in the sidebar php from the themes directory? never mind just read some more… guess it helps to read.
Forum: Themes and Templates
In reply to: How do I list RSS links beside my displayed categoriesWell I did it with out the wp_list_cats. I still don’t get the way that works yet and I may go back and do it that way but…
$link = '<ahref="'.get_category_link($category->cat_ID).'" ';
$rss = '<a href="'.get_category_link($category->cat_ID).'&feed=rss2" ';
if ( $use_desc_for_title == 0 || empty($category->category_description) )
$link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name)) . '"';
else
$link .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description,$category)) . '"';
$link .= '>';
$link .= apply_filters('list_cats', $category->cat_name, $category).'</a> ';
$rss .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description,$category)) . '"';
$rss .= '>';
$rss .= '<img src="https://mouseclone.com/blog/rss-icon/rss-12x12.gif"></a>';
$link .= $rss;
I used $rss to create mine and just copies a few bits of code and then joined the $rss to the end of $link with $link .= $rss
Hope this helps some. maybe i will do it right next time. or maybe not right just what is given to me.
and edit the wp-includes/template-functions-category.php file.
visit website for a look see.