archive

WooCommerce: Display ONLY on-sale products in Shop

≯℡__Kan透↙ 提交于 2019-11-27 19:54:15
I need to create a products archive page (usually the Shop page in WooCommerce ) but displays ONLY the ON SALE products . Basically it should use the same template layout as that in the archive-product.php . There will be a link in the main menu that will direct to this page. How do I go about this? UPDATE I managed to filter out the ON SALE products with the code below placed just above the if ( have_posts() ) : line... $args = array( 'post_type' => 'product', 'order' => 'ASC', 'paged' => $paged, 'meta_query' => array( array( 'key' => '_sale_price', 'value' => 0, 'compare' => '>', 'type' =>

Archive does not appear in xcode4 organizer

╄→尐↘猪︶ㄣ 提交于 2019-11-27 18:32:29
I am trying to submit an app to iTunes using the new xcode4. I followed the apple instructions but after doing product> archive, I still do not see anything in my organizer. Can anyone help? Apps4U I got the same problem. Took me whole night to solve. The doc gave the wrong instruction - therefore all your archives are created but their size is zero. You can verify this by going to their directory (...derived data...) Anyway, in the "Skip Install", set the value for "Release" as "NO" (the help doc told you the opposite). Once you set it to "NO", archive again. You'll immediately see your app

Xcode 7 Archive size large

眉间皱痕 提交于 2019-11-27 16:23:53
问题 I've previously been using Xcode 6 to write my Swift app. I've now upgraded to Xcode 7 and upgraded my Swift syntax. Previously, when I did an archive of my app, I'm sure it was only around 12MB in size when viewed in finder. Now, it is much larger (112MB). I have now disabled bundles in my build settings as some other posts have suggested, and this has brought the archive down to 74.9MB. Trouble is that uploading these large file sizes become very heavy on my internet connection and take

How to do a “Save As” in vba code, saving my current Excel workbook with datestamp?

♀尐吖头ヾ 提交于 2019-11-27 14:21:48
I have an Excel Workbook that on form button click I want to save a copy of the workbook with the filename being the current date. I keep trying the the following ActiveWorkbook.SaveAs ("\\filePath\FormFlow To MSExcel\" & Left(Now(), 10)) but am receiving Run-time error '1004': Method 'SaveAs' of object'_Workbook' failed. Can anyone assist me with this? I'm still very new to developing for Excel. Most likely the path you are trying to access does not exist. It seems you are trying to save to a relative location and you do not have an file extension in that string. If you need to use relative

Linux removing folders older than 1 year and more than 3 files

青春壹個敷衍的年華 提交于 2019-11-27 09:33:55
I'm writing an ant script to clean up an archive folder Here's how I need to clean it up: I need to delete folders old than a certain amount of days AND has more than 3 files in it. So for example if a folder is 300 days old but only has 3 files than it will NOT be deleted. I know I can ssh into the archive and do find -mtime +365 -exec rm -rf {} ;\ to delete files older than 1 year but I don't know how to account for the minimum of 3 files I also know that find -type f | wc -l will list the number of files, but that doesn't really help in terms of scripting Any ideas? ANT selectors enable you

Unpack inner zips in zip with Maven

坚强是说给别人听的谎言 提交于 2019-11-27 07:33:59
I can unpack zip file via the maven-dependency plugin, but currently I have the problem that inside that zip file other zip files are include and I need to unpack them as well. How can I do this? You can unzip any files using ant task runner plugin: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>prepare</id> <phase>validate</phase> <configuration> <tasks> <echo message="prepare phase" /> <unzip src="zips/archive.zip" dest="output/" /> <unzip src="output/inner.zip" dest="output/" /> <unzip

What's the best “file format” for saving complete web pages (images, etc.) in a single archive? [closed]

和自甴很熟 提交于 2019-11-27 05:12:59
问题 I'm working on a project which stores single images and text files in one place, like a time capsule. Now, most every project can be saved as one file, like DOC, PPT, and ODF. But complete web pages can't -- they're saved as a separate HTML file and data folder. I want to save a web page in a single archive, and while there are several solutions, there's no "standard". Which is the best format for HTML archives? Microsoft has MHTML -- basically a file encoded exactly as a MIME HTML email

Generate xcarchive into a specific folder from the command line

我们两清 提交于 2019-11-27 03:58:01
问题 For the purposes of CI, I need to be able to generate an XCARCHIVE and an IPA file in our nightly build. The IPA is for our testers, to be signed with our ad-hoc keys, and the XCARCHIVE is to send to the client so that they can import it into Xcode and submit it to the app store when they're happy with it. Generating the IPA is simple enough with a bit of googling, however how to generate the .XCARCHIVE file is what eludes me. The closest I've found is: xcodebuild -scheme myscheme archive

Generate xcarchive into a specific folder from the command line

守給你的承諾、 提交于 2019-11-27 03:13:18
For the purposes of CI, I need to be able to generate an XCARCHIVE and an IPA file in our nightly build. The IPA is for our testers, to be signed with our ad-hoc keys, and the XCARCHIVE is to send to the client so that they can import it into Xcode and submit it to the app store when they're happy with it. Generating the IPA is simple enough with a bit of googling, however how to generate the .XCARCHIVE file is what eludes me. The closest I've found is: xcodebuild -scheme myscheme archive However, this stores the .xcarchive in some hard-to-find folder, eg: /Users/me/Library/Developer/Xcode

iOS how to set app icon and launch images

亡梦爱人 提交于 2019-11-27 02:25:26
How do I set the images so that I can archive and validate my app? The screen looks like this now: So the first one says 29pt , but then it also says 2x . So do I put a 29x29 image or a 58x58 image? And where do I put all of the other ones? (I know that there are more sizes than 29 , 40 , and 60 ). Anyway, what I tried was I dragged a 29x29 png onto the first slot, a 40x40 onto the second, and a 60x60 onto the third and fourth. When I went to Product->Archive , I get /Users/kendon/Documents/iPhone Apps/Sales Tool/Sales Tool/Images.xcassets: The app icon set named "AppIcon" did not have any