Sven
Sven

Reputation: 6338

Wordpress: How to administrate Background-Image and Content Slide

I am about to build a Wordpress theme for a non-blog website. I am familiar with the basic post/page concept and I used to set a static page being the front page.

Now I want the fron-page to change *its background image* and a little part of its content every few seconds (Here is an example of what I am trying to achieve.)

I already know how to develop the javascript and HTML part of that! I would like to know how to make those changeable items (background-image as well as the small content) to be managable in the Wordpress admin area (Since that's the whole point o a cms, right :-)).

How would you do that? Is there a plugin to connect custom contents like that? Or do I have to build my own plugin? I would appreciate your thoughts :-)

Upvotes: 0

Views: 140

Answers (1)

janw
janw

Reputation: 6662

The rough steps to take:

  1. Create a custom posttype
  2. In the supports option enable thumbnail
  3. Create a few posts with a featured image (and other data you want)
  4. Fetch your posts using WP_Query
  5. Loop your posts.
  6. Do JS magic.

questions? ask.

Upvotes: 1

Related Questions