Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Scale to Fit

Descripción

wordpress-scale-to-fit plugin allows developers to force some elements to fit inside other. This can be useful when developers need to make
some non-responsive components (e.g. iframes) to scale with the rest of the page.

Key Features:

  • Allows developers to force elements to fit inside others

Configuration

Add css class «scale-to-fit» to element you wish to initialize scale-to-fit.

You can use following data -attributes to control scaling:

  • data-element-method: Method to find scaled element. Allowed values:
    • self – element it self (default)
    • parent – reference element
    • closest – closest ancestor of reference element matching data-element -attribute selector
    • find – closest descendant of reference element matching data-element -attribute selector
  • data-element: CSS Selector for closest and find methods
  • data-container-method: Method to find container element. Allowed values:
    • self – reference element
    • parent – parent of reference element (default)
    • closest – closest ancestor of reference element matching data-element -attribute selector
      _ find – closest descendant of reference element matching data-element -attribute selector
  • data-container: CSS Selector for closest and find methods

Instalación

  • Upload folder into /wp-content/plugins -directory
    • Activate the plugin in ‘Plugins’ menu

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Scale to Fit» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Scale to Fit» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

0.1

  • Initial version