Sun
Forum Replies Created
-
Apologies for the late reply.
Paul’s solution worked! Is it also possible to reuse the code for other forms by changing some of the information on the PHP code?
If so, I would be most grateful to hear how.
Thanks regardless!
Hi Jory,
Thank you for the reply. I’m not sure about hooks, but the name of my single template is ‘Vacature Template’ and the list template’s name is ‘Vacature Lijst’. Would the hooks be the following?
add_filter( 'vacature_template', 'shortcode_unautop' ); add_filter( 'vacature_template', 'do_shortcode' );
add_filter( 'vacature_lijst', 'shortcode_unautop' ); add_filter( 'vacature_lijst', 'do_shortcode' );
Sadly I’m not familiar with hooks and how to locate/identify them. If I’ve got the wrong impression, could you please help point me into the right direction?
Thanks in advance!
Hi Jory,
I’m using auto-templates and viewed the doc page, thank you for sharing it. I’m not sure how to edit the code to make it allow Gravity Forms shortcodes since I don’t know php. Can you please explain to me how to edit the following code to make it suited for Gravity Forms?
add_filter( 'get_the_author_description', 'shortcode_unautop' ); add_filter( 'get_the_author_description', 'do_shortcode' );
Thanks in advance!
Hi Jory,
Thank you for the reply. Sadly the provided solution hasn’t fixed my issue. I’ve done the following things:
Added this code in functions.php
<?php /** * Allow Pods Templates to use shortcodes * * NOTE: Will only work if the constant * PODS_SHORTCODE_ALLOW_SUB_SHORTCODES is defined and set to true, * which by default it IS NOT. */ add_filter( 'pods_shortcode', function( $tags ) { $tags[ 'shortcodes' ] = true; return $tags; });
Added this code in wp-config.php
define('PODS_SHORTCODE_ALLOW_SUB_SHORTCODES',true);
I cleared the cache and did a hard reload for the page and it didn’t change the result on the page. Did I miss a step in the process?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Pagination using ajaxHi Jory,
Thank you for the reply. I’ll create a feature request for this and look for options to implement either one of your recommendations for now.
Thanks for the suggestions!
Hi @yordansoares,
I’ve checked and the template was set to Simple, there are no other templates to choose from either in the dropdown.
Are there any other settings that could be the cause of this issue?
Hi @yordansoares,
That’s okay, thanks for replying! I would still like some help with this issue. Here are the images renewed:
Here’s the WooCommerce order overview page:
https://ibb.co/BTdPS49Here’s the resulting invoice:
https://ibb.co/WVG067DHere’s an image of a seperate packaging slip (saying Flat rate in Dutch):
https://ibb.co/JBJQPJXForum: Plugins
In reply to: [Contact Form 7] Special mail tags with Woocommerce productsHi @plantprogrammer,
Thank you for the response. I have tried to add [_post_title] in the mail subject, but sadly it does not work for the product pages. It does however work for regular pages. Does the mail tag work for you when you have it on a form on a product page?
Hello @dpeyou,
Thank you for responding and apologies for the late reply on my part, I’ll create a separate thread for the third question. And thank you for recommending me the website ??
Here is the screenshot of the order (I’ve censored out some confidential details, I hope that’s not an issue)
https://ibb.co/nn4yMNTHere’s a screenshot of the result invoice (I’ve censored some information here as well)
https://ibb.co/fCBmgHT