wp/wp-content/plugins/include-mastodon-feed/config-example.php
changeset 23 417f20492bf7
parent 21 48c4eec2b7e6
equal deleted inserted replaced
22:8c2e4d02f4ef 23:417f20492bf7
    17     define('INCLUDE_MASTODON_FEED_DEBUG', false);
    17     define('INCLUDE_MASTODON_FEED_DEBUG', false);
    18 
    18 
    19     // set a default instance
    19     // set a default instance
    20     // can still be overriden in shortcode
    20     // can still be overriden in shortcode
    21     // plugin will show a warning if no default is set and instance is omitted in shortcode
    21     // plugin will show a warning if no default is set and instance is omitted in shortcode
    22     //define('INCLUDE_MASTODON_FEED_DEFAULT_INSTANCE', 'example.org');
    22     define('INCLUDE_MASTODON_FEED_DEFAULT_INSTANCE', 'example.org');
    23 
    23 
    24     // Maximum number of statuses
    24     // Maximum number of statuses
    25     define('INCLUDE_MASTODON_FEED_LIMIT', 20);
    25     define('INCLUDE_MASTODON_FEED_LIMIT', 20);
    26 
    26 
    27     // exclude boosts from statuses
    27     // exclude boosts from statuses
    40     define('INCLUDE_MASTODON_FEED_ONLY_MEDIA', false);
    40     define('INCLUDE_MASTODON_FEED_ONLY_MEDIA', false);
    41 
    41 
    42     // preserve image aspect ratio
    42     // preserve image aspect ratio
    43     // can be overridden in shortcode
    43     // can be overridden in shortcode
    44     define('INCLUDE_MASTODON_FEED_PRESERVE_IMAGE_ASPECT_RATIO', true);
    44     define('INCLUDE_MASTODON_FEED_PRESERVE_IMAGE_ASPECT_RATIO', true);
       
    45 
       
    46     // load small sized preview images or full size high quality images
       
    47     define( 'INCLUDE_MASTODON_FEED_IMAGE_SIZE', 'preview' );
       
    48 
       
    49     // link image to status or image
       
    50     define( 'INCLUDE_MASTODON_FEED_IMAGE_LINK', 'status' );
    45 
    51 
    46     // only tagged statuses
    52     // only tagged statuses
    47     // tag name without leading #, case insensitive
    53     // tag name without leading #, case insensitive
    48     define('INCLUDE_MASTODON_FEED_TAGGED', 'tagname');
    54     define('INCLUDE_MASTODON_FEED_TAGGED', 'tagname');
    49 
    55