dentvii
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Defer JavaScript ParsingI would also love to test the w3tc with defering. Townes, could you provide a link so we won’t bother on your email?
Mine gives 502 bad gateway =(
Forum: Plugins
In reply to: [Simple Facebook Connect] Disable SchemaThanks Otto.
For those using Yoast SEO Plugin and rather use your custom made excerpt, please add the following lines to your functions.php in your current theme.
remove_action(‘wp_head’,’sfc_base_meta’); // Removes Simple Facebook Connect Meta
remove_action(‘wp_head’,’sgc_base_meta’);// Removes Simple Google Connect MetaThis way you can still use Otto plugins with WordPress SEO from Yoast.
Forum: Plugins
In reply to: [Simple Facebook Connect] Disable SchemaOtto,
You mean I should remove the following lines?
// add meta tags for *everything* add_action('wp_head','sfc_base_meta'); function sfc_base_meta() { $post=''; $fbmeta = array(); $options = get_option('sfc_options'); // exclude bbPress post types if ( function_exists('bbp_is_custom_post_type') && bbp_is_custom_post_type() ) return; $excerpt = ''; if (is_singular()) { global $wp_the_query; if ( $id = $wp_the_query->get_queried_object_id() ) { $post = get_post( $id ); } // get the content from the main post on the page $content = sfc_base_make_excerpt($post); $title = get_the_title($post->ID); $title = strip_tags($title); $title = html_entity_decode($title, ENT_QUOTES, 'UTF-8'); $title = htmlspecialchars_decode($title); $permalink = get_permalink(); $fbmeta['og:type'] = 'article'; $fbmeta['og:title'] = esc_attr($title); $fbmeta['og:url'] = esc_url($permalink); $fbmeta['og:description'] = esc_attr($content); } else { // non singular pages need images and descriptions too if (!empty($options['default_image'])) { $fbmeta['og:image'][] = $options['default_image']; } if (!empty($options['default_description'])) { $fbmeta['og:description'] = esc_attr($options['default_description']); } } if (is_home()) { $fbmeta['og:type'] = 'blog'; $fbmeta['og:title'] = get_bloginfo("name"); $fbmeta['og:url'] = esc_url(get_bloginfo("url")); } // stuff on all pages $fbmeta['og:site_name'] = get_bloginfo("name"); if (!empty($options["appid"])) $fbmeta['fb:app_id'] = esc_attr($options["appid"]); $fbmeta['og:locale'] = sfc_get_locale(); $fbmeta = apply_filters('sfc_base_meta',$fbmeta, $post); foreach ($fbmeta as $prop=>$content) { if (is_array($content)) { foreach ($content as $item) { echo "<meta property='{$prop}' content='{$item}' />\n"; if ($prop == 'og:image') echo "<link rel='image_src' href='{$item}' />\n"; } } else { echo "<meta property='{$prop}' content='{$content}' />\n"; if ($prop == 'og:image') echo "<link rel='image_src' href='{$content}' />\n"; } } }
and
add_settings_section('sfc_meta', __('Facebook Metadata', 'sfc'), 'sfc_meta_text', 'sfc'); add_settings_field('sfc_default_image', __('Default Image', 'sfc'), 'sfc_default_image', 'sfc', 'sfc_meta'); add_settings_field('sfc_default_description', __('Default Description', 'sfc'), 'sfc_default_description', 'sfc', 'sfc_meta');
Is that so?
Thanks
Forum: Plugins
In reply to: Can't connect to wordpress.com to activate JetpackThanks Lutetia, that was indeed the solution to my error as well.
Mitcho, I have had no issues during this week. I have run the website on W3TC with Object cache and a CDN only. There were no “no related posts” incidents that I have noticed. Also, I would occasionaly see my site go down due to many I/O and processing error, which didn’t happen this week (up to 140 online users, average 14k user daily).
Thanks a lot for your effort.
Ok, Ill post my results in a week. It is running without page cache at vejaisso.com.
Mitcho, thanks for your hard work. It have tested it for a week without page cache, just Object cache and it has worked fine (as did the last version you indicated).
I haven’t once seem the “no related posts”, so I was a huge improvement.Again, so many thanks
At your disposal@mitcho I don’t really know if it is fixed now due to your change or due to some changes I had made on W3TC. I was previously using W3TC with page cache on Memcached, but it wasn’t really caching for some bug, so YARPP was just showing bellow the post, not on the sidebar (lower in code, 2nd call). Now it is serving disk cache for pages and everything else is memcached.
So I guess it is fixed, but can’t really tell cause I changed other variables.
Page cache is disk
Others – Memcached.Thanks for the effort mitcho. I have tried and it seems the issue is still there. I can reproduce it by flushing the cache with experiments, clearing all caches with w3tc and then trying to display the page as non-admin.
It helps, but doesn’t solve entirely, if I flush YARPPs cache, build it, then clear the w3tc cache. This way, most posts have related articles, but some don’t (random, no pattern recognized).What apparently has been fixed it the call for both related, where one would show related posts and another wouldn’t. Here is a page in which you can check it out (right sidebar and before breadcrumbs Como usar Google+.
Thanks for sharing and trying anyway.
I would also like that tags be taken into consideration for finding relevant posts Ajay. It is an easy “meta keywords” like field that can group similar itens if used properly, while gathering the content would be better (like Google does), it is hard and more prone to give unrelated results on a few occasions, IMHO. Other than that, great plugin and support Ajay.
Forum: Plugins
In reply to: [Portable phpMyAdmin] [Plugin: Portable phpMyAdmin] WP_HOST ErrorBy the way, I didn’t change anything in the configuration, just updated, turned it on and worked!
Forum: Plugins
In reply to: [Portable phpMyAdmin] [Plugin: Portable phpMyAdmin] WP_HOST ErrorWorking for me now. Had to disable Redirection Plugin and then re-activate, now it is working for me! Thanks a lot Ciprian, awesome support!
Forum: Plugins
In reply to: [Portable phpMyAdmin] [Plugin: Portable phpMyAdmin] WP_HOST ErrorGetting the same screen as Cate even after adding the host to the config – which we didn’t have to before, being way better back then.
I know about Facebook’s insights, however I need to integrate it with my website Analytics tool, so I can cross relate with other data.