Marc
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] No bar graphs in statsOMG JEREMY YOU ARE MY HERO!!
I had given up on ever seeing those damned stats bars ever again.
Take a bow, dude. And tell your boss you need a raise.
No problem. Undo what you did, and do this:
if(!is_admin()){new SEOFacebookComments;}
instead of
new SEOFacebookComments;
If you’re not a code person though, you should be aware that this is going to break the plugin in the admin section. You’ll have to undo this in order to make changes to the plugin parameters.
Did you forget a closing bracket?
dragonden:
The quick solution to edit the code in seofacebook.php
Line 594:if(!is_admin()){ new SEOFacebookComments; }
The added benny is that it speeds up pageload times in your admin panel.
The disadvantage is that it blows up the plugin in the backend.
I am contacting the developer to deal with this. It’s too good a plugin.
# WordPress SEO - XML Sitemap Rewrite Fix <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^sitemap_index\.xml$ /index.php?sitemap=1 [L] RewriteRule ^([^/]+)?-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L] </IfModule> # END WordPress SEO - XML Sitemap Rewrite Fix
That works. The question mark was in the wrong place.
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] 2.6 not working with WP 3.3Does it have to do with:
// Bail on revisions
if( $data[‘post_type’] == ‘revision’ )
return $data;Should it also check if it’s status = published ?
(I’m jewishpress’ developer)
OK fixed it.
wordpress3-invoice/core/invoice.php line 150ish:
code
function invoice_number_order( $query )
{
if( !is_admin() )
return $query;
if($query->query[‘post_type’] == ‘invoice’)
{
if(function_exists(‘set_query_var’)){
set_query_var( ‘meta_query’, array( array( ‘key’ => ‘invoice_number’, ‘value’ => false ) ) );
set_query_var( ‘orderby’,’invoice_number’ );
set_query_var( ‘order’,’DESC’ );
}else{
$query->set( ‘meta_key’, ‘invoice_number’ );
$query->set( ‘meta_value’, false );
$query->set(‘orderby’, ‘invoice_number’);
$query->set(‘order’, ‘DESC’);
}
return $query;
}
}
/code
Forum: Plugins
In reply to: Plugin Upgrade Failing, Cannot Remove Old PluginMake sure that you didn’t reach your site’s quota for disk space. That was my problem. Cleaned up my server space and the problem went away.