Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • do you can generate this code to file type:

    wp-e-commerce/wpsc-includes/checkout.class.php

    case “textarea”:
    $output .= “<textarea title='” . $this->checkout_item->unique_name . “‘ class=’text’ id='” . $this->form_element_id() . “‘ name=’collected_data[{$this->checkout_item->id}]” . $an_array . “‘ rows=’3′ cols=’40’ >” . esc_html( (string) $saved_form_data ) . “</textarea>”;
    break;

    ————

    case “file”:
    $output .= “<input type=’file’ title='” . $this->checkout_item->unique_name . “‘ class=’file’ id='” . $this->form_element_id() . “‘ name=’collected_data[{$this->checkout_item->id}]” . $an_array . “‘ >” . esc_html( (string) $saved_form_data ) . “/>”;
    break;

    how to input “file” upload in checkout form?

    Thread Starter Pooria

    (@pooriaweb)

    I read rootstheme.com/#clean and i thing that’s mean to change wp-content address, i know a way for edit wp-content address with add a code to .httaccess, is it true?

    Add before >> require_once(ABSPATH . ‘wp-settings.php’);

    define(‘WP_CONTENT_FOLDERNAME’, ‘name-folder’);
    define(‘WP_CONTENT_DIR’, ABSPATH . WP_CONTENT_FOLDERNAME );
    define(‘WP_CONTENT_URL’, ‘https://www.site.com/&#8217;.WP_CONTENT_FOLDERNAME);
    define(‘WP_PLUGIN_DIR’, WP_CONTENT_DIR . ‘/plugins’ );
    define(‘WP_PLUGIN_URL’, WP_CONTENT_URL.’/plugins’);

    Thread Starter Pooria

    (@pooriaweb)

    use roots theme framework for that.

    what is it? is it plugin? how i can use it?

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