deewilcox
Forum Replies Created
-
Forum: Plugins
In reply to: [Latest Tweets Widget] Latest tweets not working?Nevermind – just needed to get my OAuth settings with the Twitter app working correctly. ??
Forum: Plugins
In reply to: [Recent FB Posts] No recent Facebook posts to show. Any solution?I am having the same issue as above — message says that the configuration is working, but no Facebook posts are showing up. Is this not compatible with the latest version of WordPress?
Forum: Plugins
In reply to: [WP RSS Multi Importer] Different Templates for Different Categories?Went with this. Works beautifully!
if ($thisCat == 1){ $template=$options['template']; } else { $template = 'default.php'; }
Forum: Plugins
In reply to: [WP RSS Multi Importer] Different Templates for Different Categories?This line?
$template=$options['template'];
Forum: Plugins
In reply to: [WP RSS Multi Importer] Different Templates for Different Categories?You obviously know the plugin much better than I do, but I just might give it a shot. If it works, I’ll let you know.
Forum: Plugins
In reply to: [WP RSS Multi Importer] Different Templates for Different Categories?I was just looking at your code for template_functions.php. What if we added a category field for the DB record? And checked by that?
Forum: Themes and Templates
In reply to: Problem calling Cufon option from theme-options.phpI decided a better route might be just to have users upload their own fonts and specify only the font family name (per this Github wiki ).
So here is a different option for
theme-options.php
:array("type" => "open"), array( "name" => "Cufon Fonts", "desc" => "To replace the default Cufon font included with this theme, remove font family name 'RTS' below and replace it with the font family name of your new font. <br><br>To add new fonts, visit https://cufon.shoqolate.com/generate/ to generate a font. Then, follow the documentation to upload it to your 'scripts' folder. Intermediate programming skills are required.", "id" => "alt_cufon", "type" => "textarea", "std" => "RTS"), array("type" => "close"),
Here is the new code for
header.php
, placed just before the closing</head>
tag:<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/cufon-yui.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/PS.font.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/RTS.font.js"></script> <script type="text/javascript"> Cufon.replace('h1, h2, .widget-title, #access, .date-home, #site-title, #site-description', { fontFamily: '<?php echo get_option("alt_cufon"); ?>' }); </script>
Unfortunately, this is still not working. Feedback would be appreciated!
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Ajax: all works, except for send@peter I tried your suggestion — didn’t work. ?? Thanks, though!
Forum: Fixing WordPress
In reply to: Does Contact Form 7 work OK with 3.0?@webjunk Thanks for catching that — I wouldn’t have known to even look at it. That is the correct page ID and the correct form. I also tried changing the form and saving it — no luck. For now I’ve disabled javascript for this plugin, so it submits, but I can’t get a redirect to work.
@mattfelten How did you downgrade your jquery? I’ve been trying to figure that out, as I’ve read in a few other places that it’s a jquery/WP 3.0 compatibility issue. For now, I’ve just disabled jquery altogether in
contact-form-7/wp-contact-form-7.php
:if ( ! defined( 'WPCF7_LOAD_JS' ) ) define( 'WPCF7_LOAD_JS', false );
I’ve also changed my success message to include a link to the redirect page where users can complete their registration purchase. I admit it’s a terrible workaround, but it’s all I’ve found that will work.
@maorba I did change the page ID. Here is what my
header.php
file looks like:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bf_title(); ?></title> <?php bf_metaTags(); ?> <?php bf_head(); ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php if ($bf_feed_url) echo $bf_feed_url; else bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> <?php if (!is_page('413')) :?> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.cycle.all.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/script.js"></script> <?php endif;?> </head> <body> <?php bf_top(); ?> <!-- begin #container --> <div id="container" class="clearfix"> <?php bf_top_container(); ?> <!-- begin #header --> <div id="header" class="clearfix"> <?php bf_header(); ?> </div> <!-- end #header --> <?php bf_belowheader(); ?>
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Ajax: all works, except for sendI did finally change this code in contact-form-7/wp-contact-form-7.php, and my form is submitting with no spinning arrow. A hack, and not a pretty one, but at least it works:
define ('WPCF7_LOAD_JS', false);
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Ajax: all works, except for send@ruslany I’ve been trying to figure out how to change the version of jquery that WordPress is calling, but I don’t think I’ve figured it out. I changed the version in the jquery.js in wp-includes, and I also tried adding this code to my theme-functions.php file per instructions in the codex here (functions.php just calls a library of files for the theme):
<?php function my_init_method() { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'); } add_action('init', 'my_init_method'); ?>
When I added this, it broke my theme, so I had to take it out. Any thoughts?
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Compatibilty with WP 3.0?Still waiting on news of a fix for this. I have the same problem on two different sites. Has anyone heard anything?
Forum: Fixing WordPress
In reply to: Does Contact Form 7 work OK with 3.0?@webjunk You can see the error here: https://delugeband.com/booking. Sounds like the same error everyone else is having. I definitely appreciate any ideas you may have for a fix!