bkernan
Forum Replies Created
-
Forum: Plugins
In reply to: [Secure Custom Fields] Color Picker and WP 3.4.2Oops – the client had an extra digit at the end of their copied and pasted ‘hex’
Was using: #d201383
Should have been using: #d20138Colorpicker works just fine – hopefully someone else can benefit from this mistake.
One suggestion to the developers – enforce the # + 6 character format, dont allow for anything less or more please.
Thanks!
Forum: Plugins
In reply to: [Facebook Comments by Fat Panda] Remove Meta TagsSO stoked. This hack works:
add to your functions.php
//fake SharePress so Fat Panda wont print ogs
if ( !class_exists(‘SharePress’) ) {
class SharePress {};
}SO stoked. This hack works:
add to your functions.php
//fake SharePress so Fat Panda wont print ogs
if ( !class_exists(‘SharePress’) ) {
class SharePress {};
}Hi gregowr,
I’m having the same prob, and have tried every ‘non-invasive’ method of removing this og insertion I can think of. Have you found a solution?
I’ll post mine if I do.
Thanks,
BrittForum: Plugins
In reply to: [Facebook Comments by Fat Panda] Remove Meta TagsOops, replace ‘admin_enque_scripts’ with ‘wp_head’ does not work either.
I’m pretty sure the problem is that I need to pass an instance (or the instance of the initial class FatPandaFacebookComments) instead of a string. But the only instance I see that is created ($WPFBC) is not globally accessible, and FatPandaFacebookComments’s construct is called without creating a var for that class.
Updating the plugin code is not an option, and creating another instance of the class did not work either.
Hmmm
Fixed!! Really hope this helps someone else.
Updated the above code:
global $wp_rewrite;
$wp_rewrite->add_rewrite_tag(“%custom_post_type%”,'([^/]+)’, “custom_post_type =”);
$wp_rewrite->add_permastruct(‘custom_post_type’,’/section/subsection/% custom_post_type%’,false);$wp_rewrite->add_rewrite_tag(“%custom_category%”,’^section/subsection/category/([^/]+)’, “custom_category=”);
add_rewrite_rule(‘^section/subsection/category/([^/]*)/?’,’index.php? custom_category=$matches[1]’,’top’);Removing this below solved the issue:
global $wp_rewrite;
$wp_rewrite->add_rewrite_tag(“% custom_post_type%”,'([^/]+)’, “custom_post_type=”);
$wp_rewrite->add_permastruct(‘custom_post_type’,’/section/subsection/% custom_post_type%’,false);But I need that to display cpt’s in the under the custom section/subsection. Subsection is a cleaner name of the custom post type.
Will post solution when found.
Forum: Fixing WordPress
In reply to: Multi-Level Permalinks on Custom Post TypeHi Noel,
I just posted a similar issue to this. Put this at the top of your 404 page and see where wordpress is ending up.
<?php
//get filtering params
$params = array();
global $query_string;
$args = explode(“&”, $query_string);foreach($args as $value) {
$query = explode(“=”,$value);
$params[$query[0]] = urldecode($query[1]);
}print_r($args);
?>
For me it’s trying to go to index.php?attachment=category_name. WP is trying to find an attachment page that does not exist. Are you getting a similar error? If so I’ll post my fix here when I find it.
I installed the plugin on my clients website on a different server running 3.2.1 (and I think it’s a dedicated IP) and the plugin worked. My dev server is shared with 3.3 installed.
I’m concerned about upgrading them to 3.3
Forum: Plugins
In reply to: [List Authors Plus] Does not display WidgetI had this issue too until I realized it was uploaded into wp-content instead of plugins.
Hey Jean-Michel,
thanks for this, I have not used that hook before. I’ll spend some time reading the full Hooks documentation.
I think I ended up editing the boilerplate files, so this is a cool solution.
Thanks again,
BrittneyForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Ajax Error, no returned error textI have also followed all of these check suggestions: https://contactform7.com/blog/2009/11/24/why-isnt-my-ajax-contact-form-working-correctly/
Hello again,
I had two AddHandlers in my htaccess, and missed the last one that was still set to PHP 4.
That was my problem, thanks for your help!
Hey Thanks a lot for your quick reply!
I remaned the old plugin dir and just downloaded and uploaded the new one.
Still no luck.
I feel like I’m doing something wrong though, so I’m going to verify the PHP version with php_info() and look around some more. Maybe I’ll revert back to the PHP4 version I see above.
I just changed my site to PHP 5.2.14, and still have this error. Any suggestions?