WooCommerce – Print Processing orders [closed]

Here’s the solution: Remove the SKU table header Add (SKU) to the Product header Product (SKU) pass false, true in email_order_items_table function $order->email_order_items_table(false, true) This is not the visual result you were expecting, but it works and it shows the SKU. The second parameter in email_order_items_table indicates whether to show the SKU or not.

Accept HTML in custom function

Trying to store markup in the database is generally a bad idea– some reasons being: Certain characters need to be escaped to be put in the database Having markup in the database will negatively effect any searches you may need to run on the data, now or in the future. Having markup in the database … Read more

Adding link on title its in description but not in title see screenshots attached

I actually found a way around this , I moved the title inside the and that made it as a link as well , since I wanted it to have the same link anyways. <a title=”<?php _e( ‘View details’, ‘wolf’ ); ?>” class=”wolf-show-entry-link” href=”https://wordpress.stackexchange.com/questions/211020/<?php echo get_permalink( $post_id ); ?>”> Hope this could help some other … Read more

how to do open a link in a open window from menu bar? [closed]

Please add below code to bottom of your functions.php, I have replaced with your menu item ID function lidget_popup_link() { ?> <script type=”text/javascript”> jQuery(window).load(function() { var width = “680”, /* Enter popup window width here */ height = “480”, /* Enter popup window height here */ menuItem = “menu-item-140”, /* Enter menu item ID */ … Read more

WP theme update causes child theme CSS problems

It may be possible that your theme author would be able to provide you with a previous version of the theme, not sure though. In regards to how you can avoid this issue in the future, I would recommend performing a backup of your WordPress files before updating anything (this goes for plugin updates, WordPress … Read more

Add HTML between feed items

you can add some code to the bottom of each feed post, this would give you the desired result. You can add this code to your functions.php or add it as a plugin /** Add custom feed content footer * @param $content * @return string */ function add_feed_content($content) { if(is_feed()) { $post_type = get_post_type( get_the_ID() … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)