regme
Forum Replies Created
-
Forum: Plugins
In reply to: [RSS for Yandex Turbo] Сбоит фильтр удаление контента из ФидаЗаметил, что и теги div не особо хочет удалять
Forum: Plugins
In reply to: [EWWW Image Optimizer] Bulk by listMaybe there is a WP-CLI method? I parsed problem images from Google insight. That list is huge – near 5k pics, but number on server is over 100k. So I just don’t want waste credits for normal images.
Forum: Plugins
In reply to: [WordPress Popular Posts] No data after UpdateThank you! Problem solved. So ajax widget is now unnecessary even with cache plugins?
Forum: Plugins
In reply to: [Health Check & Troubleshooting] Can’t activate plugins in troubleshoot modeThanks you help me to find where to look.
CDN blocks such requests for my site.
What pages are affected to check loopback by health-checker?
I want to make exclusion rule to prevent blocking:
wp-cron.php
wp-admin/theme-edit.php
…Forum: Plugins
In reply to: [WP-PostRatings] Duplicate Article DeclaringThank you for reply Lester Chan.
I’m not developer, so I don’t know if you mean to override it via functions.php. I just changed lines:- https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L112
to$attributes = 'id="post-ratings-'.$ratings_id.'" class="post-ratings" ';//.$itemtype;
- Сommented whole https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L1160
- https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L1221
to$google_structured_data = apply_filters( 'wp_postratings_google_structured_data', ( empty( $itemtype ) ? $ratings_meta : ( $ratings_meta ) ) );
It’s work, but is there way not to repeat it after plugin updates?
- This reply was modified 6 years, 9 months ago by regme.
Forum: Plugins
In reply to: [WP-PostRatings] where do I paste the code for recipes?in functions.php of your actual theme
- This reply was modified 6 years, 9 months ago by regme.
Forum: Plugins
In reply to: [RSS for Yandex Zen] Как довавить через RSS старые статьи в дзен?Пробовал менять даты и guid. Старые посты в ленте есть, но дзен не пропускает. Есть ли способ скормить их Дзену?
Forum: Plugins
In reply to: [RSS for Yandex Zen] Вывод в ленту рандомных постовВлияет только дата поста или уникальный guid также?
Forum: Plugins
In reply to: [WP-Polls] Random pollThank you Chan. Very easy and correct desicion
Is query method make less stress to server than old fashioned way:
<?php if ( function_exists('wpp_get_mostpopular') && is_single() ) { //если запись тогда: global $post; $myCats = ''; $categories = get_the_category( $post->ID ); if ( !empty($categories) ) { foreach( $categories as $category ) { $myCats .= $category->cat_ID . ', '; } $myCats = rtrim($myCats, ', '); // remove trailing comma } $args = array( "range" => "all", "limit" => 3, "thumbnail_width" => 214, "thumbnail_height" => 160, "stats_views" => 0, "excerpt_length" => 155, "pid" => $post->ID, "cat" => $myCats, "post_type" => "post", "post_html" => '<li><div class="img">{thumb}</div><div class="title">{title}</div><div class="text">{summary}</div></li> ); wpp_get_mostpopular( $args ); } else { wpp_get_mostpopular( ' post_type="post"&limit=10&stats_views=0&range="weekly"' ) ;} ?> <? }?>
Forum: Plugins
In reply to: [Disqus Comment System] preview id in disqus related blockUp
disq.us/url?url=http%3A%2F%2Fsite.com%3Fp%3D37979%26preview%3Dtrue%26preview_id%3D37979Why trere are get_parametr preview_mode in disqus URL? How those related links can be fixed?
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] PHP Warning: ksort()Same problem for new posts after update to WP 4.7.
If I change sort method from related to other – it dissapears.Same problem for new posts after update to WP 4.7.
If I change sort method from related to other – it dissapears.Forum: Plugins
In reply to: [Yoast SEO] Large number of function callsAny ideas?
Forum: Plugins
In reply to: [W3 Total Cache] how do i enable and configure Fragment caching?I use 0.9.4.1 where it is free. This how I have enabled fragment caching by FAQ.
You must put in wp-config.php
define(‘WP_CACHE’, true); // Added by W3 Total Cache
define(‘W3TC_DYNAMIC_SECURITY’, ‘notcache’); //where ‘notcache’ is variable defined by you.Then replace in needed code
1. <?php to <!–MFUNC notcache–>
…your code…
?> to <!–/MFUNC notcache–>or
2.
<!–MFUNC notcache
…your code widthout <?php .. ?>…
–>
?> to <!–/MFUNC notcache–> - https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L112