Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Janae

    (@janaeniellgmailcom)

    I’m having the same issue as well.

    It seems that the window doesn’t show as a pop-up as it once did, and once the image has been uploaded and all changes have been made I click “Save Changes”, but the window doesn’t go away, or go back or anything.

    If you click “Save Changes”, then navigate back to your post just using the back button on the browser, it will save the featured image you uploaded, but the entire post is erased – title, content, settings, etc. all gone.

    Mariener – the work around we’ve been using for now is to hold down CTRL when clicking the “Set Featured Image” link to force it to open in a new window. After clicking “Save Changes” close that window, and back in your post window click “Save Draft” in order for the Featured Image you just chose to take effect :-/

    Is this a known issue in 4.1.1?

    Thread Starter Janae

    (@janaeniellgmailcom)

    I was thinking about doing that, but I didn’t want to blow anything up. lol I’ll give that a go when I get home and get back to you. Thanks for the help! 🙂

    Janae

    (@janaeniellgmailcom)

    I agree, I am having the same problem on my end. Please advise on how we can adjust the variable drop-down to include either “Sold Out” or to at least gray out when sold.

    Forum: Hacks
    In reply to: Woocommerce PHP Code Help
    Thread Starter Janae

    (@janaeniellgmailcom)

    Success!!

    Looks like declaring global $wp_query; did the trick! I placed the following code above the while loop:

    <?php
    
    $i = 0; 
    
    global $wp_query;
    
    ?>

    and everything fell right into place. No more sub-category issues – all the correct products are showing up as they should.

    Thanks so so much again for your help. I tell you seriously I’ve been trying to get this to work for a couple of months now, so I can’t thank you enough! Made my day. 😀

    Thanks also for all the tips regarding WP_DEBUG and things like the line number discrepancy. I always appreciate learning all that I can about the coding world. 😉

    Forum: Hacks
    In reply to: Woocommerce PHP Code Help
    Thread Starter Janae

    (@janaeniellgmailcom)

    Duh. Should have realized just setting a static height would have done the trick. It definitely looks much better now, thank you 🙂 I checked it out on the versions of Chrome, IE, Firefox and Safari that I have installed and they all look good. Will test more versions of each before launch.

    I didn’t realize you could only have one element per page with a given id! See what happens when you teach yourself HTML… It makes sense when I think about it, obviously. So essentially, because the id of “item” is on a loop, it’s being used more than once on the page in the final output, correct?

    So now just the sub-categories. I defined the WP-DEBUG as true in the wp-config file – very helpful throughout the blog! I went ahead and left it as such so you can see what the products page is saying: http://jamminjdcards.com/blog/shop/ as well as the sub-category page: http://jamminjdcards.com/blog/product-category/box_breaks_football/

    You’ll see they both start with the same error message concerning the undefined variable “i” on line 81. The sub-categories page, however, gets a little deeper with 2 other error messages below the item – all still pertaining to line 81 in the same archive-product.php template.

    In the document I’m looking at (which is a little different from the pastebin you saw previously) says line 81 is the following:

    <?php if (have_posts()) : while(have_posts()) : $i++; if(($i % 2) == 0) : $wp_query->next_post(); else : the_post(); ?>

    Here is a latest archive-product.php code: http://pastebin.com/SNyJmqQ9
    Unfortunately I have no idea what any of these error messages mean on either page! 🙁 Do you have any ideas?

    Another idea, in relation to your comment about the twitterFetcher_v10: Since the day I first called the script in my header for that, it’s stated that Line 16 had a syntax error. It didn’t make any sense to me as that line contains no code. But the line following it does contain the script for the twitterFetcher. Might have something to do with what you’re seeing – OR the sub-categories display issue.

    Here is the code for my header.php file which contains the code I’m speaking of: http://pastebin.com/FTXgGapX

    Again – I really, really appreciate your time and help!

    Forum: Hacks
    In reply to: Woocommerce PHP Code Help
    Thread Starter Janae

    (@janaeniellgmailcom)

    No worries – I was looking for pedantic to help me out with this anyhow. 😀 Thanks for the clarification on the modulo meaning – one day I will learn PHP.

    We’re getting so close! Check out the page now: http://jamminjdcards.com/blog/shop/ It’s working fantastically – exactly what I was looking for, but unfortunately it has led to a couple more questions:

    #1: They are displaying in perfect order and in their appropriate left and right divs now. But I’m realizing now that each product is of varying height depending on the product title. Is there any way for each row to be on the same height line, not dependent on the height of the products above it? Does that make sense?

    #2: If you use the sub-navigation adjacent to the “BOX BREAKS” title, there are 3 categories. “Football” should have 2 of the products seen on the main shop page. “Basketball” should have 0. “Misc Sports” should have the other 2 products seen on the main shop page. As you can see only one of them is being displayed for some reason – all other content after it is being ignored – such as the footer with the copyright. Any ideas why this is happening?

    So much thanks again for your help! I can’t tell you how long I’ve been struggling with this trying to get it to work 🙁

    Forum: Hacks
    In reply to: Woocommerce PHP Code Help
    Thread Starter Janae

    (@janaeniellgmailcom)

    Hmm interesting. I didn’t think about woo’s ol and ul. I’ll look into it tomorrow and see if that can’t be remedied.

    I’m not sure exactly how to implement the divs as you are saying. Right now you can see how the code is set up in pastebin. One item is in a left div, rewind posts and another in a right. Do you have a suggestion on how to generate just one left div and one right div since it’s generated on a loop? I see what you mean, just not sure how to accomplish it.

    And sorry – I’m not sure what you mean by “Modulo 2”?

    Thread Starter Janae

    (@janaeniellgmailcom)

    Oh I’m sorry – thank you! I’ll repost it over there. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)