jmonesti
Forum Replies Created
-
I’ve another (devt-) website, on which I’ve de-activated all of the plugins, except s2Member.
I confirm I cannot see the
s2checkbox in the Option tab of the “Dashboard / Posts / All Posts” standard panel !?No clue of this padlock icon either !?
Is there anything specific to configure to have this feature enabled ? Could this possibly be a feature available in the Pro version of s2Member ?
thanks again
ok…
de-activating my plugins caused a deadly blank screen (both front- and back-end)
-> after a db restore, my website is now up-and-running again
but I’ll have to figure out some way to test this…
bye for now!
Hello KTS915 !
Thank you very much for your prompt response.
I already went through the ‘Screen Option’ tab, but my setup does not show the
s2checkbox !I now suspect some sort of compat. problem with another plugin !?
I’ll do more tests, and I’ll keep this thread updated asap.
Thanks again
Forum: Plugins
In reply to: [WP Sentry] wp sentry 0.8d and woocommerce 2.2.1.0Hi zurikus,
I confirm I can see this as well.
Some debug in wp-sentry.php shows 2 typos, line 1457 & 1466.
I would suggest to replace
$column_name = 'wp-sentry'
with
$column_name == 'wp-sentry'Ideally, the plugin maintainer (Steve Weigold?) would retrofit this into his code trunk…
All the best
Forum: Plugins
In reply to: [WooCommerce Product Archive Customiser] i18nSpeaking for myself, I’ve rewritten the function woocommerce_pac_show_product_stock() this way
function woocommerce_pac_show_product_stock() { global $product; $stock = $product->get_total_stock(); if ( ! $product->is_in_stock() ) { echo '<p class="stock out-of-stock"><small>' . __( 'Out of stock', 'woocommerce' ) . '</small></p>'; } else { echo '<p class="stock in-stock"><small>' . $stock . ' ' . __( 'In stock', 'woocommerce' ) . '</small></p>'; } }so that it takes the translation out of the text domain ‘woocommerce’ for the front-end
Bye
Forum: Plugins
In reply to: [WooCommerce Product Archive Customiser] i18nOkay…
I’ve understood why my woocommerce-product-archive-customiser-fr_FR.mo is not taken in account…
First, it shall be copied into wp-content/plugins/woocommerce-product-archive-customiser/languages
Second, in the file archive-customiser.php, the function woocommerce_pac_show_product_stock() gets the translation out of the text domain ‘woothemes‘. Replace this text domain with ‘woocommerce-product-archive-customiser‘, and the wp-content/plugins/woocommerce-product-archive-customiser/languages/woocommerce-product-archive-customiser-fr_FR.mo will be used
Bye
Forum: Themes and Templates
In reply to: [Sorbet] Versionning the stylesheetOkay…
Here is the piece of code I ended up with
/** * JFM was here * enqueue css stylesheet 'the proper way' * cf. http://codex.ww.wp.xz.cn/Child_Themes * */ add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'sorbet', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'sorbet-child', get_stylesheet_uri(), array( 'sorbet' ), filemtime( get_stylesheet_directory() . '/style.css') ); } add_action( 'wp_enqueue_scripts', 'theme_dequeue_styles', 20 ); function theme_dequeue_styles() { wp_dequeue_style( 'sorbet-style' ); }which generates
<link rel='stylesheet' id='sorbet-css' href='http://-----/wp-content/themes/sorbet/style.css?ver=4.0.1' type='text/css' media='all' /> <link rel='stylesheet' id='sorbet-child-css' href='http://-----/wp-content/themes/sorbet-child/style.css?ver=1419767419' type='text/css' media='all' />I know I could have done everything in the function theme_enqueue_styles (giving it priority 20), but this slightly alters ordering of css inclusion…
Bye !
Forum: Themes and Templates
In reply to: [Sorbet] Sorbet update 1.0.8 -> 1.1Just did some diff’ing on both .zip
# diff -qr sorbet.1.1 sorbet.1.0.8 Only in sorbet.1.1: eventbrite Files sorbet.1.1/functions.php and sorbet.1.0.8/functions.php differ Files sorbet.1.1/languages/az.mo and sorbet.1.0.8/languages/az.mo differ Files sorbet.1.1/languages/az.po and sorbet.1.0.8/languages/az.po differ Files sorbet.1.1/languages/fr-ca.mo and sorbet.1.0.8/languages/fr-ca.mo differ Files sorbet.1.1/languages/fr-ca.po and sorbet.1.0.8/languages/fr-ca.po differ Files sorbet.1.1/languages/fr.mo and sorbet.1.0.8/languages/fr.mo differ Files sorbet.1.1/languages/fr.po and sorbet.1.0.8/languages/fr.po differ Files sorbet.1.1/languages/ga.mo and sorbet.1.0.8/languages/ga.mo differ Files sorbet.1.1/languages/ga.po and sorbet.1.0.8/languages/ga.po differ Files sorbet.1.1/languages/he.mo and sorbet.1.0.8/languages/he.mo differ Files sorbet.1.1/languages/he.po and sorbet.1.0.8/languages/he.po differ Only in sorbet.1.1/languages: hu.mo Only in sorbet.1.1/languages: hu.po Files sorbet.1.1/languages/ja.mo and sorbet.1.0.8/languages/ja.mo differ Files sorbet.1.1/languages/ja.po and sorbet.1.0.8/languages/ja.po differ Files sorbet.1.1/languages/pt-br.mo and sorbet.1.0.8/languages/pt-br.mo differ Files sorbet.1.1/languages/pt-br.po and sorbet.1.0.8/languages/pt-br.po differ Files sorbet.1.1/languages/sorbet.pot and sorbet.1.0.8/languages/sorbet.pot differ Files sorbet.1.1/readme.txt and sorbet.1.0.8/readme.txt differ Files sorbet.1.1/style.css and sorbet.1.0.8/style.css differPLUS
There is a changelog in the theme itself (.zip) that shows:
= 1.1 – November 27, 2014 =
* Add support for the Eventbrite API plugin.So this new Sorbet v1.1 brings:
. new & updated translations (.po & .mo)
. support for Eventbrite (function.php & style.css)Upgrade should work a treat !
Bye
Forum: Plugins
In reply to: [Simple Side Tab] Hide Simple Side Tab in mobile versionThanks for your quick response !
I’ve tried your suggestion, the
!importantfixed this.My style.css now shows :
@media screen and (max-width: 480px) { .rum_sst_contents { display:none !important; } }Brave old TwentyEleven quite not responsive, however, time for a change I guess http://www.essor.info
Thanks again,
ByeForum: Plugins
In reply to: [Simple Side Tab] Hide Simple Side Tab in mobile versionHello, srumery !
Let me re-open this one.
I’ve tried to put the media query above in my style.css (a child theme of twenty-eleven).
Unfortunately, this does not work -for me, a least..
I believe this is sort-of a precedence problem : whereas SSTab CSS is inlined, its overides the stylesheet(s) previously loaded.
However, I’ve little knowledge in CSS, please let me know if this makes sense, or if I’m wrong about this.
Great plugin by the way, keep up the good work !