MeteorGPLby WebbingApps

Custom Post Templates

Plugin
Seguir 0 Dar estrella 0
Instalar

Provides a drop-down to select different templates for posts from the post edit screen. The templates replace single.php for the specified post.

  • 0 estrellas
  • 0 seguidores
  • 0 descargas
  • Licencia no declarada

Versiones 1

Las más recientes primero · cada versión se analiza antes de publicarse
  1. 1.5 Más reciente

    6 archivos 14,7 KB Verificado

Léame

Licencia

Custom Post Templates

Provides a drop-down to select different templates for posts from the post edit screen. The templates replace single.php for the specified post.

Provides a drop-down to select different templates for posts from the post edit screen. The templates are defined similarly to page templates, and will replace single.php for the specified post. This plugin will NOT switch the templates for the different posts in a listing page, e.g. a date or category archive, it will only affect the template used for single posts (i.e. you can choose a template which is not single.php).

Post templates, as far as this plugin is concerned, are configured similarly to page templates in that they have a particular style of PHP comment at the top of them. Each post template must contain the following, or similar, at the top:

First note: Page templates use "Template Name:", whereas post templates use "Template Name Posts:".

Second note: You must have the custom post template files in your theme in the same directory/folder as your index.php template file, not in a sub-directory/sub-folder.

Installation

The plugin is simple to install:

  1. Download the plugin, it will arrive as a zip file
  2. Unzip it
  3. Upload custom-post-template directory to your WordPress Plugin directory
  4. Go to the plugin management page and enable the plugin
  5. Upload your post template files (see the Description for details on configuring these), and choose them through the new menu
  6. Give yourself a pat on the back

Faq

I get an error like this: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/wp-content/plugins/custom-post-template/custom-post-templates.php

This is because your server is running PHP4. Please see "Other Notes > PHP4" for more information.

Upgrade Notice

1.5

This upgrade REQUIRES WordPress version 3.4 and WILL NOT WORK WITHOUT IT.

Instalar

composer require meteorgpl-plugin/custom-post-template

Las comprobaciones de licencia del proveedor están intactas: activa el plugin en WordPress con una clave de licencia comprada al proveedor.

Licencia

El plugin no declara ninguna licencia. El código se redistribuye bajo la licencia que el proveedor declaró en las cabeceras del propio plugin. Perfil de licencia: undeclared.

Las ilustraciones, fuentes, archivos multimedia y documentos que puedan tener una licencia independiente no se redistribuyen; la página de licencias explica qué se sustituye o elimina, y la pestaña de seguridad lo detalla por versión. El soporte y el derecho a actualizaciones vienen con la licencia que compras al proveedor.

Enviar comentarios

Qué funciona, qué no, qué falta: unas palabras ayudan.

Solo si quieres una respuesta.

Se toma en tu navegador, sin esta ventana. Las contraseñas, lo que escribiste en formularios, las claves y los tokens se omiten como bloques grises; puedes ocultar más antes de enviarla. Conservamos las capturas 90 días.

Lo guardamos con la dirección de la página, tu idioma, el tamaño de la ventana, el navegador y la dirección IP, y tu dirección de correo electrónico si nos la das. La dirección IP y el navegador se eliminan a los 90 días. Política de privacidad.

Todos los idiomas