ClintonLee83
Forum Replies Created
-
That’s the right answer. Thank you bcworkz!
The settings api forms have a hidden input with the update action. I was adding an additional action on top of that. I removed my action and changed admin-post.php to options.php and everything is gravy.
Thank You!I’ve found that conditional blocks can do this.
Problem:
But why if I use “html” on the last page of my form where users review their answers, these don’t work? The shortcode is not rendered and I can see the shortcode in the preview:
[nfccb field=”Q” value=”A”]
AB
[/nfccb]Do they only work after the form is submitted? Or can I use these so users can preview their answers before submitting a form?
Did you find a solution to this? I’m having a different, but very similar problem.
Cool, thanks for taking a look Ryan.
Are you able to include that hook once using the plugins functions if it’s not already included? That may be the fastest solution.
Otherwise I’ll have to talk with the theme developers and see if they can do this but who knows how long it will take before they release the update.
Ryan, I’m back on the chat. Send me your email there so I can message you there.
Hey Ryan, that was a fast response.
Yeah, it’s strange.
If you want, I’ll just back this site up and you can log in and take a look at it and troubleshoot it. It’s a form that comes with the zorka theme.
I’ve verified this problem on 3 other sites, 2 students sites and my own.
If you could, go to JackRabbit.host and send a chat message, i’ll be on there so we can communicate faster and I’ll send you login info. That way I’m not posting it here.
@greg007 I had to log in to say thank you! Your reply answers the original question and it works well.
Forum: Fixing WordPress
In reply to: ; charset=UTF-8″ /> error on the website ?@helloyouhelloyou How did you solve this problem?
Forum: Plugins
In reply to: [WooCommerce] Change “buy product” button textLuminus, that was a great idea. I’ve just tried that but it isn’t working.
You’re right, the user group was wp-user when it should have been www-data. The following command solved the problem:
sudo chown -R www-data:www-data /var/www/wp-content/plugins/wordfence/tmp/
7 months and 2 weeks later, this problem still isn’t solved? I’m having the same problem. All plugins deactivate aside from this plugin.
Forum: Plugins
In reply to: Where is the "short description" hook for the shop page products?Rather than using a hook, I’ve edited the code. My theme had modified the content-product.php which was placed inside the themes woocommerce directory. I’ve simply added:
<?php echo apply_filters( ‘woocommerce_short_description’, $post->post_excerpt ) ?>
above the title and removed this code from short-description.php, both files are now under my child theme.A hook would be better for updates but this is how I solved the problem.
Forum: Plugins
In reply to: [WooCommerce] Multiply shipping cost by number of items in cartI’ve discovered the answer myself after playing around a bit more.
- Go to woocommerce settings > shipping
- Click on the shipping method in the shipping zone (assuming you’ve added one already
- in the ‘cost’ field put the price for shipping one item, then *[qty] which means multiplied by quantity. for example: 5.99*[qty]
Forum: Themes and Templates
In reply to: Apply function to specific page templateI love how persistent you are with this bcworkz,
I’ve tried adding this code to the child functions and it turns the landing-page.php into a 404 with the error message:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘redirect_to_checkout’ not found or invalid function name in /home/myspoona/public_html/thebohemian/wp-includes/plugin.php on line 235
Forum: Themes and Templates
In reply to: Apply function to specific page templateThanks bcworkz!
I saw this solution while digging around and I don’t think I can use it. I’m designing this site as a template for a few people who know nothing about coding so I don’t want them to go into the functions and add an id everytime they create a new landing page for a new product.
The filter should only work with the page template, not individual pages.
I am however using a hard link to add the item to the cart. For example, the link on our landing pages look something like this:
I’m not sure if that would solve the js problem you mentioned. And maybe linking the product like this is the reason I’m having a hard time getting this to work in the first place since I’m only using a page template, not a product page template.