Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • You can insert a contact form using the shortcodes supplied with Woo products –
    (http://docs.woothemes.com/document/shortcodes/)

    [contact_form]

    You could extract the required sections of text with a regular expression (See something like this for a tutorial). The content of the post can be addressed with the string post_content from the <?php get_post( $id, $output, $filter ); ?> function

    That is a good question…

    I can only guess that is what the force downloads option of the software is for, this way in theory your raw links shouldn’t be exposed, yes even with this option if somebody knows the architecture of the site and has some knowledge of how it works they can easily go searching on their own…

    I have been doing some further digging in the source.

    woocommerce_payment_complete

    Should only activate once the payment has been accepted as correct, could this be a better option?

    You have two options:

    1. You can put a blank file named index.html / or index.php in that directory.
      Some WordPress Plugins and the Core use an index.php file with just

      <?php // Silence is golden.

      in them

    2. A more secure way is to put a file named .htaccess in the /wp-content/uploads/ directory consisting of only this line:
      Options -indexes
      This way is all sub-directories of this directory will also get their directory listings turned off at once.

    With the .htaccess option instead of giving your users a listing they will get a 403: Forbidden Error

    In my experience redirects are normally setup with the .htaccess file. The permalinks settings in WordPress work with the .htaccess file.

    When I exported a site I had running locally, and then imported it into a live environment I had a similar issue, the redirects in my case were causing 404 errors.

    Have you tried to make a backup of your .htaccess file then set up the permalinks again, if this solves your problem you will just need to copy any additional settings from your old backed up version of the .htacccess file to get it all back to normal.

    Mike,

    Why not select a theme that has the basic layout you want & is something that you like the look of visually. Then create a child theme (http://codex.wordpress.org/Child_Themes) based on it.

    When you say

    a banner image which will be a slideshow of images

    I am assuming you mean something like jQuery Cycle (http://jquery.malsup.com/cycle/). If that is the case as getting jQuery to work in WordPress is far from impossible but can be tricky I would go for a theme that already has that in it, and then just extend it to have the static top header picture you are looking for.

    HTML & CSS wouldn’t be overly difficult, just copy the style.css file and the header.php file from the original theme into a new folder within /wp-content/themes/ and you’ll be set.

    Hi Jesper,

    I am trying to extend the download_product functionality also.

    Looking through the documentation I think the best way to do this is by building a plugin & creating a function that uses the hook woocommerce_download_product (as listed in woocommerce-functions.php)

    The trigger for this is

    // Trigger action
    		do_action( 'woocommerce_download_product', $email, $order_key, $product_id, $user_id, $download_id, $order_id );

    I just need to work out how to get this to work with my plugin I am currently using
    add_action('woocommerce_download_product', array('woocommerce_myluginclass', 'mypluginfunction')); but it doesn’t seem to do anything.

    I suspect this will be depending on the options set for the File Download Method

    If you make any progress please let me know.

    #header div, #header nav {
     float: left;
     width: 50%;
    }
    #slideshow_con {
     clear: both;
    }

    To get them aligned to the bottom of divs you will need to play either play with the padding of the nav or change the nav to position: relative; and change the top to get the desired results.

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