leebaz
Forum Replies Created
-
Thank you for all your help!
Hi,
I replied by email, but just in case here is the link:
https://ww.wp.xz.cn/plugins/payable-payment-gateway-for-woocommerce/
Thanks
LeeForum: Plugins
In reply to: [WooReer] Working for test domain but not the live oneNevermind: this was a conflict with other shipping zones.
It would be a great addition!
With postSMTP option, contact forms fail
5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit messageWith the PHPMailer option contact forms work but WooCommerce put the customer names instead of the customer email address:
Invalid “Reply-To” e-mail address “First Last”
I’m seeing a similar problem: the emails work when I set it to postSMTP but the contact forms no longer work. If I use the PHPMailer option the contact forms work (Ninja Forms and Contact Form 7) but I get an invalid reply-to address in the woocommerce order email.
Any suggestions?Hi,
I’m experiencing the same problem – did you find a solution to get the plug-ins working?
Some more info:
I have a live test site on GoDaddy, which works fine.
I transferred to the clients live server, and everything is ok, but I’ve had to change permissions on .htaccess for example to get it to work.
When I try and install the Slickr Flickr plug in through the Dashboard I get a ‘Plugin has invalid header’ message when I try and activate it.
If I install the plug-in through FTP I can activate it in teh Dashboard and apply the settings, but the homepage of the site no longer works.
Anyone got any suggestions? Is this a permissions issue too?
test server is http://bembola.com/youtopia
live server is http://www.youtopiastudio.com.au
Plug in is for the ‘blog’ section.
LeeForum: Fixing WordPress
In reply to: Cant pass Author ID using variableIt’s ok, I’ve done it. I had to use ‘get_the_author_meta’
I have the same problem, I think it might be linked to the Roots / Twitter Boostrap theme. Any ideas why?
Forum: Plugins
In reply to: Custom category list with class according to tagsHurray – solved by my friend – here is the code in case anyone else wants to do this:
<?php // this returns the current page category, which is used later to match the clients tags $current_category = single_cat_title("", false); // check to see if we are on a special page $on_special_page = ($current_category == "product") || ($current_category == "airline") || ($current_category == "transport") || ($current_category == "spaces") || ($current_category == "packaging"); // this starts a loop to generate the 'clients' list // this gets the categories that are children of category 7, which is the 'clients' category $categories = get_categories('child_of=7&hide_empty=0'); foreach ($categories as $cat) { //this makes an array of the categories IDs $args = array('categories'=> $cat->cat_ID); //this is a custom function that get's the 'tags' for each category ID $tags = get_category_tags($args); $tag_names = array(); foreach ($tags as $tag) { // this takes the above and returns the tag name as opposed to it's ID $tag_names[$tag->tag_name] = 'on'; } # print_r($tag_names); // checking to see if the current page 'category' is NOT the specific categories and then // generate the normal list, (like that shown on the home page) also checks to see if a // category doesn't have any posts, in which case we write it but not as a link if (!$on_special_page && ($cat->count)) { echo '<li><a href="http://www.factorydesign.co.uk/?cat=' . $cat->term_id . '">' . $cat->cat_name . '</a></li>' . "\n"; } //this is where I need to check if ANY of the returned 'tags' are matched, currently it's // just checking the LAST one. If it does match then I set the 'li class' to 'page_link' // which then allows me to style it independently else if (($tag_names[$current_category] == 'on') && ($cat->count)) { echo '<li class="page_link"><a href="http://www.factorydesign.co.uk/?cat=' . $cat->term_id . '">' . $cat->cat_name . '</a></li>' . "\n"; } else { echo '<li>' . $cat->cat_name . '</li>'; //this writes the categories that are left, but NOT as link items } } ?>Forum: Plugins
In reply to: Custom category list with class according to tagsI feel like I’m really close! Using the function detailed on this thread:
http://ww.wp.xz.cn/support/topic/276635?replies=41
I’m managed to get the category ID for each category in the list, now I just need to get the tags associated with each ID.
My Code looks like this so far:<?php $current_category = single_cat_title("", false); $categories = get_categories('child_of=7&hide_empty=0'); foreach ($categories as $cat) { echo $cat->cat_ID . ' '; $tags = get_category_tags($cat->cat_ID); echo $tags; if ($cat->count) { echo $content; echo '<li class=' . $tags->tag_name. '><a href="?cat=' . $cat->term_id . '">' . $cat->cat_name . '</a></li>'; } else { echo '<li>' .$cat->cat_name . '</li>'; } } ?>But what I’m seeing is:
4 ArrayAcco Rexel
5 ArrayAcro
Array
and so on…Forum: Plugins
In reply to: Custom category list with class according to tagssorry – I’m not clever enough to extract from that link the information I need! To start me off, is there a way to list the categories, and for each on list the tags asociated with it? For example, you can list the categories and the number of posts for each.
Forum: Fixing WordPress
In reply to: WP 2.9.2 enable XML-RPC not workingthanks! That was indeed the problem.
Forum: Fixing WordPress
In reply to: WP 2.9.2 enable XML-RPC not workingActually I tell a lie – this works on my local install but not on the live version. Please help!
LeeForum: Plugins
In reply to: custom category list functionAwesome! Thank you so much, I was able to take that and tweak it to meet my needs!
Lee