jade.stewart
Forum Replies Created
-
Will do I’ll get back to you
actually. this. doesn’t. show up on any version of safari
its not its not showing up on iPhones for some reason
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] side bar date issues date stampunfortunately no it only appears to be on the single event and yes I’ve tried all the troubleshooting steps I need to sort this today its taking ages to find a solution and I’m running out of time on this project
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] side bar date issues date stampplease confirm how I can resolve. this
Forum: Plugins
In reply to: [WooCommerce Add Charges To Payment Gateway] woocommerce 2.1.1I tryed adding the code `function add_form_fields(){
global $woocommerce; // Get current tab/section $current_tab = ( empty( $_GET['tab'] ) ) ? '' : sanitize_text_field( urldecode( $_GET['tab'] ) ); $current_section = ( empty( $_REQUEST['section'] ) ) ? '' : sanitize_text_field( urldecode( $_REQUEST['section'] ) ); //if($current_tab == 'payment_gateways' && $current_section!=''){ if($current_tab == 'checkout' && $current_section!=''){ $gateways = $woocommerce->payment_gateways->payment_gateways(); foreach($gateways as $gateway){ if(strtolower(get_class($gateway))==$current_section){ $current_gateway = $gateway -> id; $extra_charges_id = 'woocommerce_'.$current_gateway.'_extra_charges'; $extra_charges_type = $extra_charges_id.'_type'; if(isset($_REQUEST['save'])){ echo $extra_charges_id."\n"; echo $extra_charges_type."\n"; update_option( $extra_charges_id, $_REQUEST[$extra_charges_id] ); update_option( $extra_charges_type, $_REQUEST[$extra_charges_type] ); } $extra_charges = get_option( $extra_charges_id); $extra_charges_type_value = get_option($extra_charges_type); } } ?> <script> jQuery(document).ready(function($){ $data = '<h4>Add Extra Charges</h4><table class="form-table">'; $data += '<tr valign="top">'; $data += '<th scope="row" class="titledesc">Extra Charges</th>'; $data += '<td class="forminp">'; $data += '<fieldset>'; $data += '<input style="" name="<?php echo $extra_charges_id?>" id="<?php echo $extra_charges_id?>" type="text" value="<?php echo $extra_charges?>"/>'; $data += '<br /></fieldset></td></tr>'; $data += '<tr valign="top">'; $data += '<th scope="row" class="titledesc">Extra Charges Type</th>'; $data += '<td class="forminp">'; $data += '<fieldset>'; $data += '<select name="<?php echo $extra_charges_type?>"><option <?php if($extra_charges_type_value=="add") echo "selected=selected"?> value="add">Total Add</option>'; $data += '<option <?php if($extra_charges_type_value=="percentage") echo "selected=selected"?> value="percentage">Total % Add</option>'; $data += '<br /></fieldset></td></tr></table>'; $('.form-table:last').after($data); }); </script> <?php }[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
but it crashed out the site
Forum: Plugins
In reply to: need a way to disable cas on delivery if a customers order is less than £10I thought I had said in my notes its woocommerce
Forum: Plugins
In reply to: [Barclay ePDQ payment gateway for wordpress] strange address errornow I get Payment confirmation
Order reference : 388
Total charge : —
Beneficiary : —An error has occurred; please try again later. If you are the owner or the integrator of this website, please log into the Barclaycard back office to see the details of the error.
Payment processed by Barclaycard
Forum: Plugins
In reply to: [WP-EMail] email link not workingYes it is a custom post type so this may be the issue when will you be realising the update
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] change button textthe code is inside a php tag see bellow
<?php /*-----------------------------------------------------------------------------------*/ /* Start WooThemes Functions - Please refrain from editing this section */ /*-----------------------------------------------------------------------------------*/ // Set path to WooFramework and theme specific functions $functions_path = get_template_directory() . '/functions/'; $includes_path = get_template_directory() . '/includes/'; // Don't load alt stylesheet from WooFramework if ( ! function_exists( 'woo_output_alt_stylesheet' ) ) { function woo_output_alt_stylesheet () {} } // Define the theme-specific key to be sent to PressTrends. define( 'WOO_PRESSTRENDS_THEMEKEY', 'tnla49pj66y028vef95h2oqhkir0tf3jr' ); // WooFramework require_once ( $functions_path . 'admin-init.php' ); // Framework Init if ( get_option( 'woo_woo_tumblog_switch' ) == 'true' ) { //Enable Tumblog Functionality and theme is upgraded update_option( 'woo_needs_tumblog_upgrade', 'false' ); update_option( 'tumblog_woo_tumblog_upgraded', 'true' ); update_option( 'tumblog_woo_tumblog_upgraded_posts_done', 'true' ); require_once ( $functions_path . 'admin-tumblog-quickpress.php' ); // Tumblog Dashboard Functionality } /*-----------------------------------------------------------------------------------*/ /* Load the theme-specific files, with support for overriding via a child theme. /*-----------------------------------------------------------------------------------*/ $includes = array( 'includes/theme-options.php', // Options panel settings and custom settings 'includes/theme-functions.php', // Custom theme functions 'includes/theme-actions.php', // Theme actions & user defined hooks 'includes/theme-comments.php', // Custom comments/pingback loop 'includes/theme-js.php', // Load JavaScript via wp_enqueue_script 'includes/theme-plugin-integrations.php', // Plugin integrations 'includes/sidebar-init.php', // Initialize widgetized areas 'includes/theme-widgets.php', // Theme widgets 'includes/theme-advanced.php', // Advanced Theme Functions 'includes/theme-shortcodes.php', // Custom theme shortcodes 'includes/woo-layout/woo-layout.php', // Layout Manager 'includes/woo-meta/woo-meta.php', // Meta Manager 'includes/woo-hooks/woo-hooks.php' // Hook Manager ); // Allow child themes/plugins to add widgets to be loaded. $includes = apply_filters( 'woo_includes', $includes ); foreach ( $includes as $i ) { locate_template( $i, true ); } // Load WooCommerce functions, if applicable. if ( is_woocommerce_activated() ) { locate_template( 'includes/theme-woocommerce.php', true ); } /*-----------------------------------------------------------------------------------*/ /* You can add custom functions below */ /*-----------------------------------------------------------------------------------*/ function change_subscribe_button_text() { // return your preferred button text return "My Preferred Button Text"; } add_filter('s2_subscribe_button', ‘Yes_Please’); /*-----------------------------------------------------------------------------------*/ /* Don't add any code below here or the sky will fall down */ /*-----------------------------------------------------------------------------------*/ ?>Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] change button textyes I know what a php tag is but I’m unsure where it supposed to be placed with in this example bellow i have placed the code with in the functions.php folder as per bellow please confirm where I’m going wrong
function change_subscribe_button_text() {
// return your preferred button text
return “My Preferred Button Text”;
}
add_filter(‘s2_subscribe_button’, ‘change_subscribe_button_text’);Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] change button textsorry i don’t understand what you mean which php tags would you like the text out side of ?
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] change button textas well as the button text doesn’t change
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] change button texti put in the following
function change_subscribe_button_text() {
// return your preferred button text
return “My Preferred Button Text”;
}
add_filter(‘s2_subscribe_button’, ‘Yes_Please’);and now I’m getting
function change_subscribe_button_text() { // return your preferred button text return “My Preferred Button Text”; } add_action(‘s2_subscribe_button’, ‘Yes_Please); this in my header
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] change button textevery time i add the following hook to my functions file the site white screens please advise where I’m going wrong I’m using the following
function change_subscribe_button_text() {
// return your preferred button text
return “My Preferred Button Text”;
}
add_action(‘s2_subscribe_button’, ‘change_subscribe_button_text’);