Brian Fegter
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add Comment Count to Post Titlethe_title() usually echos the title and doesn’t store it as a variable. Use get_the_title();
$title = get_the_title();Forum: Fixing WordPress
In reply to: Firefox Crash only with WordPressThank you so much. That was so frustrating.
Forum: Fixing WordPress
In reply to: Creating an IF-THEN condition within The LoopThanks Michael!
Forum: Fixing WordPress
In reply to: Adding Pagination to a WP_Query Loop<?php posts_nav_link(' — ', __('« Newer Posts'), __('Older Posts »')); ?>
Place this outside your loop and it should work. http://www.twitter.com/bfegterForum: Fixing WordPress
In reply to: [Plugin: EasySMS] huge error with widgetNot sure. I would have to see it. If you can reproduce the error, I can track it from there. Thanks.
Brian
Forum: Installing WordPress
In reply to: Can’t loginThis happened to me when I upgraded via FTP while being logged in. I had to go to the Meta Login and click logout and everything turned out fine after that. It was very frustrating. Chances are, you are still logged in. Try using another browser, or clearing cookies and sessions.
Forum: Fixing WordPress
In reply to: Link to parent Page?I just added to this code so it grabs the parent page’s title and dynamically changes the link per page.
<?php if($post->post_parent) { $parent = $wpdb->get_row("SELECT post_title FROM $wpdb->posts WHERE ID = $post->post_parent"); $parent_link = get_permalink($post->post_parent); ?> <a href="<?php echo $parent_link; ?>">Back to <?php echo $parent->post_title; ?></a> <?php } ?>Forum: Fixing WordPress
In reply to: Link to parent Page?Flash is the man.
Forum: Fixing WordPress
In reply to: [Plugin: EasySMS] How to create embeddable form for sending message?Ed,
Great idea! I’ll put it in the roadmap. Currently, the only place to send an SMS message is from the admin panel. I like the concept though.
Thanks!
BF
It’s good practice to create new tables for your WP plugin so that corrupt code doesn’t mess with the WP core. I’m working on getting a functionality that will register a field with a users WP id if they are logged in. That way it will link to the WP users, but not mess with the original data. This way you can have a group of registered subscribers that you can SMS. Let me know of any features you would like to see on EasySMS.
Forum: Plugins
In reply to: [Plugin: EasySMS] Resize Input FormsBradley
Wrong CSS syntax
form.easysms { text-align:left; width: 90%; }OR
form.easysms { text-align:left; width: 110px; }Forum: Fixing WordPress
In reply to: [Plugin: EasySMS] Not Found when adding Virgin Mobile phoneTry the latest version 2.0.6 and see if that works. I restructured the AJAX functions.
Forum: Plugins
In reply to: [Plugin: EasySMS] Resize Input FormsI just released 2.0.6 and it should take care of the AJAX issues. Also, if you want to control the form itself use this. I misunderstood what you wanted.
form.easysms { text-align:left; }Let me know if this helps!
BF
Forum: Fixing WordPress
In reply to: Location of wp-config.php in WordPress 2.6Otto,
You’re my hero. I have been searching for a way to circumvent including wp-config.php. I’ve had multiple nightmares with my AJAX plugin trying to get it to work on various platforms with a wp-config include. The nightmare is over now. Your solution was quick and easy and the processing time is much faster too. Thanks for the help!
Forum: Plugins
In reply to: [Plugin: EasySMS] Resize Input FormsTry adding this line:
.easysms_widget input{ width:80%; }OR for the dropdown add this:
.easysms_widget select{ width:80%; }Let me know if this works.
BF