Technical Wordpress Question

by
PrincessPeach
Profile picture of PrincessPeach
Posts: Threads: Thanks: Account age: less than a second
9 replies
:confused: Does anyone know if you can embed information into a wordpress template, so that when someone uploads it, it includes that information already?

Specifically I want to change the information in WP default webpages such as the About section.
#question #technical #wordpress
  • Profile picture of the author crushthenet
    crushthenet
    Profile picture of crushthenet
    Posts: Threads: Thanks: Account age: less than a second
    So you want the about page to contain content? If that's what you're looking for you'll have to look into the database, that's where that stuff is. You could create a page template with specific content in it and then when you create a page you would use that specific template. Wouldn't be too hard to do it that way. If that's what you're looking for do a G search or look at the WP codex for info on creating page templates. You basically just copy the page.php file and put some special code at the top of it. Then basically hardcode the html of whatever content you want in there.

    Hope that helps.
    Signature
    Video Background Music :: Royalty Free Background Music for Just About Anything! 50 Tracks for just $17...
    My Personal Blog :: The Calaboratory
  • Profile picture of the author crushthenet
    crushthenet
    Profile picture of crushthenet
    Posts: Threads: Thanks: Account age: less than a second
    What exactly are you looking to do? I mean you want some content in an about page, is that all or is there more pages? And will the person using the site/theme be you or someone else?
    Signature
    Video Background Music :: Royalty Free Background Music for Just About Anything! 50 Tracks for just $17...
    My Personal Blog :: The Calaboratory
  • Profile picture of the author SteveJohnson
    SteveJohnson
    Profile picture of SteveJohnson
    Posts: Threads: Thanks: Account age: less than a second
    You can make custom templates that will display whatever you want - straight HTML, a stored page from WP, whatever. If you do it that way, your affiliates will have to activate your theme, create the pages (just blank pages) and choose the correct template from a dropdown box on the WP edit page.

    What is a little more difficult is if you want the theme to create a new WP page(s) when it is activated, then fill the pages with your content. THAT can be a tiny bit tricky, but still doable. Doing it that way would mean that your affiliate activates the theme and the pages are automatically created for them, they don't have to do or know anything.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

  • Profile picture of the author crushthenet
    crushthenet
    Profile picture of crushthenet
    Posts: Threads: Thanks: Account age: less than a second
    I don't know why I didn't think of this earlier, but in WP you can export and import pages, posts, comments, etc. Just set up a dummy site and insert your reviews and pages, then go to Tools->Export. Then people can install WP, whatever theme you have or they have, and go to Tools->Import to import the pages, posts, etc. Don't see why that wouldn't work.
    Signature
    Video Background Music :: Royalty Free Background Music for Just About Anything! 50 Tracks for just $17...
    My Personal Blog :: The Calaboratory
    • Profile picture of the author SteveJohnson
      SteveJohnson
      Profile picture of SteveJohnson
      Posts: Threads: Thanks: Account age: less than a second
      Originally Posted by crushthenet View Post

      I don't know why I didn't think of this earlier, but in WP you can export and import pages, posts, comments, etc. Just set up a dummy site and insert your reviews and pages, then go to Tools->Export. Then people can install WP, whatever theme you have or they have, and go to Tools->Import to import the pages, posts, etc. Don't see why that wouldn't work.
      That might very well be the easiest way...good idea.
      Signature

      The 2nd Amendment, 1789 - The Original Homeland Security.

      Gun control means never having to say, "I missed you."

  • Profile picture of the author LucindaWatrous
    LucindaWatrous
    Profile picture of LucindaWatrous
    Posts: Threads: Thanks: Account age: less than a second
    You could also use a plugin like WP Twin. I've never used it, but from what I understand it clones everything down to the theme and plugins--then just make whatever file it spits out accessible to your affiliates.
    Signature

    Lucinda Watrous--Freelance Writer and Web Designer
    http://lucindauncensored.com
    http://itsfoodtastic.com

Trending Topics