Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Intro Wrapper

Skildring

This plugin takes care of wrapping your intro text (everything before <!–more–> — also called «teaser content») in a div element with the class «intro».

This allows for easy styling of the intro text, e.g. with larger fonts, colors, etc.

Skjermbilete

  • Resulting code
  • Example with twentytwelve and adjusted font size and color

Installasjon

  1. Download and unzip plugin
  2. Upload the «intro-wrapper» folder to the «/wp-content/plugins/» directory,
  3. Activate the plugin through the «Plugins» menu in WordPress.

Vanlege spm.

Installation Instructions
  1. Download and unzip plugin
  2. Upload the «intro-wrapper» folder to the «/wp-content/plugins/» directory,
  3. Activate the plugin through the «Plugins» menu in WordPress.
I installed the plugin, but can’t see any difference

The difference is only in the outputted HTML. You must add styling of the intro class yourself.

Where do I add the styling?

Try style.css.

The styling i added was lost when I upgraded my theme

This has nothing to do with the plugin. You’re doing things the wrong way. Read this: https://codex.wordpress.org/Child_Themes

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Intro Wrapper” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

Version 1.0

  • Public release