Bryan Willis
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Slow down my siteHey Frank. Have you done any recent tests to see if your issue has been completely solved? The issue you were having wasn’t due to the cache plugin or your theme, but instead the marketing/retargeting/ad campaign tool you were/are using. You have either a plugin or script that’s running perfectaudience.com / marinsoftware.com.
I’ve had a few clients that were complaining about this same issue and I realized this is what was causing the redirects on their sites
Wondering how this affected speed I’ve done several tests over the past month and realized that using PerfectAudience adds around 1/2 seconds on average per page load and anywhere from 1-5 seconds on mobile devices.
For some people this is a deal breaker. But some companies need the data that comes from those plugins/scripts so here’s what I would do if that’s you…
– Log into perfect audience and make sure you’re only including the features you need.
– If you’re using any other “data tracking” scripts/plugins, see if you can minimize which ones you need to use and try loading them all from google tag manager instead of separately. Google tag manager supports, google analytics, perfect audience pixel, marin, and addroll, just to name a few. Otherwise take a look at something like Segment which could also help if you’re using several 3rd party tools that are slowing down your site.No matter what tool you use, they are all going to slow down your site to some extent, so in the end you just have to decide if the value of the 3rd party scripts outweigh the speed hit they’ll cause your site.
Forum: Plugins
In reply to: [WP Popular Posts] Breaks with HTML minificationAwesome thanks Hector. I’ll let the plugin author know, but I should be able to figure out how to add that feature myself… I noticed that plugin didn’t remove css comments either which is something I’ll try to get added.
Anyway, thanks for the good support. Keep up the great work.
Do you know when it does this? I’ve never noticed this issue before.
Forum: Reviews
In reply to: [Facebook Events Importer] Great Idea Useless interfaceIs this still the case guys? Has the author contacted you / resolved the issues?
I also noticed that I cant change the file permissions either. Must be something with WP-Engine.
Anyway, I’ll report back here when my ticket is replied to from wpengine. In the meantime anyone else that has this issue, here’s a simple alternative approach I’m using.
# Block Plugin and Theme Editing in Admin. This goes in wp-config.php define('DISALLOW_FILE_EDIT',true); define( 'DISALLOW_FILE_MODS', true );# Force folder permissions to correct ones. This goes in wp-config.php define( 'FS_CHMOD_DIR', 0755 ); define( 'FS_CHMOD_FILE', 0644 );# And a you can also block plugin and theme editor using a filter. This can go in functions or mu-plugin add_filter( 'map_meta_cap', function( $caps, $cap ) { if( $cap == 'edit_plugins' || $cap == 'edit_themes' ) $caps[] = 'do_not_allow'; return $caps; }, 10, 3 );Forum: Plugins
In reply to: [WP Popular Posts] Breaks with HTML minificationCool thanks for the quick reply. I looks like it uses the output buffer and regex. Not sure if somehow the regex is stripping it out or if maybe it has something to do with ajax/caching, but I tried changing the WPP plugin settings but no luck.
Anyway, thanks for any feedback, I’ll try to look into more myself and figure out in the meantime.
Resolved on github by Rarst. This is correct and is the only way to do it unless including meta data in body itself:
<ul> <li property="article:tag">advocate</li> <li property="article:tag">charity</li> <li property="article:tag">crowdfunding</li> </ul>Hey it’s WPengine… I’m guessing this is the problem. I’m not getting any errors though in the error log. how is this plugin and all my settings are set up and appear to be working in the All in one dashboard. I know wpengine uses a nginx/apache hybrid, so i’m guessing it has something to do with that.
does the blocking occur in the htacess? or with wp-config, i haven’t checked?
define('DISALLOW_FILE_EDIT',true);no problem. thanks
Forum: Plugins
In reply to: [Asset Queue Manager] Getting an error because jQuery isn't loadingSame issue here with Enlighter
https://github.com/AndiDittrich/WordPress.Enlighter/issues/30
Were you using this plugin Davallen? Or perhaps another one that ships with moottools?
Forum: Plugins
In reply to: [Widget Output Filters] Add option for sidebar paramaterHere’s a small little plugin I made that adds Bootstrap markup to all built in widgets.
Have you had a chance to look at into the sidebar feature yet??
Forum: Plugins
In reply to: [Widget Output Filters] Add option for sidebar paramaterThanks for the feedback on my other support question! That definitely cleared things up for me.
After looking over dynamic_sidebar_params it seems like we should be able to add either name and/or id as an option. I think I’m starting to figure this out, but I’m a little shortsighted with how to incorporate the php…
Name::
$sidebar_name = $sidebar_params[0]['name'];Then we could do this:
if ( 'categories' == $widget_type && 'Primary Sidebar' == $sidebar_name ) { // regex }ID
$sidebar_name = $sidebar_params[0]['id'];
Then we could do this:if ( 'categories' == $widget_type && 'primary-sidebar' == $sidebar_id ) { // regex }I don’t see why this wouldn’t work, any ideas how we could add this to the plugin??
Forum: Plugins
In reply to: [Widget Output Filters] How to usePhilip, I actually have a couple questions as well on the best way of using this if you don’t mind!
First question: What is the best way to do multiple items at once?
For example this is the format I have now:
if ( 'target_widget_type_1' == $widget_type ) { } elseif ( 'target_widget_type_2' == $widget_type ) { }I saw on your blog example though you had it like this:
if ( 'target_widget_type_1' == $widget_type ) { } if ( 'target_widget_type_2' == $widget_type ) { }There’s also this….
switch( $widget_type ) { case 'target_widget_type_1' : break; case 'target_widget_type_2' : break;Second question: Say I was filtering the search widget, but then I was also filtering a specific widget by the id, does the widget with the id take precedence over the widget category or is it strictly whichever one is added later? I notice that you are using 10 as the priority. If I added a couple filters and I wanted to ensure one was executed later would I be ok adding a later priority here?
Thanks for your help!
Forum: Plugins
In reply to: [Custom Content Shortcode] PaginationDoesn’t seem to work… I thought maybe it needed a flush rewrite rules, but after saving default permalinks, still nothing changes.
Also…
[loopage-prev]and[loopage-next]both show previous as the text unless you specify it with the text attribute.Could you be any more of a dick?