freaking1 / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

External template for [summarize-posts] shortcode. #427

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The support wiki 
(http://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts_e
xamples#Specifying_Shortcode_Format) refers to a "tpl" attribute as follows:

**tpl you can specify a path to a file to be used as the template. default = 
null**

Unfortunately this does not work.  The tpl attributes is interpreted as a 
custom filter and not a template.

The resulting display is a list formatted by the external template.

Disabling other plugins will have no effect as this problem exists in the code 
and the solution is below:

BUG INFO FROM CCTM ADMIN SCREEN:
**
*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.6.1-pl
WordPress Version: 3.4.2
PHP Version: 5.3.2
MySQL Version: 5.0.96-community
Server OS: Linux
------------------------ 
ACTIVE PLUGINS: 
------------------------ 
CURRENT THEME: Fastfood Child v. 
**

The solution to the problem can be found in the support forum here:
http://wordpress.org/support/topic/how-do-i-call-a-template-for-the-shortcode?re
plies=6#post-3369634

Original issue reported on code.google.com by kiwilath...@gmail.com on 12 Nov 2012 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by ever...@fireproofsocks.com on 12 Nov 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Committed revision 626061.

Will be in the next version: 9.6.2

Original comment by ever...@fireproofsocks.com on 16 Nov 2012 at 10:45