RayZorJ3lade
Forum Replies Created
-
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Importing today’s productsA quick search on google got me to this:
https://www.w3.org/TR/xpath-functions-31/
fn:current-date()
This might help:
Access Data Outside of Element Chosen on Step 2
https://www.wpallimport.com/documentation/developers/code-snippets/#access-data-above-element-chosen-on-step-2Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Importing today’s productsI think you can do that by applying an xpath comparison on the updated node on Step 2
Forum: Plugins
In reply to: [WooCommerce] Woocommerce V2 API Unable to update order statusIf its a signatures don’t match error make sure that your store URL matches how the wc is configured – I had to drop the www. from my url to get them to match.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce V2 API Unable to update order statusDon’t see anything wrong with that – what error did you get, I had something similar working yesterday – the only difference I had was quotes around the order ID but I doubt that’d be it.
Forum: Fixing WordPress
In reply to: WordPress wp-code-igniter pluginFixed it!!
Modified the script as follows:
<?php
$ci = &get_instance();$ci->load->library(‘table’);
$data = array(
array(‘Name’, ‘Color’, ‘Size’),
array(‘Fred’, ‘Blue’, ‘Small’),
array(‘Mary’, ‘Red’, ‘Large’),
array(‘John’, ‘Green’, ‘Medium’)
);
echo $ci->table->generate($data);
?>Forum: Fixing WordPress
In reply to: WordPress wp-code-igniter pluginThanks WPyogi,
I’ve already been there and thats how I found how to get past the 404 permalinks error – but I simply cant find anywhere any instruction on how to use codeigniter code functions within the wordpress templates code, once I can figure out how to execute a simple codeigniter function the rest will follow easily.
Forum: Plugins
In reply to: [Testimonials Pro] Display all testimonials?I wrote my own shortcode – add this code to functions.php and then use the shortcode [all_testimonials]
/* Show All Testimonials */ function all_testimonials() { global $wpdb; $testimonials = $wpdb->get_results( "SELECT * FROM wp_testimonials_pro ORDER BY TP_id DESC" ); $return = '<style type="text/css">'; $return .= '.TP-regimage img {'; $return .= ' float: right;'; $return .= ' vertical-align:bottom;'; $return .= ' padding: 3px;'; $return .= '}'; $return .= '.TP_navigation {height:20px; width:45px; float:left; }'; $return .= '.TP_prev, .TP_next { background:url("https://www.leco.co.uk/wp-content/plugins/testimonials-pro/navigation-20px.png"); width:20px; height:20px; float:left; cursor:pointer; } '; $return .= '.TP_next {background-position:20px 0 !important; margin-left:5px; }'; $return .= '.tp-arrow {background:url("https://www.leco.co.uk/wp-content/plugins/testimonials-pro/tp-arrow.png"); width:20px; height:10px; display:block; position:absolute; bottom:-10px; left:20px; }'; $return .= '</style>'; $return .= '<div style="text-align:left;vertical-align:middle;text-decoration: none;overflow: hidden; position: relative; margin-left: 3px; " id="TPHolder">'; foreach($testimonials as $testimonial) { $return .= '<div class="TP_div" id="TP_div_1" style="opacity:1;display:inherit; padding:1px 0px 1px 0px;"><div style="padding:7px; margin-bottom:17px; border:1px solid #CCCCCC; position:relative;">'; $return .= $testimonial->TP_desc . '<span class="tp-arrow"></span>'; $return .= '</div><div class="TP-regimage"><a href="' . $testimonial->TP_link . '" target="_blank"><img src="' . $testimonial->TP_path . '" alt="' . $testimonial->TP_name . '" /></a></div>'; $return .= '<div style="padding-top:7px;"><strong><a href="' . $testimonial->TP_link . '" target="_blank">' . $testimonial->TP_name . '</a></strong></div></div><p style="clear:right;"> </p>'; } $return .= '</div>'; return $return; } add_shortcode('all_testimonials', 'all_testimonials');