(= Google Spreadsheet, everyone with this link can comment the spreadsheet!)
We are linked from http://comparewp.org now, thanks! :)
- Just comment on the comparison spreadsheet - see link above
- Or contact me via http://genesisthemes.de/en/contact/
<?php | |
//====================================================================== | |
// Add post state to the projects page | |
//====================================================================== | |
add_filter( 'display_post_states', 'ecs_add_post_state', 10, 2 ); | |
function ecs_add_post_state( $post_states, $post ) { |
(= Google Spreadsheet, everyone with this link can comment the spreadsheet!)
We are linked from http://comparewp.org now, thanks! :)
<?php | |
/** Do NOT include the opening php tag */ | |
add_action( 'plugins_loaded', 'ddw_unload_elementor_textdomain' ); | |
/** | |
* Unload Textdomain for "Elementor" and "Elementor Pro" plugins. | |
* (Comment functions out for those not wanted to unload.) | |
* | |
* @author David Decker - DECKERWEB |
<?php | |
/** Do NOT include the opening php tag */ | |
add_action( 'do_meta_boxes', 'ddw_remove_astra_metaboxes_for_non_admins' ); | |
/** | |
* Remove Astra settings meta box for users that are not administrators | |
* Inspired by: https://www.facebook.com/groups/wpastra/permalink/367143130421624/?comment_id=367167440419193&comment_tracking=%7B%22tn%22%3A%22R1%22%7D | |
* | |
* @author David Decker - DECKERWEB |
<?php | |
// since plugin version v1.2: | |
// Hooks: | |
add_action( 'bptb_custom_group_items', 'bptb_custom_additional_group_item' ); | |
/** | |
* BuddyPress Toolbar: Custom Resource Group Items | |
* |
<?php | |
/** | |
* Make Elementor the default editor, not the WordPress Editor (Gutenberg or Classic) | |
* Clicking the page title will take you to the Elementor editor directly | |
* Even non-Elementor-edited pages will become Elementor-edited pages now | |
* You can revert by clicking the "Back to WordPress Editor" button | |
* | |
* Author: Joe Fletcher, https://fletcherdigital.com | |
* URL: https://gist.github.com/heyfletch/7c59d1c0c9c56cbad51ef80290d86df7 |
<?php | |
add_filter( 'bbp_get_forum_archive_title', 'ddw_bbpress_change_forum_archive_title' ); | |
/** | |
* Change Forums Archive Title in bbPress 2.x plugin version. | |
* | |
* Changes the title on Forums Archive page (forums parent page). | |
* NOTE: Also changes the title in the breadcrumbs display to the same value! | |
* | |
* @author David Decker - DECKERWEB |
<?php | |
add_action( 'wp_enqueue_scripts', 'ddw_cf7_cleanup' ); | |
/** | |
* Contact Form 7 plugin: Cleanup global scripts & styles. | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://deckerweb.de/twitter | |
*/ | |
function ddw_cf7_cleanup() { |
<?php | |
/** Do NOT include the opening php tag */ | |
if ( ! function_exists( 'ddw_tweak_elementor_remove_wp_widgets' ) ) : | |
add_filter( 'elementor/widgets/black_list', 'ddw_tweak_elementor_remove_wp_widgets' ); | |
/** | |
* Optionally remove all WordPress widgets from the Elementor Live Editor. | |
* Note: A native Elementor filter is used. |
<?php | |
/** Do NOT include the opening php tag */ | |
if ( ! function_exists( 'ddw_cf_maybe_add_post_state_blocks' ) ) : | |
add_filter( 'display_post_states', 'ddw_cf_maybe_add_post_state_blocks', 10, 2 ); | |
/** | |
* Adds optional new post states if a Post has Blocks, has the "Classic" Block or no Blocks at all. | |
* |