Skip to content

Instantly share code, notes, and snippets.

View wpmudev-sls's full-sized avatar

WPMUDEV SLS Snippets - Unofficial wpmudev-sls

View GitHub Profile
@wpmudev-sls
wpmudev-sls / smartcrawl-ultimate-membership-sitemap.php
Last active April 16, 2024 23:26
[SmartCrawl Pro] Add Ultimate Member user profiles to sitemap
<?php
/**
* Plugin Name: [SmartCrawl Pro] Add Ultimate Member user profiles to sitemap
* Description: Adds a new "members-sitemap" item to the sitemap index, which contains URLs from the Ultimate Member user profiles
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-6029
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / wpmudev-forminator-editor-access.php
Last active April 15, 2024 16:51
[Forminator] Grants Full Acesses For Editor Role. This plugin allows users with the editor role to have full access (view and save) to the Forminator administrative pages.
<?php
/**
* Plugin Name: [Forminator] Grants Full Access For Editor Role.
* Plugin URI: https://premium.wpmudev.org/
* Description: This plugin allows users with the editor role to have full access (view and save) to the Forminator administrative pages.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* Task: 0/11289012348292/1169742392170370
* License: GPLv2 or later
*
@wpmudev-sls
wpmudev-sls / hummingbird-delay-js-exclude-inline.php
Last active April 12, 2024 04:35
[Hummingbird Pro] Exclude inline scripts from Delay JavaScript
<?php
/**
* Plugin Name: [Hummingbird Pro] Exclude inline scripts from Delay JavaScript (Rev.1)
* Description: Skips inline JavaScript <script> tags to prevent common incompatibility issues
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-5296
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / hustle-shortcodes-ultimate-tabs-fix.php
Last active April 11, 2024 21:54
[Hustle Pro] Fix conflict with Shortcodes Ultimate tabs
<?php
/**
* Plugin Name: [Hustle Pro] Fix conflict with Shortcodes Ultimate tabs
* Description: Emulates the tabs' functionality when used within a Hustle Pop-up
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-6013
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / smartcrawl-editor-full-access.php
Last active April 10, 2024 21:20
[SmartCrawl Pro] - Allow full access for editors
<?php
/**
* Plugin Name: [SmartCrawl Pro] Allow full access for editors (Rev.1)
* Description: Enables/disables the SmartCrawl settings for the editor role (User Role Editor compatible)
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-4502
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / defender-admin-bar-dashboard-ml-url-fix.php
Last active April 6, 2024 01:12
[Defender Pro] Admin Bar dashboard link fix for Mask Login (Multisite only)
<?php
/**
* Plugin Name: [Defender Pro] Admin Bar dashboard link fix for Mask Login (Multisite only)
* Description: Rewrites the Dashboard URL from the Admin Bar to prevent an undesired behavior under certain circumstances
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-5856
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-pdf-download-permission-fix.php
Last active April 5, 2024 09:25
[Forminator Pro] - Allow pdf download for users with submission access permission
<?php
/**
* Plugin Name: [Forminator Pro] Allow pdf download for users with submission access permission
* Description: Allow pdf download for users with submission access permission.
* Author: Prashant @ WPMUDEV
* Task: SLS-5992
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / smartcrawl-robotstxt-wp-query-fix.php
Last active April 5, 2024 09:08
[SmartCrawl Pro] - Fix error caused by nulled $wp_query WordPress global
<?php
/**
* Plugin Name: [SmartCrawl Pro] - Fix error caused by nulled $wp_query WordPress global
* Description: This MU Plugin handles that specific scenario when the $wp_query global is null
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-3632
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-load-cpt-select-field.php
Last active April 4, 2024 23:13
[Forminator] Load custom posts on Select Field and get IDs on the on-change event.
<?php
/**
* Plugin Name: [Forminator] Load custom posts on Select Field and get IDs on the on-change event.
* Plugin URI: https://wpmudev.com/
* Description: With the ID retrieved on the "on change" event, you can write your custom code to get the post data and fill the correspondent fields on the form, more details about how to do it on the comment of this snippet.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://wpmudev.com/
* Task: SLS-3568
* License: GPLv2 or later
*
@wpmudev-sls
wpmudev-sls / smartcrawl-custom-breadcrumb-home.php
Last active April 3, 2024 00:59
[SmartCrawl Pro] Custom breadcrumb Home item
<?php
/**
* Plugin Name: [SmartCrawl Pro] Custom breadcrumb Home item
* Description: Changes the Home link and title from the breadcrumbs, based on the current CPT
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-5976
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/