Zum Hauptinhalt springen
MeteorGPLby WebbingApps

Dynamic Featured Image

Plugin
Beobachten 0 Mit Stern markieren 0
Installieren

Dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types.

  • 0 Sterne
  • 0 Beobachter
  • 0 Downloads
  • GPL-2.0-or-later

Versionen 1

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

    Feature: Auto-select media on open (#78) Versionshinweise

    27 Dateien 37,4 KB Verifiziert

25 noch nicht verfügbare Versionen anzeigen

Releases, die im Changelog des Anbieters oder auf WordPress.org genannt werden und die das Repository noch nicht enthält.

  1. 3.6.8 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fix slow query issue (#74, Thanks @tobros91)

    Changelog-Eintrag

  2. 3.6.5 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Add Thai translations (#63, Thanks @isudnop)

    Changelog-Eintrag

  3. 3.6.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Remove short array syntax to support php

    Changelog-Eintrag

  4. 3.6.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Various security fixes.

    Changelog-Eintrag

  5. 3.5.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fix image url if image already points to CDN. PR #50

    Changelog-Eintrag

  6. 3.5.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Minor code refactorings.

    Changelog-Eintrag

  7. 3.5.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Unit Tests.

    Changelog-Eintrag

  8. 3.4.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Added Link to Image field.

    Changelog-Eintrag

  9. 3.3.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Increased code quality

    Changelog-Eintrag

  10. 3.3.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fixed Invalid image path returned - Pull Request #35

    Changelog-Eintrag

  11. 3.1.13 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Added post types filter - Pull Request #32

    Changelog-Eintrag

  12. 3.1.9 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Changed the scope of function getimageid()

    Changelog-Eintrag

  13. 3.1.7 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Added Nepali, Swedish, Hebrew, Serbian, Croation and Bosnian languages.

    Changelog-Eintrag

  14. 3.1.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fixed issue #25.

    Changelog-Eintrag

  15. 3.1.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Partial fix for issue #22.

    Changelog-Eintrag

  16. 3.0.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fixed several JSLint issues

    Changelog-Eintrag

  17. 3.0.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fully Object Oriented (Thanks to @cfoellmann).

    Changelog-Eintrag

  18. 2.0.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Minor css fix (issue #18 in GitHub, Thanks to @cfoellmann)

    Changelog-Eintrag

  19. 2.0.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Change in design.

    Changelog-Eintrag

  20. 2.0.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Now with various helper functions.

    Changelog-Eintrag

  21. 1.1.5 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fixed PHP Notice issues in strict debugging mode (Issue #4 in GitHub, Thanks to @Micky Hulse).

    Changelog-Eintrag

  22. 1.1.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Resolved media uploader conflicts.

    Changelog-Eintrag

  23. 1.1.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Fixed a bug on user access for edit operation.

    Changelog-Eintrag

  24. 1.1.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Major security update

    Changelog-Eintrag

  25. 1.0.3 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    First stable version with minimum features released.

    Changelog-Eintrag

Dynamic Featured Image

Dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types.

Dynamically adds multiple featured image or multiple post thumbnail functionality to your page, posts and custom post types. This plugin provides you an interface to add any number of featured image as you want without writing a single line of code. These featured images can then be collected by the various theme functions.

Overview

Dynamic Featured Image enables the option to have MULTIPLE featured images within a post or page. This is especially helpful when you use other plugins, post thumbnails or sliders that use featured images. Why limit yourself to only one featured image if you can do some awesome stuffs with multiple featured image? DFI allows you to add different number of featured images to each post and page that can be collected by the various theme functions.

A NOTE ABOUT SUPPORT: We’re here to help troubleshoot bugs, but please don't set expectations early as the support forums at WordPress.org are only checked once in a while.

How it works?

  1. After successfull plugin activation go to add or edit page of posts or pages and you will notice a box for second featured image.
  2. Click Set featured image, select required image from "Dynamic Featured Image - Media Selector" popup and click Set Featured Image.
  3. Click on Add New to add new featured image or use Remove link to remove the featured image box.
  4. You can then get the images by calling the function $dynamic_featured_image->get_featured_images([$postId (optional)]) in your theme. (Click here for details)
  5. The data will be returned in the following format. array 0 => array 'thumb' => string 'http://your_site/upload_path/yourSelectedImage.jpg' (length=50) 'full' => string 'http://your_site/upload_path/yourSelectedImage_fullSize.jpg' (length=69) 'attachment_id' => string '197' (length=3) 1 => array 'thumb' => string 'http://your_site/upload_path/yourSelectedImage.jpg' (length=50) 'full' => string 'http://your_site/upload_path/yourSelectedImage_fullSize.jpg' (length=69) 'attachment_id' => string '198' (length=3) 2 => ...

Resources

  1. Detail Documentation.
  2. StackOverflow Tag.

MultiSite Info
You can use Network Activate to activate plugin for all sites on a single install. It is only available on the Network admin site not anywhere else. Simple Activate activates for the site you are currently on. These will be permitted to be activated or deactivated on ANY blog.

While deleting the plugin from the Network be sure that the plugin is deactive in all installation of your WordPress network.

Contribute
If you'd like to check out the code and contribute, join us on Github. Pull requests, issues, and plugin recommendations are more than welcome!

Installation

  1. Unzip and upload the dynamic-featured-images directory to the plugin directory (/wp-content/plugins/) or install it from Plugins->Add New->Upload.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. If you don't see new featured image box, click Screen Options in the upper right corner of your wordpress admin and make sure that the Featured Image 2 box is selected.

Faq

1. The media uploader screen freezes and stays blank after clicking insert into post?

The problem is usually due to the conflicts with other plugin or theme functions. You can use general debugging technique to find out the problem.

i. Switch to the default wordpress theme to rule out any theme-specific problems.
ii. Try the plugin in a fresh new WordPress installation.
iii. If it works, deactivate all plugins from your current wordpress installation to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
iv. Resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

2. There is no additional image on the page when I save it or publish it?

This happens when there is any problem in saving you post or page properly. For example, if you try to save or publish the post without the post title the featured images may not be saved properly.

3. Can I set the image from remote url?

If you need to add images from the remote url you need to switch back to ver. 2.0.2 . There is no such feature in ver. 3.0.0 and above.

Note: If you are using remote url to use the feature image, the helper functions may not work properly. Alt, caption and title attribute for these images cannot be retrieved using helper functions. NULL is returned instead.

4. I cannot add or change secondary featured images after update?

This usually happens because of cache. Clear all your cache and try again if you are having this problem. If you still have such problem you can get help through support forum.

5. Is it possible to make DFI work only for certain post types?

Yes! It is easily possible from version 3.1.13. A filter is added in the recent version for this purpose.

Please feel free to report any bug found at https://github.com/ankitpokhrel/Dynamic-Featured-Image/.

Screenshots

  1. New featured image box.
  2. Selecting image from media box.
  3. Add new featured image box.

Upgrade Notice

3.7.0

  • Autoselect feature and attachment id bug fix.

3.6.8

  • Some feature and bug fixes.

3.6.5

  • Some enhancements, feature and bug fixes.

3.6.1

  • Remove short array syntax to support php <= 5.4.

3.6.0

  • Various security fixes.

3.5.2

  • Some refactorings and bug fixes.

3.5.1

  • Minor code refactorings.

3.5.0

  • Unit tests and bug fixes.

3.4.0

Now with ability to add custom fields in media uploader for features targeted for future.

3.3.1

This version has no functionality change.

3.3.0

This version has multisite url bug fix and has added various useful filters.

3.1.13

This version has some major bug fix over ver. 3.1.9

3.1.9

This version has some bug fix over ver. 3.1.7

3.1.7

This version has translation in 6 different languages, bug fix on edited image and code quality improvement.

3.1.2

This version has bug fixes on edited image. View issue #25 in Github for more info.

3.1.0

This version has some bug fix and code quality improvement. You may need to change database value manually because the plugin finds the upload folder automatically from now on.

3.0.1

This version has fixed various JSLint issues.

3.0.0

This version has major changes which are not compatible with the previous version of the plugin. The plugin is now fully object oriented.

2.0.2

This version has some minor css fix. Issue #18 in GitHub.

2.0.1

This version has just some graphics change to make it more attractive. Please clear the cache after update.

2.0.0

This version has some major updates and is much more powerful than before. Read the documentation carefully before update.

Installieren

composer require meteorgpl-plugin/dynamic-featured-image

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

Lizenz

Deklarierte Lizenz: GPL-2.0-or-later. Der Code wird unter der Lizenz weiterverbreitet, die der Anbieter in den eigenen Headern des Plugins deklariert hat. Lizenzprofil: gpl-full.

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