@wikicms
Forum Replies Created
-
Oops :)) I do not unsubscribe from this thread:)) Letters to the email arrived … Change it to “resolved”.
Thank ulfben, plugin works fine.Thank redcocker! Your plugin the most comfortable and reliable than the others. IMHO
You went back to work? ?? Cool! I am very happy!
=====
Oh .. In the description you said: “Dynamic tree-widgets to replace the standard widgets,” but in the Appearance-> Widgets are duplicated. Maybe add in the options such an item – “Turn off the standard widgets”function disable_dublicate_widgets() { unregister_widget('WP_Widget_Archives'); unregister_widget('WP_Widget_Links'); unregister_widget('WP_Widget_Pages'); unregister_widget('WP_Widget_Categories'); } add_action( 'widgets_init' , 'disable_dublicate_widgets' );
Well? :))
Hi ulfben, again ??
I adapted your plugin. Now he has no errors to version 3.2.1, even wp_debug = true.
wp-dtree.php
38load_plugin_textdomain('wpdt', WP_PLUGIN_DIR.'/wp-dtree-30/lang/');
changed to
load_plugin_textdomain('wpdt',false, WP_PLUGIN_DIR.'/wp-dtree-30/lang/');
40$wpdt_tree_id = array('arc' => 0, 'cat' => 0, 'pge' => 0, 'lnk' => 0);
changed to
$wpdt_tree_ids = array('arc' => 0, 'cat' => 0, 'pge' => 0, 'lnk' => 0);
90add_options_page('WP-dTree Settings', 'WP-dTree', 8, WPDT_BASENAME, 'wpdt_option_page');
changed to
add_options_page('WP-dTree Settings', 'WP-dTree', 'manage_options', WPDT_BASENAME, 'wpdt_option_page');
..and
attribute_escape
changed toesc_attr
on most files.Also, I’m trying to decide how to exclude categories. I just started learning PHP, so little versed yet, but here’s an interesting example found
$arr = array( "A", "B", "C" ); unset( $arr[1] ); // now $arr = array( "A", "C" );
is it possible to use in your plugin?
Maybe it’s because of the fact that the TinyMCE editor filters the data and converts the “wrong” symbols. You do not know how to disable this filtering?
Thanks.I’m yet not exactly in a hurry … But I’ll follow your advice.
Thanks.Hi, redcocker
I find another missing element.. on line 311
wp_enqueue_style('core-default'.$version, $wp_sh_plugin_url.$lib_dir.'styles/shCoreDefault.css', false, $version);
I think You missing slash /
wp_enqueue_style('core-default'.$version, $wp_sh_plugin_url.$lib_dir.'/styles/shCoreDefault.css', false, $version);
===
Is that all? ??Forum: Fixing WordPress
In reply to: How to On/Off globally RSS (feed)Wow! Russian Forum find answere –
.htaccessRewriteRule feed - [G,L] ErrorDocument 410 /410.html
and add 410.html in root directory with your content))
Thanks YuriiForum: Fixing WordPress
In reply to: How to On/Off globally RSS (feed)This not working too(((
Forum: Fixing WordPress
In reply to: How to On/Off globally RSS (feed)Oh, Sorry. I find answere there