Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.nah, I just wanted to prove that the code in my article worked 🙂
Peter
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.Then you need to change your query:
query_posts(array('showposts' => 8, 'post_parent' => 949, 'post_type' => 'page'));this query searches for 8 sub pages of post 949.
try this:
query_posts(array('showposts' => 8, 'post_type' => 'post'));Peter
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.The td tag should be lower case, but that’s not the issue.
Just to be sure: you’re searching for the Custom Field ‘MoviePoster’ in the first 8 pages (not posts), which are subpages of page ID 949 that you encounter?
Peter
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.Hmmm, I gotta feeling you don’t understand the concept of php: it’s the webserver translating that into something that can be read by the browser.
The result is never source code, but xhtml.
I do some queries through the posts, I presume you have some code above mine, right?
In that case you need to reset the query just before you start ‘mine’ with
wp_reset_query();.Peter
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.A collegue of mine told me that you cannot simply copy&paste my code.
The fault is in the quotes, and the php tags.
I’ll put both on a site for download:
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.Forum: Themes and Templates
In reply to: Internet Explorer problemsPeter
Forum: Themes and Templates
In reply to: add sidebar to starkers theme?Forum: Themes and Templates
In reply to: Showing More Posts On My Blog Homepage-Admin Panel-, -Settings-, -Reading-,
‘Blog pages show at most’
[insert your number of posts here]postsPeter
Forum: Themes and Templates
In reply to: My theme’s information looks crappy in dashboardMaybe you could post the comment area of your style.css here?
Peter
Forum: Themes and Templates
In reply to: add sidebar to starkers theme?One of Starkers themes’ distinguishing features is that it has no layout at all (unless we’re talking different Starkers Theme here).
So you would be free (or not hindered by anything at all) to add as much columns as you like.
Peter
Forum: Themes and Templates
In reply to: Homepage not loading properly on Firefox browserLoads just fine in my FireFox.
Peter
Correction: I use NoScript, and if I allow the scripts on your site to run, the site won’t load (it keeps downloading something).
You have many, many, many validations errors though.
Forum: Themes and Templates
In reply to: Removing sidebar from a single pageThat all depends a little bit on how your site (=theme) has been organized:
if ‘Forum’ is the only page in your site, then all it takes is to edit page.php, and style your css accordingly.
If you have more pages, then you will have to create either a forums.php to get that same result, or create a page template to remove that sidebar.
Peter
Forum: Themes and Templates
In reply to: Separate “Read more” from “php the_content”nah, this is probably what you want.
Peter
Forum: Themes and Templates
In reply to: Small Business SEO theme and screensizeLooks indeed a bit weird.
What you probably need is something called a ‘sticky footer’.
Here‘s explained how you would create one (it probably means heavily coding).
Peter