Changeset 1685704
- Timestamp:
- 06/26/2017 06:38:30 PM (9 years ago)
- Location:
- tsa-commerce/trunk
- Files:
-
- 1 added
- 5 edited
-
README.txt (modified) (3 diffs)
-
lib/cpt.php (modified) (1 diff)
-
lib/custom-fields.php (modified) (1 diff)
-
lib/functions.php (modified) (2 diffs)
-
lib/utilities.php (modified) (1 diff)
-
tsa-commerce.php (added)
Legend:
- Unmodified
- Added
- Removed
-
tsa-commerce/trunk/README.txt
r1683034 r1685704 1 1 === TSA Commerce === 2 2 Contributors: pablorocha, sjrocha, 3 Tags: tsa, tsacommerce, tsa-commerce, commerce, affiliate, amazon3 Tags: tsa, tsacommerce, tsa-commerce, tsa commerce, commerce, affiliate, amazon 4 4 Requires at least: 4.0 5 5 Tested up to: 4.8 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 License: GPLv2 8 8 9 Convierte tu Wordpress en un \"Turbo SEO Affiliate Commerce\".Fácil, sencillo y ligero.9 Convierte tu Wordpress en un "Turbo SEO Affiliate Commerce". Fácil, sencillo y ligero. 10 10 11 11 == Description == 12 **TSA Commerce** convierte tu WordPress en un completo \"Turbo SEO Affiliate Commerce\".12 **TSA Commerce** convierte tu WordPress en un completo "Turbo SEO Affiliate Commerce". 13 13 De forma fácil y sencilla. Sin necesidad de usar WooCommerce. 14 14 … … 32 32 33 33 == Frequently Asked Questions == 34 = Instrucciones de instalación = 35 1. Subir la carpeta tsa-commerce al directorio /wp-content/plugins/ vía FTP. 36 1. Subir el archivo ZIP completo vía Plugins -> Añadir nuevo -> Subir en el Panel de Administración de tu instalación de WordPress. 37 1. Buscar TSA Commerce en el buscador disponible en Plugins -> Añadir nuevo y pulsar el botón Instalar ahora. 34 = ¿Cómo puedo mostrar productos en una página? = 35 Para mostrar los productos de una categoría en un página utiliza el shortcode [tsa_products category="slug-category"] 38 36 39 = ¿Cómo puedo mostrar productos en una página? = 40 Para mostrar los productos de una categoría en un página utiliza el shortcode [tsa_products category=\"slug-category\"] 37 = ¿Cómo puedo mostrar todo el listado de categorías? = 38 Para mostrar las categoría en un página utiliza el shortcode [tsa_categories] 39 40 = ¿Cómo puedo mostrar el listado de categorías relacionadas? = 41 Para mostrar las categoría relacionadas en un página utiliza el shortcode [tsa_related_categories categories="term1,term2,term3,..."] 41 42 42 43 = ¿Cómo se configura? = … … 44 45 45 46 == Changelog == 47 = 1.0.1 = 48 * FIX Cambio nombre de la carpeta y ficheros del plugin 49 * FIX Corrección carga del ficheros CSS 50 * FIX Comprobar que las funciones no existan 51 * ADD Añadido más preguntas frecuentes 52 46 53 = 1.0 = 47 54 * Primera versión liberada -
tsa-commerce/trunk/lib/cpt.php
r1683034 r1685704 58 58 add_action( 'init', 'tsac_cpt_product', 0 ); 59 59 60 61 62 63 64 65 66 67 68 69 70 71 60 // Register Custom Taxonomy 72 61 function tsac_taxonomy_product() { -
tsa-commerce/trunk/lib/custom-fields.php
r1683034 r1685704 1 1 <?php 2 3 2 4 3 if(function_exists("register_field_group")) { -
tsa-commerce/trunk/lib/functions.php
r1683034 r1685704 1 1 <?php 2 2 3 load_textdomain('tsacommerce', tsac_get_path() . 'languages/tsa commerce-' . get_locale() . '.mo');3 load_textdomain('tsacommerce', tsac_get_path() . 'languages/tsa-commerce-' . get_locale() . '.mo'); 4 4 5 5 add_action( 'plugins_loaded', 'tsac_load_textdomain' ); 6 6 function tsac_load_textdomain() { 7 load_plugin_textdomain( 'tsacommerce', false, 'tsa commerce/languages' );7 load_plugin_textdomain( 'tsacommerce', false, 'tsa-commerce/languages' ); 8 8 } 9 9 … … 79 79 return $result; 80 80 } 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 -
tsa-commerce/trunk/lib/utilities.php
r1683034 r1685704 3 3 /* 4 4 * TSA Commerce Get Path 5 * return: /wordpress/wp-content/plugins/tsa commerce/5 * return: /wordpress/wp-content/plugins/tsa-commerce/ 6 6 */ 7 function tsac_get_path() { 8 return plugin_dir_path( dirname(__FILE__) ); 7 if(!function_exists('tsac_get_path')) { 8 function tsac_get_path() { 9 return plugin_dir_path( dirname(__FILE__) ); 10 } 9 11 } 12 10 13 11 14 /* 12 15 * TSA Commerce Get URI 13 * return: http://our.domain/wp-content/plugins/tsa commerce16 * return: http://our.domain/wp-content/plugins/tsa-commerce 14 17 */ 15 function tsac_get_uri() { 16 return plugins_url() . '/tsacommerce'; 18 if(!function_exists('tsac_get_uri')) { 19 function tsac_get_uri() { 20 return plugins_url() . '/tsa-commerce'; 21 } 17 22 }
Note: See TracChangeset
for help on using the changeset viewer.