The MU forums have moved to WordPress.org

Plugin that adds Text to All Blogs' Posts? (8 posts)

  1. Dianellys Morato
    Member
    Posted 13 years ago #

    hi guys.
    I'm looking for a plugin that will add pre-determined text to all blog posts, when the user is creating a new post.
    So, when the user clicks on Add New Post, the textbox that opens (where they will type the post), will be pre-populated with a few lines of text, for instance:

    Gender:
    space
    space
    space

    Location:
    space
    space
    space

    Affiliation:
    space
    space
    space

    Is there anything like that out there?
    tahnks so much in advance!

    Dianellys Morato

  2. SteveAtty
    Member
    Posted 13 years ago #

    There probably isn't but it should be pretty easy to use the hook associated with inserting a new post, or you could put an additional input form in on the post edit screen using

    add_action('edit_form_advanced', array(__CLASS__, 'function_name'), 0);

  3. Dianellys Morato
    Member
    Posted 13 years ago #

    eek, no idea what you just said :P

    I've been designing WP themes for a couple of years, so I'm very comfortable with WP. But I am not a programmer (I'm a designer), so could you explain it a little more in detail?

    tahnks :)

    Dianellys Morato

  4. andrea_r
    Moderator
    Posted 13 years ago #

    I would add those fields to the user profile, and then pull them into the theme.

    So yeah - you're gonna need some coding for this.

  5. Dianellys Morato
    Member
    Posted 13 years ago #

    let me rephrase my question then:
    how do I edit wordpress so that post-new.php for all users show these lines of text?

    thanks in advance for your help :)

  6. seahawknationblog
    Member
    Posted 13 years ago #

    I believe they say this plugin will do the trick if you can configure it possibly?

    http://coding.cglounge.com/wordpress-plugins/post-snippets/

  7. Dianellys Morato
    Member
    Posted 13 years ago #

    Thanks so much, I'll give that a try. Now I just need the time to do it ha!!

    Dianellys Morato

  8. Dianellys Morato
    Member
    Posted 13 years ago #

    actually here's one is that did the trick for me:

    http://jamessocol.com/projects/insert_ad_code.php

    Dianellys Morato

About this Topic

  • Started 13 years ago by Dianellys Morato
  • Latest reply from Dianellys Morato