Thomasjohnwallin
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Redirect not workingI would like to do this as well.
I was able to do this by manually editing the plug-in.
If you know php, it’s pretty easy, just modify the appropriate part from this plug-in file:
baw-multiple-pass-for-protected-pages/inc/frontend-noajax.inc.phpHowever, I think this is something that should be added to later versions.
Forum: Plugins
In reply to: Adding a link to Password Protection Text in the post-template.phpI tried stepping in and out of the php, but still got an error:
function get_the_password_form() { $post = get_post(); $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post"> <p>' . __("This post is for FWR members only. To gain access, please") .' ?><a title="Subscriptions" href="http://williamsburgrowing.org/for-donors/subscriptions/">subscribe.</a><?php </p> <p>' . __( Existing members, enter your password below:") . '</p> <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p> </form> <p>' . __("Lost or forgotten password? Please email ") .' ?><a href="mailto:vicepresident@williamsburgrowing.org">vicepresident@williamsburgrowing.org</a> <?php </p> '; return apply_filters('the_password_form', $output); }Forum: Fixing WordPress
In reply to: How do I a link to the Password Protected text?I tried that but there is still an error, can you be more explicit?
Here is the code I used:
function get_the_password_form() { $post = get_post(); $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post"> <p>' . __("This post is for FWR members only. To gain access, please") .' ?><a title="Subscriptions" href="http://williamsburgrowing.org/for-donors/subscriptions/">subscribe.</a><?php </p> <p>' . __( Existing members, enter your password below:") . '</p> <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p> </form> <p>' . __("Lost or forgotten password? Please email ") .' ?><a href="mailto:vicepresident@williamsburgrowing.org">vicepresident@williamsburgrowing.org</a> <?php </p> '; return apply_filters('the_password_form', $output); }Forum: Fixing WordPress
In reply to: How do I a link to the Password Protected text?Anyone?
Forum: Themes and Templates
In reply to: Adjusting twenty eleven header menu fits on one lineI found it by just searching style for “205” and switching that to 0. Thanks
Forum: Themes and Templates
In reply to: Adjusting twenty eleven header menu fits on one lineNot to my knowledge. Where could I fix this mistake?
Forum: Fixing WordPress
In reply to: Gallery not working with paypal buttonsI tried taking the code out from the caption which works on the attachment page and pasting it directly into the webpage. Didn’t work.
Forum: Fixing WordPress
In reply to: Gallery not working with paypal buttonsUm, I guess I’m too knew, but I inspected elements and I didn’t see much of a difference. Can you give me a better idea?
Forum: Themes and Templates
In reply to: [Theme twenty eleven] remove header text & search barAlso, I just removed the commented out in the editor and something crashed the site.