Plugin Directory

Changeset 2090806

Timestamp:
05/19/2019 02:40:53 PM (5 years ago)
Author:
igmoweb
Message:

Tag 1.2.0

Location:
append-or-prepend-content
Files:
10 added
5 edited

Legend:

Unmodified
Added
Removed
  • append-or-prepend-content/trunk/app-prep-content.php

    r2089413 r2090806  
    55 * Description: Add content before or after every post, page or Custom Post Type
    66 * Plugin URI: https://wordpress.org/plugins/app-prep-content
    7  * Version: 1.1.1
     7 * Version:
    88 * Author: igmoweb
    99 * Author URI: http://igmoweb.com
     
    3939    public function __construct() {
    4040        if ( is_admin() ) {
    41             include_once plugin_dir_path( __FILE__ ) . '/admin.php';
     41            include_once plugin_dir_path( __FILE__ ) . '/admin.php';
    4242            new AppOrPrepp_Admin();
    4343        }
    4444
    45         add_filter( 'the_content', array( $this, 'the_content' ) );
     45        add_filter( 'the_content', );
    4646
    47         add_action( 'plugins_loaded', array( $this, 'load_text_domain' ), 50 );
     47        add_action( 'plugins_loaded', , 50 );
    4848    }
    4949
     
    6363     */
    6464    public function the_content( $content ) {
    65         $post = get_post();
     65        $post = get_post();
    6666        $post_type = get_post_type( $post );
     67
     68
     69
     70
     71
     72
    6773        $prepend = get_option( 'prepend_' . $post_type, '' );
    68         $append = get_option( 'append_' . $post_type, '' );
     74        $append = get_option( 'append_' . $post_type, '' );
    6975
    7076        if ( $prepend ) {
     
    7581            $content = $content . wpautop( $append );
    7682        }
     83
    7784        return $content;
    7885    }
  • append-or-prepend-content/trunk/languages/apporprepp-es_ES.po

    r1374049 r2090806  
    44msgstr ""
    55"Project-Id-Version: Append or Prepend Content 1.0\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/app-prep-"
    7 "content\n"
    8 "POT-Creation-Date: 2016-03-17 10:30+0100\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/app-prep-content\n"
     7"POT-Creation-Date: 2019-05-19 14:28:20+00:00\n"
    98"MIME-Version: 1.0\n"
    109"Content-Type: text/plain; charset=UTF-8\n"
    1110"Content-Transfer-Encoding: 8bit\n"
    12 "PO-Revision-Date: 2016-03-17 10:32+0100\n"
    13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    14 "Language-Team: \n"
    15 "X-Generator: Poedit 1.8.2\n"
     11"PO-Revision-Date: 20100\n"
     12"Last-Translator: >\n"
     13"Language-Team: \n"
     14"X-Generator: \n"
    1615"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    17 "Language: es\n"
     16"Language: es"
    1817
    19 #: admin.php:15
     18#: build/class-apporprepp-admin.php:21 class-apporprepp-admin.php:21
     19#: svn/tags/1.0/admin.php:15 svn/tags/1.1/admin.php:15
     20#: svn/tags/1.1.1/admin.php:15 svn/trunk/admin.php:15
    2021msgid "Append or Prepend Content Settings"
    2122msgstr "Opciones de Append o Prepend Content"
    2223
    23 #: admin.php:28
    24 msgctxt "%s is the post type"
    25 msgid "Prepend content to %s"
    26 msgstr "Agregar contenido previo a %s"
    27 
    28 #: admin.php:37
    29 msgctxt "%s is the post type"
    30 msgid "Append content to %s"
    31 msgstr "Agregar contenido a %s"
    32 
    33 #: admin.php:61
     24#: build/class-apporprepp-admin.php:102 class-apporprepp-admin.php:102
     25#: svn/tags/1.0/admin.php:61 svn/tags/1.1/admin.php:61
     26#: svn/tags/1.1.1/admin.php:61 svn/trunk/admin.php:61
    3427msgid ""
    3528"Allows you to append or prepend content to any Post Type on your site. "
    3629"Shortcodes allowed."
    3730msgstr ""
     31
     32
    3833
    3934#. Plugin Name of the plugin/theme
     
    4843msgid "Add content before or after every post, page or Custom Post Type"
    4944msgstr ""
     45
     46
    5047
    5148#. Author of the plugin/theme
     
    5653msgid "http://igmoweb.com"
    5754msgstr ""
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
  • append-or-prepend-content/trunk/languages/apporprepp.pot

    r2089413 r2090806  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Append or Prepend Content 1.1.1\n"
     5"Project-Id-Version: Append or Prepend Content \n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/append-or-prepend-content\n"
    8 "POT-Creation-Date: 2019-05-16 19:27:30+00:00\n"
     8"POT-Creation-Date: 2019-05-1+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    1515"X-Generator: grunt-wp-i18n 1.0.3\n"
    1616
    17 #: admin.php:15 build/admin.php:15 svn/tags/1.0/admin.php:15
    18 #: svn/tags/1.1/admin.php:15 svn/tags/1.1.1/admin.php:15 svn/trunk/admin.php:15
     17#: build/class-apporprepp-admin.php:21 class-apporprepp-admin.php:21
     18#: svn/tags/1.0/admin.php:15 svn/tags/1.1/admin.php:15
     19#: svn/tags/1.1.1/admin.php:15 svn/tags/1.2.0/class-apporprepp-admin.php:21
     20#: svn/trunk/class-apporprepp-admin.php:21
    1921msgid "Append or Prepend Content Settings"
    2022msgstr ""
    2123
    22 #: admin.php:61 build/admin.php:61 svn/tags/1.0/admin.php:61
    23 #: svn/tags/1.1/admin.php:61 svn/tags/1.1.1/admin.php:61 svn/trunk/admin.php:61
     24#: build/class-apporprepp-admin.php:102 class-apporprepp-admin.php:102
     25#: svn/tags/1.0/admin.php:61 svn/tags/1.1/admin.php:61
     26#: svn/tags/1.1.1/admin.php:61 svn/tags/1.2.0/class-apporprepp-admin.php:102
     27#: svn/trunk/class-apporprepp-admin.php:102
    2428msgid ""
    2529"Allows you to append or prepend content to any Post Type on your site. "
     
    4751msgstr ""
    4852
    49 #: admin.php:28 build/admin.php:28 svn/tags/1.0/admin.php:28
    50 #: svn/tags/1.1/admin.php:28 svn/tags/1.1.1/admin.php:28 svn/trunk/admin.php:28
     53#: build/class-apporprepp-admin.php:36 class-apporprepp-admin.php:36
     54#: svn/tags/1.0/admin.php:28 svn/tags/1.1/admin.php:28
     55#: svn/tags/1.1.1/admin.php:28 svn/tags/1.2.0/class-apporprepp-admin.php:36
     56#: svn/trunk/class-apporprepp-admin.php:36
     57#. translators: %s is the post type.
    5158msgctxt "%s is the post type"
    5259msgid "Prepend content to %s"
    5360msgstr ""
    5461
    55 #: admin.php:37 build/admin.php:37 svn/tags/1.0/admin.php:37
    56 #: svn/tags/1.1/admin.php:37 svn/tags/1.1.1/admin.php:37 svn/trunk/admin.php:37
     62#: build/class-apporprepp-admin.php:48 class-apporprepp-admin.php:48
     63#: svn/tags/1.0/admin.php:37 svn/tags/1.1/admin.php:37
     64#: svn/tags/1.1.1/admin.php:37 svn/tags/1.2.0/class-apporprepp-admin.php:48
     65#: svn/trunk/class-apporprepp-admin.php:48
     66#. translators: %s is the post type.
    5767msgctxt "%s is the post type"
    5868msgid "Append content to %s"
    5969msgstr ""
     70
     71
     72
     73
     74
     75
     76
     77
  • append-or-prepend-content/trunk/readme.txt

    r2089413 r2090806  
    22Contributors: igmoweb
    33Tags: content,posts,custom post type
    4 Requires at least: 4.0
    5 Tested up to: 5.2
    6 Stable tag: 1.1.1
     4Requires at least:
     5Tested up to:
     6Stable tag:
    77License: GPLv2 or later
    88
     
    2222
    2323== Changelog ==
     24
     25
     26
    2427= 1.1.1 =
    2528Updated compatibility with WordPress 5.2
Note: See TracChangeset for help on using the changeset viewer.