Plugin Directory

Changeset 3222995


Ignore:
Timestamp:
01/15/2025 02:58:05 PM (15 months ago)
Author:
ambercouch
Message:

Fixed relative file path issue

Location:
ac-custom-loop-shortcode/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ac-custom-loop-shortcode/trunk/ac-wp-custom-loop-sc.php

    r3222983 r3222995  
    44  Plugin URI: https://ambercouch.co.uk
    55  Description: Shortcode  ( [ac_custom_loop] ) that allows you to easily list post, pages or custom posts with the WordPress content editor or in any widget that supports short code. A typical use would be to show your latest post on your homepage.
    6   Version: 1.7 
     6  Version: 1.7.1
    77  Author: AmberCouch
    88  Author URI: http://ambercouch.co.uk
     
    443443
    444444        // Check if the template exists
    445         if (!file_exists($template)) {
     445        if (!file_exists($template) && is_array($template)) {
    446446            $output .= $template['message'];
    447447            $template = $template['template'];
  • ac-custom-loop-shortcode/trunk/readme.txt

    r3222983 r3222995  
    55Requires at least: 5.2
    66Tested up to: 6.7.1
    7 Stable tag: 1.7
     7Stable tag: 1.7.1
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    9090== Changelog ==
    9191
     92= 1.7.1 =
     93* Fixed better support for custom templates
     94
    9295= 1.7 =
    9396* Added better support for custom templates
Note: See TracChangeset for help on using the changeset viewer.