randyhoyt
Forum Replies Created
-
I’m not the developer of the plugin, but I managed to figure out how to make it work for me on WordPress 3.3.1. I hope you’ll give it a try and post any feedback over there. You can download the code from the GitHub repository I created for it:
* https://github.com/randyhoyt/wp-category-meta
(You can download it by clicking on the ZIP image in the top left corner, right under the top navigation.)
I just deployed version 0.9.4.2, which should address this. You’ll need to delete the image from the blog post and re-insert it, but the next image you insert should be correct.
I found an easy way to modify the plugin to make this work. Line 83 looks like this:
$pageType = $this->getPageType();
Add one new line of code after that:
if ($pageType!="Page") $pageType="Single";
That seems to work for me.
I definitely see the bug with the home page redirecting to the latest post, also. I have been able to fix it by disabling the feature that automatically handles redirects when you change a post or page’s permalink. It looks like the plugin thinks when you publish a new post that it’s permalink “changed” from “blank” to the the new permalink. So it redirects “blank” — i.e., the home page — to the new permalink. Disabling that feature seems to make the rest of the plugin work just fine.
I am having the same issue on 3.1 RC2 on multi-site.
I would like to use a filter. Any tip on what that would look like? Is it a filter on the_title()?
Forum: Plugins
In reply to: [TweetOnPost] [Plugin: TweetOnPost] Scheduled Posts?Yep, that looks like it fixes it. (Interesting that the post_status is future at that point when it wants to send out the tweet, but that seems to work.) Thanks!
Forum: Plugins
In reply to: [TweetOnPost] [Plugin: TweetOnPost] Scheduled Posts?Yep, that looks like it fixes it. Thanks!
If you don’t want to hack the plugin, shouldn’t you be able to add something like this to your functions.php file?
remove_action('the_content', 'art_inline');
add_action('wp_head', 'art_inline');
Forum: Plugins
In reply to: [Plugin: Events Manager] No fields required on RSVP formThe line …
$bookerName != "" || $bookerEmail != ""
… should of course read …
$bookerName != "" && $bookerEmail != ""
Forum: Plugins
In reply to: [Plugin: Events Manager] No fields required on RSVP formI modified the dbem_book_seats() function in dbem_rsvp.php like as follows, and it seems to work fine:
function dbem_book_seats() { $bookerName = dbem_sanitize_request($_POST['bookerName']); $bookerEmail = dbem_sanitize_request($_POST['bookerEmail']); $bookerPhone = dbem_sanitize_request($_POST['bookerPhone']); $bookedSeats = dbem_sanitize_request($_POST['bookedSeats']); $bookerComment = dbem_sanitize_request($_POST['bookerComment']); $event_id = dbem_sanitize_request($_GET['event_id']); if ($bookerName != "" || $bookerEmail != "") { // added this line // added this line $booker = dbem_get_person_by_name_and_email($bookerName, $bookerEmail); if (!$booker) { $booker = dbem_add_person($bookerName, $bookerEmail, $bookerPhone); } if (dbem_are_seats_available_for($event_id, $bookedSeats)) { dbem_record_booking($event_id, $booker['person_id'], $bookedSeats,$bookerComment); $result = __('Your booking has been recorded','dbem'); $mailing_is_active = get_option('dbem_rsvp_mail_notify_is_active'); if($mailing_is_active) { dbem_email_rsvp_booking(); } } else { $result = __('Booking cannot be made – not enough seats available!', 'dbem'); } // added this line } else { // added this line $result = __('Name and email are required to RSVP for this event.', 'dbem'); // added this line } // added this line // added this line // added this line return $result; }
Forum: Fixing WordPress
In reply to: Have more search results show upI think this is what you had in mind:
lohmantrading.com/Fourced/2009/08/modifying-the-posts-per-page-query-in-wordpress/It allows you change only a single parameter for the query, leaving everything else untouched. I am using this on a blog where the main pages only show 6 posts but the search results page shows 20 posts.
@hept27, I’m pretty sure that this feature has been added to the plugin since version 2.6. The changelog has this note:
2.6
—-
NEW: shortcode attribute to get datasets with specific meta key and meta valueForum: Plugins
In reply to: [Plugin: Link to Post] AwesomeI like the idea of multiple tabs. Not only could you have “Posts” and “Pages”, but you could have a tab for “Categories” and “Tags” as well.
Forum: Plugins
In reply to: [Plugin: Log User Access] Works as advertisedGreat plugin! I would love to see some of the additional features mentioned by @xybermatthew above. It doesn’t look like there was an update at the end of June: I can certainly understand that project timelines and priorities can change (especially on free software!) but I was curious if you could provide an update and the next update.