Stagger Lee
Forum Replies Created
-
Never mind, i highjacked topic anyway.
Just wanted to say Jetpack is complicated and confuse for a reason i cannot see.What Infinite Scroll has to do with www.ads-software.com. I cannot activate it.
Forum: Themes and Templates
In reply to: Hide empty widgetSmall update, it it can help someone. Put this code in functions.php and use Discreet Text Widget instead of standard Text Widget.
class HackadelicDiscreetTextWidget extends WP_Widget_Text { function HackadelicDiscreetTextWidget() { $widget_ops = array('classname' => 'discreet_text_widget', 'description' => __('Arbitrary text or HTML, only shown if not empty')); $control_ops = array('width' => 400, 'height' => 350); $this->WP_Widget('discrete_text', __('Discreet Text'), $widget_ops, $control_ops); } function widget( $args, $instance ) { extract($args, EXTR_SKIP); $text = apply_filters( 'widget_text', $instance['text'] ); if (empty($text)) return; $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title']); echo $before_widget; if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?> <div class="textwidget"><?php echo $instance['filter'] ? wpautop($text) : $text; ?></div> <?php echo $after_widget; } } add_action('widgets_init', create_function('', 'return register_widget("HackadelicDiscreetTextWidget");'));
OK. Maybe understandable for comments, iframe, bots, antispam and such.
What for other plugins. Put at least price on them, difficult to understand when something is done without reason. Or on Jetpack blog explain in detail why you do so.
Your debug line in wp-config.php never completely worked for me. Only when i remove almost all lines in jetpack data class PHP, or what is it called.
What is this for stupid thing ?
People need to tweak and style comments to adapt it to the rest of website.Sorry, but from people behind WP core and Jetpack someone wouldnt expect “Microsoft” stupidity.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Plugin making 700 SQL Calls?Yes, it is it exactly. 306 – 164 = my 142 users.
So Bbpress forum with thousands users = oh my God. ??
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Plugin making 700 SQL Calls?I dont know man. You and the other person with problem probably use some extended version of plugin, or older one.
I dont have so much lines in these both files.
But you are right. I found both parts in files and commented them out. queries went from 306 to 164. It is indeed big problem if you have many users.
As i can see “This content is for registered users only. Please login.” shortcode is still working with this function disabled. This is god one.
PS: I dont use any cache plugin right now.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Plugin making 700 SQL Calls?I had double more shortcodes per one post than you and just 306 queries.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Plugin making 700 SQL Calls?This person has/had more than 3000 queries:
https://www.ads-software.com/support/topic/performance-problem-3?replies=3I saw your posts and decided to test. But couldnt find any huge problems. Just tested with your shortcodes and this post had 306 mysql queries. With plugin disabled it had 164 queries.
P3 Profiles had before 254/ after 106 queries.
Use this plugin to test, it is much better:
https://www.ads-software.com/plugins/query-monitor/With it you can see directly for post page results.
What content did you put inside your shortcodes ?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] tablepress-combined.min.cssPlease copy this text and paste it in documentation at your homepage.
It is very important. Thank you.PS: As they are outside “plugins” folder first i thought plugin update went wrong.
Is it difficult to make formula for calculating “rows numbers” ?
Would it be printed ? If not there is not use for something like this.OK, manually. So it is the only way.
It should not be difficult for beginnes, except it they move rows to much.Thanks for help.
How did you get this left blue column ?
It is still on localhost. Tried 2 WP Print plugins.
Interessting Chrome print preview (clean post, without print options) shows counter numbers.It should not be so demanding maybe. Print plugins show even Advanced custom fields without any tweaks.
Right now i have this plugin tweaked 100% for print.
https://www.ads-software.com/plugins/wp-print/Counter column shows, but no numbers populated.
How to show this column in Print ?
Can show everything, style it as i wish, but this counter columns is empty for print.
Solution is here, to remove completely. Play with second tweak to try to keep it in Q & A. It wont work as it is.
https://www.ads-software.com/support/topic/plugin-conflict-with-custom-excerpt-continue-reading-link