dimanche 12 juin 2016

How do I insert a field to display above the Content field in WordPress Posts?

I need WordPress Posts to pull a database entity they are not normally supposed to and display the field above the Content output.

Details:

  • Videos are being uploaded to Vimeo via plugin, which is throwing the iframe code into the database in a convenient and ordered way.
  • Posts need to display these videos followed by some simple text content.
  • The Post needs to pull this particular db entry (the iframe) and display it directly above the Content area.

If you could point me to a plugin which manages this, awesome. Otherwise, I'm not sure how to handle this except to change the default method WordPress displays its Posts. While that's not terrible, it's not ideal, as I presume each update would wipe the changes.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire