NextGEN – Fix 414 Request URI too long for https://example.com/nextgen-dcss
define(‘NGG_INLINE_DYNAMIC_CSS’, true);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
define(‘NGG_INLINE_DYNAMIC_CSS’, true);Continue reading
function custom_tile_image_dimmensions() { return array( ‘width’ => 1200, ‘height’ => 800 ); } add_filter( ‘ngg_pro_tile_image_dimensions’, ‘custom_tile_image_dimmensions’, 10, 3 );Continue reading
add_filter( ‘sgo_javascript_combine_exclude’, ‘js_combine_exclude’ ); function js_combine_exclude( $exclude_list ) { $exclude_list[] = ‘ngg_galleria’; $exclude_list[] = ‘ngg_galleria_init’; return $exclude_list; }Continue reading
function imagely_theme_mods() { set_theme_mod(‘reactr_blog_single_elements_positioning’, ”); } add_action( ‘init’, ‘imagely_theme_mods’ );Continue reading
define(‘NGG_DISABLE_IMAGICK’, true);Continue reading
function my_custom_gallery_order( $order ) { return ‘DESC’; } add_filter( ‘ngg_manage_galleries_items_order’, ‘my_custom_gallery_order’ );Continue reading
add_filter( ‘big_image_size_threshold’, ‘__return_false’ );Continue reading
class EnviraGalleryCustom { private function render_feed_output() { // Return empty if gallery data is not set. if ( ! isset( $this->data[‘gallery’] ) ) { return ”; } $gallery_items = $this->data[‘gallery’]; $gallery_html = ”; foreach ( $gallery_items as $id => $item…Continue reading
add_action( ‘admin_head’, function() { ?>Continue reading
// Hook to add admin submenu item under Posts add_action(‘admin_menu’, ‘custom_admin_submenu’); function custom_admin_submenu() { add_submenu_page( ‘edit.php’, // Parent slug (Posts menu) ‘Export Posts’, // Page title ‘Export Posts’, // Menu title ‘edit_posts’, // Capability ‘exported-posts’, // Menu slug ‘display_exported_posts’ //…Continue reading