Plugin Directory

Changeset 2062747


Ignore:
Timestamp:
04/04/2019 07:03:22 AM (7 years ago)
Author:
thapa.laxman
Message:

fixed minor bugs

Location:
featured-posts-pro/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • featured-posts-pro/trunk/README.txt

    r1575492 r2062747  
    44Tags: featured, featured posts, featured post widget, plugin
    55Requires at least: 3.0.1
    6 Tested up to: 4.7.1
    7 Stable tag: 1.3.9
     6Tested up to: 5.1.1
     7Stable tag: 1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    106106= 1.3.8 =
    107107bug fixes
     108
     109= 1.4 =
     110fixed bug that prevented the plugin to be used on child theme. Thx to Shane Bill on identifying this issue.
  • featured-posts-pro/trunk/admin/partials/featured_posts_pro-admin-display-custom-post.php

    r1509899 r2062747  
    3535            <td><?php echo $postType; ?></td>
    3636            <td class='column-is_featured'>
    37             <?php 
     37            <?php
    3838            $isIncluded = (in_array($postType, $allowedPostTypes));
    3939            ?>
    40             <input value='<?php echo $postType; ?>' data-id='<?php echo $post_id; ?>' type="checkbox" name="is_post_featured[]" <?php checked($isIncluded, true) ?>>
     40            <input value='<?php echo $postType; ?>' type="checkbox" name="is_post_featured[]" <?php checked($isIncluded, true) ?>>
    4141            </td>
    4242        </tr>
  • featured-posts-pro/trunk/featured_posts_pro.php

    r1575492 r2062747  
    11<?php
    2 
    32/**
    43 * The plugin bootstrap file
     
    1716 * Plugin URI:        http://lakshman.com.np
    1817 * Description:       This plugin gives Administrator/Editor an easy option to mark posts, pages & custom posts as featured posts and provides a widget to list the recent featured posts.
    19  * Version:           1.3.9
     18 * Version:           1.4
    2019 * Author:            Laxman Thapa
    2120 * Author URI:        http://lakshman.com.np
  • featured-posts-pro/trunk/includes/class-featured_posts_pro-widget.php

    r1509899 r2062747  
    103103        <?php
    104104        //check theme template
    105         $viewPath = get_template_directory().'/featured_posts_pro_tpls/tpl_featured_posts_pro_'.$widget_size.'.php';
     105        //$viewPath = get_template_directory().'/featured_posts_pro_tpls/tpl_featured_posts_pro_'.$widget_size.'.php';
     106        $viewPath = get_stylesheet_directory().'/featured_posts_pro_tpls/tpl_featured_posts_pro_'.$widget_size.'.php';
    106107        if(file_exists($viewPath) && is_readable($viewPath)){
    107108            //
Note: See TracChangeset for help on using the changeset viewer.