Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Can’t get image loaded using custom fieldsTry this:
<img src="<?php // this is where the Lead Story image gets printed echo get_post_meta($post->ID, 'leadimage', true); ?>" alt="leadimage" id="leadpic" />Please embed your code in the code tags, that increases the readability about 600 million times 😉
Peter
Forum: Themes and Templates
In reply to: Can’t get image loaded using custom fieldsI use get_post_meta() for grabbing values from custom fields, and that’s exactly the reason why it doesn’t work. get_post_custom_values() delivers an array, which cannot be used in the way you use it.
Look here for instance.
Peter
Forum: Themes and Templates
In reply to: I just bought html template…what to doI had a look on the themeforest, and they also deliver WordPress themes. Could it be that you don’t have to convert anything, but just upload the theme?
Peter
Forum: Themes and Templates
In reply to: Domain issueI have to ask the obvious: you did change the domain name in the Settings section of WordPress, right (‘WordPress address’ and ‘blog address’)?
Peter
Forum: Themes and Templates
In reply to: Changed theme and traffic went from 600 a day to 0.From the stats FAQ:
What if the stats don't start showing up? Do I need anything special in my theme? Yes, your theme must have a call to <?php wp_footer(); ?> at the very bottom right before the </body> tag.Peter
Forum: Themes and Templates
In reply to: Changed theme and traffic went from 600 a day to 0.How do you measure your traffic? Maybe it’s not the change of theme, but the change of measuring that explains this kind of behaviour?
I cannot think of any reason why people would avoid your site when you change your theme…
Peter
Forum: Themes and Templates
In reply to: Domain issueBrowse the wp_posts table, and you know what I mean…
Peter
Forum: Themes and Templates
In reply to: Header space IssueWithout a URL it’s quite hard to tell, but I suspect the table (or its elements) to have some bottom-margin.
Install firebug in firefox and start to debug the page.
Peter
Forum: Themes and Templates
In reply to: Domain issueLet me get this right: you created a WordPress site using domain name x, and then switched to using domain name y, to access the same site?
That might turn out to be a problem, since for each and every post, the domain name is registered in the database (the domain name with which the site was approached when the page/post was created).
I’ve not seen another solution then to browse through the database manually (with phpmyadmin for instance, the wp_posts table) and to change all those references.
Tedious, but AFAICT the only solution.
Peter
Forum: Themes and Templates
In reply to: Body of my blog is aligning to the left in Mozilla FirefoxAlthough I’m feeling reluctant to answer this question, because of the huge chunk of unnecessary code displayed above, could you be more specific to what exactly is aligned left, besides the h3 titles?
All the text is aligned by inline css, which isn’t very practical, could it be that you forgot this somehow in the sentence you mentioned?
Peter
Forum: Themes and Templates
In reply to: link not showCould you be more specific, because all the links I can see in the page above work for me.
Peter
Forum: Themes and Templates
In reply to: PERMALINKS :@Since many things can go wrong if one wants to use permalinks,
I’ve written an article about that. Not saying that it’s the solution, but it’s a start.Peter
Forum: Themes and Templates
In reply to: permalink keeps adding numbers…Some blogs use domain.com/%postname%/ – which even though is not good practive
Could you elaborate on why you think this is not good practice?
Peter
Forum: Themes and Templates
In reply to: Really need some help with the entry-title frontapgeYou’ve created all kind of floats to hold your content, and when it doesn’t fit, the float will go to the bottom. That’s normal behaviour.
You can prevent this from happening when you give
.posts-line .entry-title{}a fixed width (say 500px;)
Peter
Forum: Themes and Templates
In reply to: Font size for single post/pagetext.css, around line 15 holds a value of 62.5% for font-size. Increasing this increases the fontsize on your web site.
Peter