I wanted to create a horizontal based wp theme.
Something like this one (http://www.lena-meyer-landrut.de)
What would be the best starting point to do that?
Every menuitem(category) is a single post? A custom field? a page? Something else?
Thanks for your help.
If the content doesn't change too often, you can use pages.
But with that theme you would have to write multiple wordpress loops, this code can get quite messy.
Create a loop for each "page" that shows up on the page.
Another way...you could hard-code the design + jQuery sliding.
Then for the plain content sections you could create multiple "sidebars" and put a sidebar where each content part is...the user could then edit their own content with a text widget.
http://www.quickonlinetips.com/archives/2007/11/how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets/
Custom posts are okay, but if you are writing more than 1 custom post per page/post, then it can get quite cluttered...
I think the best option for you would be to build your site based off one of the frameworks of an existing horizontal theme...
Here is the best information I found:
http://wordpress.org/support/topic/horizontal-way-for-wordpress?replies=13
Direct link to the old "horizontal way" theme for wordpress:
http://www.thehorizontalway.com/download/THW_template_0.6.zip
Here is another base theme to base your site off of:
http://wordpress.org/extend/themes/wplatformer
Related
I am making my first custom WordPress theme and i ran into my first big wall.
I have different content. I have videos and articles and photos. I need to display these pages differently.
Should i just add a category and display them differently that way? i think this is easy but i am having trouble Googling this problem.
You can create custom template for each page and then set them according to your requirement.
Reference Link
Example Link
this may help :
Creating_Your_Own_Page_Templates
wordpress custome Pages
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 :-)
The rough steps to take:
Create a custom posttype
In the supports option enable thumbnail
Create a few posts with a featured image (and other data you want)
Fetch your posts using WP_Query
Loop your posts.
Do JS magic.
questions? ask.
I'm in the process of trying to create a custom theme for Wordpress and managed to create a working widget area. But for the purpose of this theme, I would like to allow only one "Text-Widget" to be used. How would I go about limiting this?
Be specific about what you want to ask. Wordpress don't limit widgets you can use as much text widget.
Can you provide urls so we could advice a solution to you?
I'll update the code below to be compatible with your theme if you can give a url to your blog.
WordPress don't allow you to limit the number of widgets but you can use javascript to hide the next sidebar items.
$('.sidebar li:gt(0)').hide();
the 2nd list item onwards will be hidden.
and yeah, this is a bit of cheating though.
SEO wise the next widgets are still visible.
I have a project that i would like to complete in Wordpress.
Basically, the story is that I have 8 boxes on my page that would each be enclosed in their own div.
I want to have a form on another page that a user can fill out and they would get to choose a box in which to put images or text into. If a box is taken, they can’t choose that one and must choose another.
What would be the best approach for this? I was thinking something like a CSS gallery type theme but how would I go about letting the user choose which box?
Any ideas and nudges in the right direction is appreciated.
I would do this in Drupal, or straight php. I think wordpress is going to be an impediment here rather than a boon. I would make each box a drupal block or node and use the standard form, to allow users to trigger editing that box. Then use CCK in control content like pictures and text and the way they display. Hope this helps.
The only way I can see this going anywhere is more or less completely bypassing Wordpress. So you use Wordpress only to render the theme, but the form action goes straight to PHP.
This way you're free to parse the form posts and store the uploaded images somewhere.
You could try to shoehorn everything into a Wordpress comment, but I don't think attaching files would work. So your best bet is to just have the form action point to a PHP file and handle everything manually.
It should be easy enough to query a custom table in the database using your theme's functions.php and $wpdb.
im using Views to output a block, containing latest post titles - simple and working. id now like to add some text links that should be different than the "more" link you can add through the Views UI. they are basically just p-tags with a-tags inside, pointing to a url of my choice.
right now i just inserted the markup in Basic Information > Footer > Full HTML.
is this the standard way of achieving what im after?
You can write custom templates for each row in a view if you want. Have a look at views 2 theming
Theming is a good way to do it but then it adds an additional responsibility to move the theme file when you move the view from one site to the other.
The header and footer are provided so that you can add html and php code to it, so it is definitely the right way to do it or else it would not have been provided in the first place by the module developer.
Also if the urls are related to the drupal site then I would suggest you to use php mode and add the link using l function (http://api.drupal.org/api/drupal/includes--common.inc/function/l/6)