kkalbaugh
Forum Replies Created
-
Thanks for looking at this so quickly. I’ll let you know if my old server flushes out anything else. ??
Forum: Plugins
In reply to: [Import External Images] Images from secure site don't importI would like to second adding the “feature” of pulling from HTTPS sites as well. We force all our sites to HTTPS and try not to manually modify any plugins that would stop working when a plugin is updated.
Should be able to change line 304 from this:
if ( $uri != '' && preg_match( '/^http:\/\//' , $uri ) ) {
to this:
if ( $uri != '' && preg_match( '/^(http|https):\/\//' , $uri ) ) {
to allow for HTTP or HTTPS.
Forum: Plugins
In reply to: [IssueM] New Issue not showing on homepageWhat do you have set for Issue Order? I found that if you don’t have something in the Issue Order field then it doesn’t grab it as the current issue.
Forum: Plugins
In reply to: [IssueM] Add Issue Number to Article ListIn case someone else needs this I found a solution:
function mbe_change_table_column_titles($columns){ unset($columns['comments']); unset($columns['date']);// temporarily remove, to have custom column before date column $columns['issuem_issue_issue'] = 'Issue'; $columns['date'] = 'Date';// readd the date column return $columns; } add_filter('manage_article_posts_columns', 'mbe_change_table_column_titles'); function mbe_change_column_rows($column_name, $post_id){ if($column_name == 'issuem_issue_issue'){ echo get_the_term_list($post_id, 'issuem_issue', '', ', ', '').PHP_EOL; } } add_action('manage_article_posts_custom_column', 'mbe_change_column_rows', 10, 2); function mbe_change_sortable_columns($columns){ $columns['issuem_issue_issue'] = 'issuem_issue_issue'; return $columns; } add_filter('manage_edit-article_sortable_columns', 'mbe_change_sortable_columns'); function mbe_sort_custom_column($clauses, $wp_query){ global $wpdb; if(isset($wp_query->query['orderby']) && $wp_query->query['orderby'] == 'issue'){ $clauses['join'] .= <<<SQL LEFT OUTER JOIN {$wpdb->term_relationships} ON {$wpdb->posts}.ID={$wpdb->term_relationships}.object_id LEFT OUTER JOIN {$wpdb->term_taxonomy} USING (term_taxonomy_id) LEFT OUTER JOIN {$wpdb->terms} USING (term_id) SQL; $clauses['where'] .= "AND (taxonomy = 'issuem_issue' OR taxonomy IS NULL)"; $clauses['groupby'] = "object_id"; $clauses['orderby'] = "GROUP_CONCAT({$wpdb->terms}.name ORDER BY name ASC)"; if(strtoupper($wp_query->get('order')) == 'ASC'){ $clauses['orderby'] .= 'ASC'; } else{ $clauses['orderby'] .= 'DESC'; } } return $clauses; } add_filter('posts_clauses', 'mbe_sort_custom_column', 10, 2); function mbe_print_admin_styles(){ global $pagenow; if($pagenow == 'edit.php' && isset($_GET['post_type']) && $_GET['post_type'] == 'article'){ echo ' <style type="text/css"> .column-issuem_issue_issue{ width: 10%; } </style> '.PHP_EOL; } } add_action('admin_print_styles', 'mbe_print_admin_styles');
Thanks to this: WordPress Stackexchange
Forum: Plugins
In reply to: [Contact Form 7 Map Field] Map broken in CF7 v 3.6iapassas, you are a life saver!
Forum: Plugins
In reply to: [Contact Form 7] contact form 7 doesn't send emailsI just upgraded to WordPress 3.6 and upgraded Contact Form 7 to 3.5 and now my form doesn’t work.
I get “Failed to send your message. Please try later or contact the administrator by another method.”
Forum: Plugins
In reply to: [WP-reCAPTCHA] Use it in custom formagreed because it appears that https://www.ads-software.com/plugins/contact-form-7-recaptcha-extension/ doesn’t work anymore.