Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Special Teaser Widget

Apraksts

Do you want to put a certain post in the focus? The Special Teaser Widget goes beyond other featured post widgets. The widget won’t be active, if the site admin hasn’t designed at least one style for the widget.

Define the look of the widget container, title container and the text. Style the links and pictures for as many widget models as you need. The changes to the different styles are shown with a dummy on the admin page of the plugin. Give your style a name and save it.

When using the widget in the widget areas of your theme, you first choose one of the styles, than you choose a post, a backup post (that will be visible when a single post page shows the featured post) and define whether or not, you want to show a post thumbnail.

If you don’t want to fall back to the post excerpt, you can write your own teaser text for the post. Make the widget title clickable and link it to a category or leave it like it is.

The Special Teaser Widget was designed for the needs of Åbo Underrättelser was tested up to WP 4.1.

Uzstādīšana

  1. Upload the special-teaser-widget folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings’ and define some different models

BUJ

  • Can I just upload a css file and use the styles that I defined there?

No, the widget wouldn’t know your style names and to what they apply. You have to go the long way of copy – paste.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Special Teaser Widget” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Special Teaser Widget&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0

  • initial release

1.1

  • German translation added, last typos fixed

1.2

  • Bugfix with copying and deleting styles

1.3

  • More functionality was needed for Åbo Underrättelser and style-id’s are better sanitized now

1.4

  • Better auto excerpt
  • Better title and alt tags for the pictures

1.5

  • Complete overhaul of the code
  • Hooks into the Ads Easy Plugin if Google AdSense Tags are in use

1.5.1

1.6

  • WP 4.3 ready
  • New framework