Plugin Directory

Changeset 1843140


Ignore:
Timestamp:
03/19/2018 10:30:29 PM (8 years ago)
Author:
raajtram
Message:

Updated readme.txt and settings.php

Location:
wp-pexels-free-stock-photos/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-pexels-free-stock-photos/trunk/readme.txt

    r1843083 r1843140  
    2626= Screenshots and Documentation =
    2727
    28 Visit the [Pexel Plugin's Homepage](https://raajtram.com/plugins/pexels/ "Pexel Plugin's Homepage") to see the screenshots and documentation.
     28- To start searching and using images, simply go to your post/page editor, click on "Add Media", and choose the "Pexels Images" tab
     29- Visit the [Pexel Plugin's Homepage](https://raajtram.com/plugins/pexels/ "Pexel Plugin's Homepage") to see the screenshots and documentation.
    2930
    3031== Installation ==
    3132
    32 Installation is similar to any other plugin that you would install.
    33 
    34 1. Upload the plugin files to the `/wp-content/plugins/pexels-fsp` directory, or install the plugin through the WordPress plugins screen directly.
     331. Upload the plugin files to the `/wp-content/plugins/pexels-fsp` directory, OR install the plugin through the WordPress plugins screen directly.
    35342. Activate the plugin through the 'Plugins' screen in WordPress
    36353. Use the Dashboard->Settings->Pexels Photos screen to configure the plugin
     364. Go to your post/page editor, click on "Add Media", and choose the "Pexels Images" tab
    3737
    3838== Frequently Asked Questions ==
     
    4242Yes :) All photos on Pexels are licensed under the Creative Commons Zero (CC0) license. This means the pictures are completely free to be used for any legal purpose.
    4343
    44 = Does the plugin hotlink (directly link) to the images on pexals.com? =
     44= Does the plugin hotlink (directly link) to the images on pexels.com? =
    4545
    4646No. The plugin indeed downloads the images to your WordPress site, giving you all the benefits of hosting them (cropping, compressing, caching etc.).
     
    4848== Changelog ==
    4949
     50= 1.0.1 =
     51* Fix a typo in the FAQ
     52
    5053= 1.0 =
    5154* Released
  • wp-pexels-free-stock-photos/trunk/settings.php

    r1843083 r1843140  
    33/*
    44    Pexels: Free Stock Photos
    5     https://raajtram.com/plugins/pexels
     5    https://raajtram.com/plugins/pexels/
    66    Author: Raaj Trambadia (https://raajtram.com)
    77*/
     8
     9/* add the menu */
    810
    911add_action('admin_menu', 'pexels_fsp_images_add_settings_menu');
     
    1315}
    1416
     17/* register the options */
    1518
    1619function register_pexels_fsp_images_options(){
     
    2023}
    2124
     25/* attribution field */
    2226
    2327function pexels_fsp_images_render_attribution(){
     
    2630}
    2731
     32/* HTML for the settings page */
    2833
    2934function pexels_fsp_images_settings_page() { ?>
     
    4752<?php }
    4853
     54/* validate settings */
    4955
    5056function pexels_fsp_images_options_validate($input){
    5157    global $pexels_fsp_images_gallery_languages;
    5258    $options = get_option('pexels_fsp_images_options');
    53     if ($pexels_fsp_images_gallery_languages[$input['language']]) $options['language'] = $input['language'];
    5459    if ($input['attribution']) $options['attribution'] = 'true'; else $options['attribution'] = 'false';
    5560    return $options;
Note: See TracChangeset for help on using the changeset viewer.