lustek
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] doesn't work on one of my servers1) after changing file permissions settings can be saved and no warning are shown
2) beta.familyservice.pl user:betafs pass: betabeta17this is my htaccess:
# BEGIN WpFastestCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / AddDefaultCharset UTF-8 RewriteCond %{HTTP_HOST} ^www.beta.familyservice.pl [NC] RewriteRule ^(.*)$ http\:\/\/beta\.familyservice\.pl\/$1 [R=301,L] RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_|wp_woocommerce_session).*$ RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP_USER_AGENT} !^.*(iphone|midp|sony|symbos|nokia|samsung|mobile|epoc|ericsson|panasonic|philips|sanyo|sharp|sie-|portalmmm|blazer|avantgo|danger|palm|series60|palmsource|pocketpc|android|blackberry|playbook|ipad|ipod|iemobile|palmos|webos|googlebot-mobile|bb10|xoom|p160u|nexus|touch|SCH-I800|opera\smini).*$ [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] RewriteCond /home/joannak/domains/familyservice.pl/public_html/beta/wp-content/cache/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L] </IfModule> <FilesMatch "\.(html|htm)$"> FileETag None <ifModule mod_headers.c> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" </ifModule> </FilesMatch> # END WpFastestCache # BEGIN GzipWpFastestCache <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf </IfModule> # END GzipWpFastestCache # BEGIN LBCWpFastestCache <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|x-html|css|xml|js|woff|ttf|svg|eot)(\.gz)?$"> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault A0 ExpiresByType image/gif A2592000 ExpiresByType image/png A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType image/ico A2592000 ExpiresByType text/css A2592000 ExpiresByType text/javascript A2592000 ExpiresByType application/javascript A2592000 </IfModule> <IfModule mod_headers.c> Header set Expires "max-age=2592000, public" Header unset ETag Header set Connection keep-alive </IfModule> FileETag None </FilesMatch> # END LBCWpFastestCache php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 600 php_value max_input_time 600 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> AuthGroupFile /dev/null AuthType Basic AuthUserFile /home/joannak/domains/familyservice.pl/.htpasswd/public_html/beta/.htpasswd AuthName "BETA FS" require valid-user AuthType Basic
Forum: Plugins
In reply to: [WooCommerce] hiding admin bar functiontry:
SELECT * FROM <code>wp_options</code> WHERE <code>option_name</code> LIKE 'woocommerce_lock_down_admin'
maybe one of your security plugins changed the prefix in the names your database table from wp_ to other random one – then you need to look for the table with the random beginning ??
in fact I changed both, so that they correspond.
date format to Y.m.d and datepicker format to yy.mm.dd
had the similar problem – but wanted to make the change cookie life from 1 to 365 days. you can alter line 112 in file public/announcer-js.js
I changed it from:
expDate.setDate(expDate.getDate()+1);
to
expDate.setDate(expDate.getDate()+365);
btw, it would be nice if the author of this plugin added cookie life as an option of each announcement.
After adding your filter in functions.php of my theme everything is fine. Thank you for your excellent support!
I suspect it will be index.php file:
<?php get_header(); ?> <div class="column-one"> <header> <h2 class="post-title"> <?php if (is_category()) { ?> <?php _e("Posts Categorized", "site5framework"); ?> / <span><?php single_cat_title(); ?></span> <?php } elseif (is_tag()) { ?> <?php _e("Posts Tagged", "site5framework"); ?> / <span><?php single_cat_title(); ?></span> <?php } elseif (is_author()) { ?> <?php _e("Posts By", "site5framework"); ?> / <span><?php the_author_meta('display_name', $post->post_author) ?> </span> <?php } elseif (is_day()) { ?> <?php _e("Daily Archives", "site5framework"); ?> / <span><?php the_time('l, F j, Y'); ?></span> <?php } elseif (is_month()) { ?> <?php _e("Monthly Archives", "site5framework"); ?> / <span><?php the_time('F Y'); ?></span> <?php } elseif (is_year()) { ?> <?php _e("Yearly Archives", "site5framework"); ?> / <span><?php the_time('Y'); ?></span> <?php } elseif (is_Search()) { ?> <?php _e("Search Results", "site5framework"); ?> / <span><?php echo esc_attr(get_search_query()); ?></span> <?php } ?> </h2> </header> <div id="" class="clearfix"> <?php // WP 3.0 PAGED BUG FIX if ( get_query_var('paged') ) $paged = get_query_var('paged'); elseif ( get_query_var('page') ) $paged = get_query_var('page'); else $paged = 1; $args = array( 'post_type' => 'post', 'paged' => $paged ); global $wp_query; $args = array_merge( $wp_query->query_vars, $args ); query_posts($args); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class( array('clearfix', 'box full-width' ) ); ?> role="article"> <header> <h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> </header> <div class="entry-content"> <?php the_excerpt(); ?> </div> <?php get_template_part( '/lib/post-formats/content-meta' ); ?> </article> <?php endwhile; ?> </div><!-- //posts --> <!-- begin #pagination --> <?php if (function_exists("emm_paginate")) { emm_paginate(); } else { ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('Older') ?></div> <div class="alignright"><?php previous_posts_link('Newer') ?></div> </div> <?php } ?> <!-- end #pagination --> <?php else: ?> <article id="post-<?php the_ID(); ?>" <?php post_class( array('clearfix', 'box full-width' ) ); ?> role="article"> <header> <h2 class="post-title"><?php _e("No results found")?></h2> </header> </article> </div> <?php endif;?> <?php wp_reset_query(); ?> </div><!-- end #column-one --> <div class="column-two"> <?php get_sidebar('primary'); ?> </div><!-- end #column-two --> <?php get_footer(); ?>
Unfortunately your fix doesn’t help in clippy theme.
I confirm this conflict. But it affects only some themes. I have the same problem with one of the themes I’m using:
https://www.s5themes.com/theme/clippy/After I turn off relevanssi, I can see list of posts in my categories again. When relevanssi is activated they disappear and it says “No results found”.
Forum: Plugins
In reply to: [Polaroid Gallery] Polaroid Gallery updateok, I updated the plugin to 2.1. The address is of post with galleries:
https://www.sinspire.pl/kawiarnia-jak-z-serialu-friends-tylko-w-toruniu/I will leave the site for several hours without galleries, so that you could investigate it.
Forum: Plugins
In reply to: [Polaroid Gallery] Polaroid Gallery updateMy issue is with single post page, not the list of posts page. In my theme I deliberately remove all galleries from excerpts, so acording to the description I should use the “no” option (I don’t want any galleries in excerpt).
But just to test it, I checked the option to “Yes” as you asked. It still doesn’t work.
Have you tested your update on a plain wordpress installation without any plugins and with default theme?
Forum: Plugins
In reply to: [Polaroid Gallery] Polaroid Gallery updateok I can confirm for 100% there is a bug in version 2.1 of this plugin. I turned off all other plugins and used default Twenty Fourteen theme (version 1.1). The behavior is the same – shordcode works, but gallery div is not visible because js doesn’t work. instead of gallery there is empty space between paragraphs.
I use 3.9.1 wordpress.
Forum: Plugins
In reply to: [Polaroid Gallery] Polaroid Gallery updateofficial update. probably there is a conflict with one of other plugins I use, but didn’t have time to investigate it
Forum: Plugins
In reply to: [Polaroid Gallery] Polaroid Gallery updateafter update the plugin doesn’t work on my site, so I had to downgrade back to 2.0.7 for the time being.
the shordcode works ok and div “polaroid-gallery” can be found in the html source. But it’s set to visibility: hidden. So apparently the js which is responsible to show this div doesn’t work.
Forum: Plugins
In reply to: [Polaroid Gallery] Center Galleryto make it really centered some changes in polaroid_gallery.css are necessary:
in line 12 add:
text-align: center;
in line 16 add:
display: inline-block !important;
instead of:
display: block !important;
in line 17 remove
float: left !important;
Forum: Plugins
In reply to: [Polaroid Gallery] Polaroid only on one page?I installed this plugin today and wanted to do the same. in polaroid_gallery.php in line 224 add this code:
if (!$attr['type'] == 'polaroid') { // returning nothing will make gallery_shortcode take over return ''; }
this way polaroid gallery will be used only if you add in the shortcode this attribute: type=”polaroid”