WordPress.org

Ready to get started?Download WordPress

Forums

Media Plugin Idea (4 posts)

  1. zoe2507
    Member
    Posted 8 years ago #

    I have this idea.. but I can't write plugins to save my life so I thought I'd share it to see if anyone would be able to write it.

    In livejournal etc, you can add a current music field, and current mood. And before you say you can do this through custom fields in WP, read my whole idea! So yea, it is possible, but I have to keep remembering to add the fields and stuff, and I'm just too lazy. So my idea is you could add some script which would let you input the current music/mood and it would do the custom field bit automatically - one of those javascript entry fields could pop up as you click on the write post page, you just input the music you're listening to, and your mood, and away you go!

    Anyone got any ideas on how to write something like that?

  2. denyerec
    Member
    Posted 8 years ago #

    Would simply being able to drop in tags like this:

    <!--music:Harvey Mandel-, Shangrenade-->
    <!--mood:Funky-->

    At the head of the post be sufficient? It wouldn't be particularly efficient, but the plugin could strip those out and provide you with th enecessary "hooks" to include into your template.

  3. davidchait
    Member
    Posted 8 years ago #

    You are better off adding two custom fields, and using them when you want to, and then updating your single.php to display those custom fields when they exist. Gives you a lot more control over how and when to show the information, and it's core WP functionality that already exists.

    -d

  4. Kafkaesqui

    Posted 8 years ago #

    Or you could just look over the already existing plugins out there:

    http://codex.wordpress.org/Plugins/Audio_Mood

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags