je_123_au
Forum Replies Created
-
I got the same problem.
I changed the code and it works
woocommerce-delivery-notes/woocommerce-delivery-notes.phpchange this function to following:
if ( !function_exists( ‘wcdn_get_order_totals’ ) ) {
function wcdn_get_order_totals() {
global $wcdn;$totals=$wcdn->print->get_order()->get_total();
return $totals;
}
}and go to the template file under print folder:
print-delivery-notes.php order-summary div change to following<div id=”order-summary”>
<table>
<tfoot>
<?php $total=wcdn_get_order_totals(); /*foreach( wcdn_get_order_totals() as $total ) : */?>
<tr>
<th class=”description”>Subtotal:<?php /*echo $total[‘label’];*/ ?></th>
<td class=”price”><?php echo $total; ?></td>
</tr>
<?php /*endforeach; */?>
</tfoot>
</table>
</div><!– #order-summery –>It works! good luck everyone!
Forum: Fixing WordPress
In reply to: Enable tags screen for pagesThanks, I test on other site, it is working.
this site also use wordpress 3.4, strange things.anyway I changed to category instead of tag, and make the site works.
If anyone know why the strange thing happen in different site, pls post here.
Forum: Fixing WordPress
In reply to: Enable tags screen for pagesThanks Chris.
I did add to my mytheme/functions.php and
save it, but when I open wp admin panel, it is as same as before.
page still do not have extra stuff to do?thanks so much for your help
Do I have extra staff to do after change functions.php
// Make the metabox appear on the page editing screen function tags_for_pages() { register_taxonomy_for_object_type('post_tag', 'page'); } add_action('init', 'tags_for_pages'); // When displaying a tag archive, also show pages function tags_archives($wp_query) { if ( $wp_query->get('tag') ) $wp_query->set('post_type', 'any'); } add_action('pre_get_posts', 'tags_archives');Forum: Fixing WordPress
In reply to: Enable tags screen for pagesTHANKS christine.
I prefer to edit function.php, would you mind to give me idea where the coding is and how to do that.
I see in SEO, they have “title tags”, is this one can use as search function also? like query_post(tag=’blah blah’);