Chris
Forum Replies Created
-
Forum: Plugins
In reply to: [YOURLS Link Creator] Yourls on attachment pagesAndrew, could you please elaborate on ‘filterable’? I’d like to add ‘attachment’ to the types. I tried hardcoding it into the method ‘get_yourls_types()’ in helpers.php to no avail. Thanks.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Minify not workingI have a similar issue using nginx as reverse proxy in front of apache – here’s the ticket I created: https://www.ads-software.com/support/topic/combining-js-files-with-minify-not-working
What I’m trying to achieve is to combine all JS files into one.
Somewhere on the interwebs I found a post stating W3TC minify doesn’t work with nginx reverse proxy. Anybody can confirm this?
I assume you use Javascript code to pull in data from google, fb and twitter AND I assume you have W3 minify auto enabled.
Make sure you exclude the scripts that are responsible for pulling this from W3 minify.
Forum: Plugins
In reply to: [W3 Total Cache] You do not have sufficient permissions to access this pageYes I have – it can have several reasons.
Clear your browser cache.
Can you try emptying all caches (admin bar)?
Do you use PHP-FPM? Try to restart it and reload the General Settings page.
Do you have APC installed? Try to restart it and reload the GS page.Forum: Plugins
In reply to: [Shadowbox JS] Remove JWPlayer logo with commercial licenseKurt,
may I ask you what you did exactly? I have the same problem –
*) purchased the pro license of JW
*) moved all downloaded JW files to /uploads/shadowbox-js/src
NOTHING. Shadowbox is still using its own code.Oh and btw – where do I need to put my license?
Thanks, chris
Forum: Hacks
In reply to: remove quick edit from custom post typetry call
echo '<pre>'; var_dump(get_post_types());
in your functions.php to see if the custom post types were registered properly.
Check out this page https://codex.www.ads-software.com/Function_Reference/register_post_type. It’s a good start of creating ’em manually.
Good luck!Forum: Hacks
In reply to: remove quick edit from custom post typecool – I totally forgot about this til I received your email. Here’s what I came up with …
Sometimes I need to strip things out before $post is accessible, that’s why I use $current_screen in my example:
/*------------------------------------------------------------------------------------ remove quick edit for custom post type videos just to check if less mem consumption ------------------------------------------------------------------------------------*/ add_filter( 'post_row_actions', 'remove_row_actions', 10, 2 ); function remove_row_actions( $actions, $post ) { global $current_screen; if( $current_screen->post_type != 'videos' ) return $actions; unset( $actions['edit'] ); unset( $actions['view'] ); unset( $actions['trash'] ); unset( $actions['inline hide-if-no-js'] ); //$actions['inline hide-if-no-js'] .= __( 'Quick Edit' ); return $actions; }
I’m not so sure about this one line I commented out. It works perfectly w/o it.
Would appreciate your input on this –
Thanks!