murtrd
Forum Replies Created
-
I know what needs to be done to make this happen, but it seemed as if it was something that someone would have done already. I’ll take a stab at it myself and release the code for others to use.
Forum: Plugins
In reply to: [Ultimate Metabox Tabs] [Plugin: Ultimate Metabox Tabs] Add support for WPML+1 on this feature. To be a full blown CMS, an intuitive control panel with the help of ACF and this plugin is almost necessary. Many large clients have multiple language requirements, and I’ll have to ditch this plugin if it’s not compatible with WPML in many cases. WPML will give you a free license to help make your plugin compatible.
Forum: Fixing WordPress
In reply to: Database error when adding new postsIt wasn’t really an option to deactivate all plugins at once and change themes since it would ruin the entire layout of the site. I ended up finding out the cause though. A plugin we had installed used the wp_insert_post_data filter and did not return $data, so in wp-includes/post.php::wp_insert_post, the result of $data was an empty array, and mysql was confused.
Forum: Fixing WordPress
In reply to: Categories and Comments not linking to posts after importFixed this thanks to this link: https://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/
UPDATE wordpress.wp_posts wpp LEFT JOIN (SELECT comment_post_id AS c_post_id, count(*) AS cnt FROM wordpress.wp_comments WHERE comment_approved = 1 GROUP BY comment_post_id) wpc ON wpp.id=wpc.c_post_id SET wpp.comment_count=wpc.cnt WHERE wpp.post_type IN ('post', 'page') AND (wpp.comment_count!=wpc.cnt OR (wpp.comment_count != 0 AND wpc.cnt IS NULL));
Forum: Plugins
In reply to: [Plugin: Simple Facebook Connect] Fanbox Custom CSS isn't workingIn case anyone google searches this:
Problem solved. Once I moved the site from a local development environment (localhost) to a live web server, the css worked as advertised. Facebook won’t serve the iframe the custom css unless they can cache it, and they can’t access it on localhost.