Hi just started learning wp. I have not seen many backends in Wordpress and therefor not sure how to make things. I know html/css good, that is not the problem.
Please take a look at the image, how should i build something like this ? It needs to be easy for everybody to edit text and image via backend.
I thought about using custom fields for images and text. I would then create a pagetemplate.
Is there a better way ? What is the most userfriendly thing to do ?
Also, take a look at the 2012 default theme. You’ll be able to see some of the code that makes a wordpress theme work.
For the example you provided, the pieces of information you would be pulling using PHP are the post title and featured image (or featured image thumbnail). The rest is HTML/CSS.
I have looked at the link, and a lot of other “theme development” resources. But still cant figure it out how to do this specific design. Is is not a blog page it is a corporate site, the image with the text above should link to “about page”. Is it then still right to use “post title” and “featured image”.
Why not create a new page-template with custom fields. Then the user can edit the all on the page including the above design via custom fields.
Where did you get the screenshot from? I’d suggest looking at the website’s code to get an idea on how to approach the problem.
Also, I’ve gone ahead and move this to the “getting started with web design” forum, as your question involves getting started with HTML and CSS, rather than actual PHP code for Wordpress.
You need to use “the loop” (possibly a secondary loop with a query to select the posts you want) and pull the title, permalink, and featured image. You do not need any custom fields for this.
Okay, you are saying that the three images are post with a featured image , title and permalink. Is this still right when it should link to “about page”. I still cant see how this is the right way Also it does not make sense that the user should edit in post instead of the page name, not very user friendly ?
You are just showing me a plugin that can resize images and align them right or left and so on. I want to make my own styling and apply classes and id’s to my images, titles.
Post your code, and we’ll start there. It’s just easiest to build upon or revise what you’ve already done.
Asking folks to build something from scratch for you can be a little much to ask.
The other reason is that you haven’t offered any details about exactly the problem is, and I’m still not entirely sure if your core issue is actually with HTML/CSS code or implementing wordpress PHP code. Without seeing what you’ve done so far, that’s impossible to determine. It doesn’t make sense for another forum member to put in some effort for you if it ends up not being what you’re actually having trouble with.