echo product-name in a link

I think you’re wanting to do this: add_filter( ‘woocommerce_order_table_product_title’, ‘my_order_table_product_title’, 10, 2 ); function my_order_table_product_title( $html, $item ) { return ‘<a href=”‘ . urlencode( strtolower( ‘http://vividcandi.net/telescope/’ . $item[‘name’] ) ) . ‘”>View Video</a>’; }

WP_Editor Shortcode Issue

You can display shortcodes in WP editor by removing do_shortcode filter from the_content filter as shown in the following code but beware that it will also display shortcodes tags when you use the_content() function in the theme anywhere else in that case before the_content() function add do_shortcode filter again like this add_filter(‘the_content’, ‘do_shortcode’,15 ); function … Read more

Active menu also for single array

Ok, found it out: <ul class=”nav navbar-nav”> <li<?php if ( is_category(‘app-functies’)) { echo ‘ class=”current”‘; } elseif ( is_singular( ‘augmented-reality’ )) { echo ‘ class=”current”‘; } ?>><a href=”https://wordpress.stackexchange.com/questions/112125/<?php echo site_url(); ?>/app-functies/”>App Functies</a></li> </ul> If you want to add more then 1 is_category() you can also use is category(”) || is_singular(”) . Basic PHP knowledge.. but … Read more