Title: Content Molecules
Author: MarcusPope
Published: <strong>11 de novembre de 2011</strong>
Last modified: 14 d'abril de 2012

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/content-molecules.svg)

# Content Molecules

 Per [MarcusPope](https://profiles.wordpress.org/marcuspope/)

[Baixa](https://downloads.wordpress.org/plugin/content-molecules.zip)

 * [Detalls](https://ca.wordpress.org/plugins/content-molecules/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/content-molecules/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/content-molecules/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/content-molecules/#developers)

 [Suport](https://wordpress.org/support/plugin/content-molecules/)

## Descripció

In the web marketing/publishing industry a content molecule is basically a piece
of reusable content that can be placed throughout a website. Typically isolated 
in nature, they often appear in sidebars and margins. Applying this concept to the
WordPress framework, you can create content that can be embedded anywhere shortcodes
are processed. Taking the concept a little further, any number of custom attributes
can be added to the usage of the shortcode, and those values can be embedded in 
the resulting output.

[m id=»slug» audience=»Student» product=»backpack»]

Will translate the following molecule:

Greetings {audience}!
 Check out our new {product} today!

into this:

Greetings Student!
 Check out our new backpack today!

Obviously a ridiculous example, but the flexibility remains the same regardless 
of the silly intent. Stop repeating content throughout your site only to have to
re-edit those pieces in every location when you need to make a correction or update.

Molecules are a custom post type. After the plugin is activated a new section will
appear in the left admin menu titled «Molecules.» There you can create and manage
reusable pieces of content. As a bonus I have added the post slug to the list view
for easy reference. If you embed a molecule in a post or page and the slug does 
not exist yet, it will create a draft for you to fill in later.

That’s about it for now, any input for future features is welcome.

### Arbitrary section

## Instal·lació

 1. Upload the plugin contents to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress Admin
 3. You’re done!

## PMF

Nobody has asked me anything so, as soon as they do I’ll add some points here!

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Content Molecules» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

 *   [ MarcusPope ](https://profiles.wordpress.org/marcuspope/)

[Traduïu «Content Molecules» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/content-molecules)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/content-molecules/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/content-molecules/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/content-molecules/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/content-molecules/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.3

 * Improved save performance: was calling reset transients twice on save.

#### 1.2

 * Fixed two bugs: invalid var reference
    forgot to update the version tag for my
   last update 🙁

#### 1.1

 * Fixed two bugs: potential overwrite of other custom properties added to view 
   all list.
    loaded molecule specific filters are all custom post types.

#### 1.0

 * Initial creation of plugin

## Meta

 *  Versió **1.3**
 *  Darrera actualització **fa 14 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 3.2.1 o posterior **
 *  Provada fins a **3.2.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/content-molecules/)
 * Etiquetes
 * [content](https://ca.wordpress.org/plugins/tags/content/)[custom content](https://ca.wordpress.org/plugins/tags/custom-content/)
   [dynamic content](https://ca.wordpress.org/plugins/tags/dynamic-content/)[page](https://ca.wordpress.org/plugins/tags/page/)
   [posts](https://ca.wordpress.org/plugins/tags/posts/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/content-molecules/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/content-molecules/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/content-molecules/reviews/)

## Col·laboradors

 *   [ MarcusPope ](https://profiles.wordpress.org/marcuspope/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/content-molecules/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://www.marcuspope.com/)