webbdiva
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comments not workingI had similar problems and had tried all the suggestions esmi suggested. Finally I decided to take a look in my .htaccess file …I didn’t know where else I could possibly look:-) And I found that I had misspelled my domain in the rewrite condition below. don’t know if this will help anyone else but I thought I’d post the answer I found.
Cheers!
JulesTo learn more go to Deny Access to No Referrer Requests I don’t know what the anchor is so you’ll have to scroll down the page.
RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) https://%{REMOTE_ADDR}/$ [R=301,L]
Hello, I’m having a slightly different problem using the shortcode in wordpress v3.0
my shortcode: [popeye ids=”140,139″]
I get the following error:
jQuery(“.ppy”).popeye is not a function
[Break on this error] easing: ’swing’Though the html for the slideshow is in the source code it isn’t visible. Also if I change the setting to include the slideshow automatically everything works fine.
Any idea what’s wrong? ~Thanks!
Forum: Plugins
In reply to: Contact form 7 how do I remove <br> tag?Though I was able to get this working correctly in a v2.9 I am not able to get rid of the
<br>
tags in v3.0. I’ve added it to my wp-config file above the “Happy blogging” like the instructions say on Controlling Behavior by Setting Constants/* wp-contact-from-7 */ define ('WPCF7_AUTOP', false ); // set to false to remove <br> tags /* That's all, stop editing! Happy blogging. */
What am I missing?
JulesForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Change format of submit buttonAdd a class to the submit button like so:
[submit id:send class:buttoncontact]
Then use css:
.wpcf7-form .buttoncontact { color:#000000; }
Check out the “Generate Tag” tool in the Contact Form 7 settings area.
Cheers!
JulesForum: Plugins
In reply to: Contact form 7 how do I remove <br> tag?In the end I was able to get the
define( 'WPCF7_AUTOP', false );
to work correctly. I had it in the wrong place within the wp-config.php file. See Controlling Behavior by Setting ConstantsCheers!
JulesForum: Plugins
In reply to: Contact form 7 how do I remove <br> tag?I tried updating WPCF7_AUTOP to false in wp-contact-form-7.php with no luck. I even tried updating it through the wp-config.php file but I still got those darn
<br />
tags.I sure wish the plugin would leave the use of both the
<p>
and<br
> tags up to the user.if ( ! defined( 'WPCF7_AUTOP' ) ) define( 'WPCF7_AUTOP', false );
Anyone have any suggestions?
Forum: Fixing WordPress
In reply to: Display category descriptionsIs there a way to add the category description to the single.php page?
I have it working just fine on archive.php, but when I try and get it to work on an actual post I get the following error:
Catchable fatal error: Object of class WP_Error could not be converted to string in …/single.php on line 18
Line 18 =<?php echo category_description( $category ); ?>
I get a similar error if I exclude $category
Thanks! ~Jules