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: Feedzy - Delete images from content at import | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| function bweb_feedzy_remove_img_matches( $matches ) { | |
| // Return an empty string to completely remove the image tags | |
| return ''; | |
| } |
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: Feedzy - Delete featured image [attachment] from the server when a post is deleted | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| add_action( 'before_delete_post', 'wps_remove_attachment_with_post', 10 ); | |
| function wps_remove_attachment_with_post($post_id) | |
| { | |
| if(has_post_thumbnail( $post_id )) |
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: Feedzy tweak - Do not import items that do not have images | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| add_filter( 'feedzy_insert_post_args', 'feedzy_insert_post_limit', 10, 4 ); | |
| function feedzy_insert_post_limit( $args, $item, $title, $content ) { | |
| // empty title and content prevents WP from inserting a post. | |
| $allowed = array('gif', 'png', 'jpg', 'jpeg'); |
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: Feedzy posts - link the title to the original article and open them in new window | |
| * Description: Link the title of posts imported by Feedzy to the original article | |
| * Version: 1.0 | |
| * Author: Themeisle | |
| * Author URI: https://themeisle.com | |
| */ | |
| /** |
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: Feedzy - Custom text on the Read More link | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| add_filter( | |
| 'feedzy_item_link', |
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: Feedzy tweak - Remove duplicate feed items via titles | |
| Description: When you have a large set of feed URLs that you would like to display. Use this plugin to remove the duplicates based on their titles. | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| function tifd_feedzy_remove_duplicates( $items, $feedURL ) { | |
| $uniques = array(); | |
| foreach ( $items as $item ) { |
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: Feedzy tweak - Remove duplicate feed items | |
| Description: When you have a large set of feed URLs that you would like to display. Use this plugin to remove the duplicates based on their URLs. | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| function tifd_feedzy_remove_duplicates( $items, $feedURL ) { | |
| $uniques = array(); | |
| foreach ( $items as $item ) { |
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: Feedzy plugin to remove all the links from the imported content | |
| Version: 0.0.1 | |
| Author URI: https://themeisle.com | |
| */ | |
| function bweb_feedzy_remove_link_matches( $matches ) { | |
| return $matches[2]; | |
| } |
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
| <?phpp |
OlderNewer