riyota
Forum Replies Created
-
Forum: Plugins
In reply to: [Codestyling Localization] Issues after update to wordpress 3.6Wanted to just say that after I double checked my widgets, found out that the ultimate security checker was reason for my troubles.
Forum: Plugins
In reply to: [Codestyling Localization] Issues after update to wordpress 3.6I’m also having trouble after uppdating to WP 3.6.
I can’t edit or rescan anything.Forum: Plugins
In reply to: [WooCommerce] Change field order on checkout page?Thanks, Dynadata it was really useful. Though I have an related problem.
The billing and the shipping address shown after the customer has made the order, in the customer details don’t change, and in the email they receive.I would like to change them as well.
Thanks.
Riyota
mantish thanks for the snippet, just what I needed, and to take out the sync parts.
I’m also trying to adjust the extension to make it into flat rate state based shipping extension. So I would like groups of states to have different flat rates for shipping. I tried to change in the function pick_smallest_rate but my change just made all shipping to become 1 in my case 1 yen. Would appreciate if someone could direct me in a correct direction.function pick_smallest_rate($rates,$weight) { if($weight == 0) return 1; // changed this return to 1 from 0 if( sizeof($rates) > 0) foreach($rates as $key => $value) { if($weight <= $value[0]) { $postage[] = $value[1]; } $postage_all_rates[] = $value[1]; } if(sizeof($postage) > 0) { return min($postage); } else { if (sizeof($postage_all_rates) > 0) return max($postage_all_rates); } return false; }Forum: Plugins
In reply to: [WooCommerce] woocommerce permalinksThanks for the answer Coen. I would love to be more familiar with code than I am and would love to contribute. For the time being I’m not able to do that. I have been thinking about translating woocommerce into Japanese, I’am presently using a bilingual version where the front end is translated to Japanese.
Cheers.
I haven’t tried yet, though probably you first create a template page,
then you change the loop on that page to something like the above.
There should though be a way which mikejolley sugests to make changes in the functions.php file, Though even in that case you need to make a template for that category at least in my theme.Now I don’t know if this helps… Depends how well versed you are in WP.
Forum: Themes and Templates
In reply to: woocommerce featured items, css, horizontalI solved this issue with using the featured products, as shortcode in the footer, then I could easily make it horizontal.
Forum: Themes and Templates
In reply to: woocommerce featured items, css, horizontalI probably should have posted this code before, it’s partial off course, and I thought it to be short enough to post here. A borderline case. First the html and then the CSS. I probably should use inline, which I have tried without success.
<footer> <div id="footer-widget"> <div id="featured-products-2" class="widget widget_featured_products" <ul class="product_list_widget"> <li> </ul> </div> </div> <div id="adress-wrapper"> (there are some stuff in here as well) </div> </footer>The CSS is:
#footer-widget { float:left; width:100%; } ul.product_list_widget { width:150px; } ul.product_list_widget li { float:left; } ul.product_list_widget li img { float:left; margin:0; } #adress-wrapper { clear:left; float:left; }Forum: Themes and Templates
In reply to: woocommerce featured items, css, horizontalAndrew, thanks for the comment, I widgetized my footer and put the featured items widget in the footer.
And esmi, thanks, though my theme is not commercial, its my own which I built from scratch, though I’m using the woocommerce free plugin for the webshop I’m planing to create for my homepage.
Nick thanks, I think this is a css issue.
pyarasujal there is a featured products widget. I think that you should be able to use that?
I’m actually trying to use it and I’m having trouble to make it horizontal.
Forum: Themes and Templates
In reply to: CSS not workingI think you have to tell us more for us to know why it doesen’t work. Link to Live page, are you using a theme, child theme, made your own theme.
Forum: Localhost Installs
In reply to: Can't rewrite my wp-config fileThanx I will check on their forum then.
Forum: Fixing WordPress
In reply to: Category in a box with css overflow scroll, but loop repeats boxes.Thank you again alchymyth. Sorry for my late reply, I have been mobile and not working on the site for the last two weeks.
I don’t have a live site so I can’t post a link to my site. It’s on my computer on a local server.
The present page is on a server with a drupal set up. But maybe it’s possible for me to set up my wordpress site as well?
The meta.php looks like this.
<div class="meta"> <em>Posted on:</em> <?php the_time('F jS, Y') ?> <em>by</em> <?php the_author() ?> </div>Forum: Fixing WordPress
In reply to: Category in a box with css overflow scroll, but loop repeats boxes.alchymyth I thoulght I solved it by putting in a query after “<?php while (have_posts()) : the_post(); ?>”
<?php query_posts(“posts_per_page=6”);the_post();?>
but it seems that it endlessly repeats the loop in the box.
and the footer disapears. But maybe I’m moving in the right direction?Forum: Fixing WordPress
In reply to: Category in a box with css overflow scroll, but loop repeats boxes.Thanks again, here is the code as it is now.