thenixus
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Moving Variation Product DescriptionsThat totally worked! Thank you so much!
Forum: Plugins
In reply to: [WooCommerce] Moving Variation Product DescriptionsI found where it’s added in WC default –
woocommerce\assets\js\frontend\add-to-cart-variation.jsThe JS that then controls it (lines 522-528):
var $single_variation_wrap = $form.find( '.single_variation_wrap' );$single_variation_wrap.prepend( $( '<div class="woocommerce-variation-description" style="border:1px solid transparent;">' + variation_description + '</div>' ).hide() );So it’s directly prepending into the .single_variation_wrap div, which contains the add to cart button, the price, and the variations description.
I don’t think I’d be able to prevent that from hooking there unless I overwrote that JS file? Is there a cleaner way?
Forum: Plugins
In reply to: [WooCommerce] Moving Variation Product DescriptionsThanks for your reply.
I’ve tried this with all plug-ins turned off (except WC) and on the Twenty Fifteen theme. The variable product description is available to a)edit under each individual variation as “Variation Description” and b)changes to what is typed in the “Variation Descriptions” field when I toggle different variations on an individual product page. I’m 99% sure it comes included in WC.
I will, however, try to do the text search to find the hook.
Forum: Plugins
In reply to: [WooCommerce] Moving Variation Product DescriptionsSorry for the delay: here’s a link to the site. Just to be clear, I’m trying to move the descriptions of the individual product variations, not the general product description!
http://www.cchcollection.com.php53-13.ord1-1.websitetestlink.com/product/kenan-jacket
It currently appears under the variation selectors and dynamically changes when you select a new variation, and I’d like to put them below the Add to Cart button.
This is exactly what I needed. I’ll hook this into a check of the window size. Thank you!
An update of some things I tried: I tried to add some CSS queries to hide the menu when it was at landscape settings on devices. The CSS queries worked on Android platforms but not on OS/iOS and they weren’t caught by other devices, like laptops, so it was a non-starter.
Forum: Fixing WordPress
In reply to: Admins can't post new articles in 3.1After about 9 hours of slaving, I have a partial fix to the problem. We were also in the middle of a server migration, which explains why I figured it out (at 5am!)
My problem was (in a nutshell): All of my admin users of the site could no longer do standard admin things – no posting, exporting, changing plugins, etc.
It seems that, when I upgraded to 3.1,the WordPress install crashed unexpectedly and it didn’t return an error saying it did. When I tried to upgrade the files by opening wp-admin/upgrade.php, it didn’t work either.
What I did that seemed to work was the following:
Opened up wp-includes/version.php in a text editor
Commented out the first two values like so:// $wp_version = '3.1'; // $wp_db_version = 17056;Then, when I logged in again, it forced itself to repair. There were some errors in my install (I have a hellish install of WP) but all of a sudden, my admin rights were back! Hoorah!
The only thing I can’t do is Add Posts via the Add Posts button. Weird, isn’t it? Now I have one problem left on the site, but I have control over my WP again.
Forum: Fixing WordPress
In reply to: Admins can't post new articles in 3.1I have found no solutions to this problem, including changing the mySQL table entries for my usermeta data to reflect the accurate user privs. I am at a loss and would really like to get this fixed.
m1dst and Jon, did any plugins you had seem to stop working after the install or cause awkward problems? My WP DB-Manager behaved oddly but I was able to delete it until I could fix this more pressing issue.
Forum: Fixing WordPress
In reply to: Admins can't post new articles in 3.1I can’t even find the user menu now..it isn’t on the sidebar anymore. Am I just dumb or was this taken away with 3.1?
I did try to create a new user as an admin and I still had the original problem.
Forum: Fixing WordPress
In reply to: Admins can't post new articles in 3.1I’m not on a multi-site installation. This is just a single site. When I say Admins, I mean users set at the “Administrator” level. Sorry for any confusion!
Forum: Fixing WordPress
In reply to: Admins can't post new articles in 3.1Hi mercime,
I’ve tried deactivating plug-ins, moving to Twenty Ten as a theme, manual upgrade, and disabling the Admin menu through my functions file. Still no luck. There isn’t much about this error in the WordPress forums already.
Forum: Fixing WordPress
In reply to: Posts won't display on homepage<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_title();?> <?php the_content();?> <?php endwhile; else: ?> UH OH! <?php endif; ?>Pretty straightforward loop