WISTFUL
Forum Replies Created
-
Hi Thorsten,
Yes, But all those who have access to my admin panel, are using the same language. (that set by WPLANG in wp-config.php)
I have many custom string in my language and I do not wish they see admin panel in other language.
Is there any way that we prevent from changing default admin language?
For example, Setting default language in admin header for loading default language after every visit of admin panel.
Or duplicate admin ajax file and choose it for the woocommerce checkout page?
What do you think about this?
Forum: Plugins
In reply to: [WooCommerce Custom Currencies] Display plugin's dashboard menu to authorsSims that solution is related to
option_page_capability_{$option_page}
hook.
But I don’t know how to use it.I use first post’s query in my header template for all pages.
After I replace your code with my header query, it affects on all wp pages other than S2 default page and It filters them contents. (e.g. contact-us page)
Also when I visit S2 default page, before I clicked on the link in the confirmation email or submit form, It displays below message instead S2 subscription form by default.
That email address is already subscribed.
Thanks mattyrob,
But your way has 3 problem:
1: It affects on all pages content. (that we can control it by a conditional statement)
2: It callsconfirm()
andtitle_filter()
functions before clicked on the link in the confirmation email.
3: We need to edit the template. (It is better that it be done by plugin)I’ve tried below code instead Subscribe2 filters in class-s2-core.php (in 1782 line) and It works properly but I’m not sure that it is correct.
add_action('loop_start', 'set_custom_content'); function set_custom_content() { global $mysubscribe2; add_filter('the_title', array(&$mysubscribe2, 'title_filter')); add_filter('the_content', array(&$mysubscribe2, 'confirm')); }
I think if we can call confirm() function in my set_custom_content() function, Issue will be solved.
(I have little knowledge about use php classes)I’ve already tried “
wp_reset_query();
” and “wp_reset_postdata();
” after my header query but did not help to solve issue.Very Thanks Carles…
Thanks Carles,
God willing, I hope to be able to go as planned ??Hello,
I have done that, But it still has problem with old removed plugins and files.
Is it possible that you add new option for 404 detection that ignore search engine’s cached requests? (eg https://webcache.googleusercontent.com)[ Please do not bump, that’s not permitted here. ]
Hello,
I emailed for you by “Hide Backend Bug” title.
Regards.Hello creverter,
Thanks…
I’m impatiently waiting for it!Also in wp-admin directory error_log
PHP Fatal error: Call to undefined method WP_Error::get_items() in /home/***/public_html/wp-content/plugins/better-wp-security/lib/bit51/bit51.php on line 353
After searching error log I found that it has failed try to access “wp-content/plugins/custom-field-template/js/” because I changed default content directory in config.php
How can I fix it?
In any case, thanks …