Title: Sun's Replies | WordPress.org

---

# Sun

  [  ](https://wordpress.org/support/users/sunrv/)

 *   [Profile](https://wordpress.org/support/users/sunrv/)
 *   [Topics Started](https://wordpress.org/support/users/sunrv/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sunrv/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sunrv/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sunrv/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sunrv/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sunrv/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Connection error – code: site not found](https://wordpress.org/support/topic/connection-error-code-site-not-found/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/connection-error-code-site-not-found/#post-18415445)
 * Hi Adam,
 * Thanks for the explanation and suggestion, resetting through **Tools** and then
   reconnecting worked! This fixed the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Shortcode where filter for taxonomy parent](https://wordpress.org/support/topic/shortcode-where-filter-for-taxonomy-parent/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/shortcode-where-filter-for-taxonomy-parent/#post-18411036)
 * Hi Paul,
 * Apologies for the confusion, the plugin is installed to `wp-content/plugins/terms-
   with-same-parent/terms-with-same-parent.php` and has been activated in the WP
   Admin > Plugins.
 * There are 4 other shortcodes running in the template under conditional logic `[
   if][else][/if]` as well as `[each][/each]`.
 * The shortcode output is blank. I’m not sure how to check if the `get_the_ID()`
   is returning the proper ID, but when uncommenting `// printf( '<h3>%s</h3>', 
   get_term( $parent_id )->name );` it does return the parent taxonomy name as intended,
   and there is a post assigned to the term.
 * I’ve also looked into `ob_start()`, `ob_get_clean()` and `var_dump( $variable_name);`,
   but lack the PHP knowledge to properly apply them in the plugin file. Can you
   please help with that?
 * Thanks in advance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Shortcode where filter for taxonomy parent](https://wordpress.org/support/topic/shortcode-where-filter-for-taxonomy-parent/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/shortcode-where-filter-for-taxonomy-parent/#post-18409554)
 * Hi Paul,
 * Thanks for developing the custom plugin! I’ve added it to my wp-content map, 
   edited the PHP template to fit my desired taxonomy names and activated the plugin.
   I edited the template at the following areas:
    - $taxonomy = ‘hoofdnavigatie’;
    - $parent_ids = [14];
    - $assigned_child_ids = [13];
 * I’ve tried the following shortcode in my template, but it doesn’t seem to get
   any results. (Shortcodes are allowed in my Pods Templates through a line in the
   wp-config.php)
 *     ```wp-block-code
       [terms-with-same-parent taxonomy="{@hoofdnavigatie.parent.name}" template="Book tabs - List template - Depth version"]
       ```
   
 * I’ve also tried the following way:
 *     ```wp-block-code
       [terms-with-same-parent]<a href="{@permalink}">{@name}</a>[/terms-with-same-parent] 
       ```
   
 * But this didn’t work for me either.
 * I’m inexperienced with PHP so I could be doing something wrong or missing something,
   can you please help me out?
 * If you need more information, feel free to let me know!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Change post date formatting](https://wordpress.org/support/topic/change-post-date-formatting/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/change-post-date-formatting/#post-18240927)
 * Hi Paul,
 * Thanks for the reply, it worked almost perfectly! The only issue I have now is
   that it shows the month string in English, while the website language is Dutch.
   I set this up in the WordPress settings and the HTML language is also nl-NL.
 * Is it possible to translate the month string accordingly?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Gravity Forms shortcode in [if][else] results in string](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/#post-17462388)
 * 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Gravity Forms shortcode in [if][else] results in string](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/#post-17430258)
 * 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?
 *     ```wp-block-code
       add_filter( 'vacature_template', 'shortcode_unautop' );
       add_filter( 'vacature_template', 'do_shortcode' );
       ```
   
 *     ```wp-block-code
       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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Gravity Forms shortcode in [if][else] results in string](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/#post-17418923)
 * 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?
 *     ```wp-block-code
       add_filter( 'get_the_author_description', 'shortcode_unautop' );
       add_filter( 'get_the_author_description', 'do_shortcode' );
       ```
   
 * Thanks in advance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Gravity Forms shortcode in [if][else] results in string](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/gravity-forms-shortcode-in-ifelse-results-in-string/#post-17418456)
 * 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
 *     ```wp-block-code
       <?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
 *     ```wp-block-code
       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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Pagination using ajax](https://wordpress.org/support/topic/pagination-using-ajax-2/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/pagination-using-ajax-2/#post-17071930)
 * Hi 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Shipping cost display and VAT mention on invoice](https://wordpress.org/support/topic/shipping-cost-display-and-vat-mention-on-invoice/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/shipping-cost-display-and-vat-mention-on-invoice/#post-16264934)
 * Hi [@yordansoares](https://wordpress.org/support/users/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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Shipping cost display and VAT mention on invoice](https://wordpress.org/support/topic/shipping-cost-display-and-vat-mention-on-invoice/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/shipping-cost-display-and-vat-mention-on-invoice/#post-16261530)
 * Hi [@yordansoares](https://wordpress.org/support/users/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/BTdPS49](https://ibb.co/BTdPS49)
 * Here’s the resulting invoice:
    [https://ibb.co/WVG067D](https://ibb.co/WVG067D)
 * Here’s an image of a seperate packaging slip (saying Flat rate in Dutch):
    [https://ibb.co/JBJQPJX](https://ibb.co/JBJQPJX)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Special mail tags with Woocommerce products](https://wordpress.org/support/topic/special-mail-tags-with-woocommerce-products/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/special-mail-tags-with-woocommerce-products/#post-16199067)
 * Hi [@plantprogrammer](https://wordpress.org/support/users/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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Shipping cost display and VAT mention on invoice](https://wordpress.org/support/topic/shipping-cost-display-and-vat-mention-on-invoice/)
 *  Thread Starter [Sun](https://wordpress.org/support/users/sunrv/)
 * (@sunrv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/shipping-cost-display-and-vat-mention-on-invoice/#post-16197274)
 * Hello [@dpeyou](https://wordpress.org/support/users/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/nn4yMNT](https://ibb.co/nn4yMNT)
 * Here’s a screenshot of the result invoice (I’ve censored some information here
   as well)
    [https://ibb.co/fCBmgHT](https://ibb.co/fCBmgHT)

Viewing 13 replies - 1 through 13 (of 13 total)