MeteorGPLby WebbingApps

Custom Post Templates

Plugin
Beobachten 0 Mit Stern markieren 0
Installieren

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 Sterne
  • 0 Beobachter
  • 0 Downloads
  • Lizenz nicht deklariert

Versionen 1

Neueste zuerst · jede Version vor der Veröffentlichung gescannt
  1. 1.5 Neueste

    6 Dateien 14,7 KB Verifiziert

Readme

Lizenz

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.

Installieren

composer require meteorgpl-plugin/custom-post-template

Die Lizenzprüfungen des Anbieters sind unverändert: Aktivieren Sie das Plugin in WordPress mit einem beim Anbieter gekauften Lizenzschlüssel.

Lizenz

Das Plugin deklariert keine Lizenz. Der Code wird unter der Lizenz weiterverbreitet, die der Anbieter in den eigenen Headern des Plugins deklariert hat. Lizenzprofil: undeclared.

Grafiken, Schriften, Medien und Dokumente, die möglicherweise separat lizenziert sind, werden nicht weiterverbreitet; die Lizenzseite erklärt, was ersetzt oder entfernt wird, und der Sicherheits-Tab listet es pro Version auf. Der Anspruch auf Support und Updates ergibt sich aus der Lizenz, die Sie beim Anbieter kaufen.

Feedback senden

Was funktioniert, was nicht, was fehlt: Ein paar Worte helfen.

Nur wenn Sie eine Antwort möchten.

Wird in Ihrem Browser aufgenommen, ohne dieses Fenster. Passwörter, Ihre Eingaben in Formularen, Schlüssel und Tokens werden als graue Blöcke ausgelassen; vor dem Senden können Sie weitere Bereiche verbergen. Screenshots bewahren wir 90 Tage auf.

Wir speichern es mit der Seitenadresse, Ihrer Sprache, der Fenstergröße, dem Browser und der IP-Adresse, und Ihrer E-Mail-Adresse, wenn Sie eine angeben. IP-Adresse und Browser werden nach 90 Tagen gelöscht. Datenschutzerklärung.

Alle Sprachen