ewroman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: hide taxonomy fields in QuickEdit menuI have posted the answer on stackoverflow site and pasting the same here;
Try doing by javascript. (I use jquery).
` jQuery(document).ready(function($){‘use strict’;
if ($(‘.post-type-customposttype’).length) { //if we are on custom type page change the customposttype with yours slug
$(‘.taxonomy-checklist’).prev().prev().hide(); // to hide title. taxonomy is the your custom taxonomy’s slug.
$(‘.taxonomy-checklist’).hide(); //to hide box
} });`add this code to a js file (lets say *customadmin.js* and assume its in the *js* folder that is in the *theme folder*) and enqueue the file on admin side:
`if(!function_exists(‘addstyle_to_admin’)):
function addstyle_to_admin() {
if(is_admin()){
wp_enqueue_script(‘myadminpanelscript’,get_template_directory_uri() . ‘/js/customadmin.js’,array(‘jquery’),false,false);
}
}
add_action(‘admin_enqueue_scripts’,’addstyle_to_admin’);
endif;`Forum: Plugins
In reply to: [WP Admin UI Customize] woocommerce awaiting order number disappearedThank you very much. That has solved the problem.
Forum: Plugins
In reply to: [WooCommerce] Turkish Lira Currency Sign Not Shown ( Türk Liras? Simgesi )if you add this snippet to your functions file you will get TL back. (Bu kodu eklerseniz TL olarak tekrar g?rünür olur. E?er simgeyi kullanmak istiyorsan?z arkada??n dedi?i eklentiyi kurun).
add_filter('woocommerce_currency_symbol', 'tlyi_geri_getir', 10, 2); function tlyi_geri_getir( $currency_symbol, $currency ) { switch( $currency ) { case 'TRY': $currency_symbol = 'TL'; break; } return $currency_symbol; }
when I delete content of
assets/js/update-checkout.min.js
or dequeue this file there occurs no error. May this help.But discount doesnt apply ??
Forum: Plugins
In reply to: [WooCommerce] Password confirmation in woocommerce 2.1.x releaseafter adding second password field with this code;
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); // Our hooked in function - $fields is passed via the filter! function custom_override_checkout_fields( $fields ) { $fields['account']['account_password-2'] = array( 'label' => __('Confirm Password', 'woocommerce'), 'placeholder' => _x('Confirm Password', 'placeholder', 'woocommerce'), 'required' => true, 'class' => array('form-row, form-row-wide'), 'clear' => true, 'type' => 'password', ); return $fields; }
then add this code to your functions.php
// Check the password and confirm password fields match before allow checkout to proceed. add_action( 'woocommerce_after_checkout_validation', 'wc_check_confirm_password_matches_checkout', 10, 2 ); function wc_check_confirm_password_matches_checkout( $posted ) { $checkout = WC()->checkout; if ( ! is_user_logged_in() && ( $checkout->must_create_account || ! empty( $posted['createaccount'] ) ) ) { if ( strcmp( $posted['account_password'], $posted['account_password-2'] ) !== 0 ) { wc_add_notice( __( 'Passwords not match.', 'woocommerce' ), 'error' ); } } }
Forum: Plugins
In reply to: [qTranslate] qtranslate is not compatible with wp version 3.8 or 3.8.1wordpress auto updates (minor updates) from 3.8.1 to .3.8.3, so when you install wp 3.8.1 it will auto update itself to 3.8.3. qtranslate looks for 3.8.1 but sees 3.8.3 so it gives error.
make change into qranslate.php at line 90 wheredefine('QT_SUPPORTED_WP_VERSION', '3.8.1');
to
define('QT_SUPPORTED_WP_VERSION', '3.8.3');
with New version of magic field 2.2.2.1 and wordpress 3.9.1, this bug isn’t seen anymore. It’s fixed.
Magic field team has published fixed version of plugin. This is worked for me.
https://github.com/magic-fields-team/Magic-Fields-2
get all files here and replace all files with your
plugins/magic-fields-2
folder.Or just wait for automatic update. ??
Forum: Plugins
In reply to: [Infinite-Scroll] CSS Selectors HELP!Kishore004
as I see there is no next selector in your code, just links of page numbers exist. control your page navigation code to add next (or older post) page link. And your other selectors are;Content Selector is
.post-entry-innerNavigation Selector
#post-navigatorNext Selector
??Item Selector
.postForum: Plugins
In reply to: [Infinite-Scroll] selectors issue, still can not find themContent Selector is
#main-column
Navigation Selector
#paginate-index
Next Selector
#paginate-index .right a
Item Selector
.post
Forum: Plugins
In reply to: [WP Slider Plugin] can we use shortcode with name of slider not the id?And another question (also a suggestion), can you add an option to slider meta something like “show_on_home”.
With this option we can show slider on home page without assigning id in that muneeb_ssp_slider function.
This what I thought:
if ($show_on_home) { muneeb_ssp_slider(); }
Forum: Plugins
In reply to: [Powie's WHOIS Domain Check] This does not give respond.Sorry, it now works ??
I think I have forgotten to make settings on Settings Page.
When I made the settings and tried again It shows the results.
By the way this is what I exactly wanted just shows custom string ??
Also I want to ask what do you mean that invalid domain?
Thank you again.
Forum: Plugins
In reply to: [Manual Control for Jetpack] Disable ALL Jetpack features on first activationwith jetpack 2.7 you can disable modules (functionalities)
look here (the jetpack plugin author’s website)
https://jeremyherve.com/2013/11/19/customize-the-list-of-modules-available-in-jetpack/
Forum: Plugins
In reply to: [Google Font Manager] Multisite plugin?Hi Thomas,
Thank you for this great plugin.My question is also about multisite network. When we get api key for multisite has it to be verified for sub sites? I tried and saw that I have to verify api key for all subsites seperately.
What I want to do is verify api key only on multisite, and sub sites use this plugin without verification. Is this possible?
Forum: Hacks
In reply to: Widget Options Saved, But Not Displaying On Sitesorry I have found a mistake there is an underscore after that shouldnt be there ( odai_author_widget_ )
change to this
add_action( 'widgets_init', 'odai_author_widget_register' ); function odai_author_widget_register() { return register_widget( 'WP_Widget_Odai_Author_Widget' ); } class WP_Widget_Odai_Author_Widget extends WP_Widget { function __construct() { parent::__construct('odai_author_widget', 'Odai Author Widget', array('description' => __( "Displays post author's Gravatar photo and biographical info", 'text_domain' ),) ); }