fitztrev
Forum Replies Created
-
Forum: Plugins
In reply to: How Can I Create Auto-LinksAre they both actually links? If you click them do they do anything? or are they just text?
The comment one is usually automatically turned into a link while the post one remains just text. That might be what the problem is.
Make it a link.
Forum: Fixing WordPress
In reply to: How to justify text?Click on the “Show/Hide Kitchen Sink” button in the TinyMCE viewer (it’s the last button with 3 rows of small, colorful squares). It will show you a whole new row of the less commonly used buttons.
Forum: Plugins
In reply to: How Can I Create Auto-LinksIs the URL that you are testing in your content indeed long enough? It has to be at least 50 characters.
You can change that on this line:
if ( strlen($link) > 50 ) {
Forum: Plugins
In reply to: How Can I Create Auto-LinksI just tested exactly like you have pasted above and it worked perfectly.
Forum: Plugins
In reply to: How Can I Create Auto-LinksI released a plugin that does this: Comment Url Compacter
It does it for comments only, but add this line to it, and it will work the way you want, too:
add_filter('the_content', 'compact_comment_urls');
Forum: Fixing WordPress
In reply to: use wordpress code on a non wordpress pageWhatever file you’re working on… wherever you want the WordPress functions.
Forum: Fixing WordPress
In reply to: use wordpress code on a non wordpress pageJust do a php require of wp-blog-header.php.
Example:
require_once('/home/fitztrev/public_html/wordpress/wp-blog-header.php');
Then you can use any of WordPress’s functions.
Forum: Alpha/Beta/RC
In reply to: Custom Fields problem with 2.5rc2I experienced something very similar to this earlier today. I couldn’t reproduce it, though. (I forgot what I had done.)
So I can verify the behavior.
Forum: Alpha/Beta/RC
In reply to: Latest v2.5 For Client Us?I use it for clients. No problems.
Forum: Developing with WordPress
In reply to: Is it possible to move theme to root?Why care? It doesn’t change anything for your visitors.
It sounds like a lot of work and will make upgrading a hassle.
Forum: Plugins
In reply to: ‘the_title’ – How to filter only in Post and Not in Sidebar?I don’t think it’s possible. You could edit your templates to make your own title function used only for posts.
Forum: Plugins
In reply to: Database tables – post to category relationshipsP.S. There are also these 2 functions which may be helpful, although wp_insert_post already incorporates them:
wp_set_post_categories()
wp_set_post_tags()Forum: Plugins
In reply to: Associate image with post?You can use custom fields, maybe?
Forum: Plugins
In reply to: Multiple adsense AdsAdSense limits how many ads can show. I believe it’s 3 ad blocks and 1 ad link per page.
Forum: Plugins
In reply to: Database tables – post to category relationshipsThe easiest way is to call the wp_insert_post() function.
Do a ‘require’ of wp-blog-header.php in your script and you’ll be able to call it. You pass wp_insert_post() an array that contains all the post info and the categories/tags and it will take care of the rest.