devotee
Forum Replies Created
-
Uhm. Should I just put the php tags before and after that whole code? Im unsure about where to put them, if there are many…sry ?? Could you past it again with php tags perhaps?
No. I abandoned the idea about specific single templates, some posts will be in several categories so it was a bad idea probably.
I didnt do it for styling purposes anyway, but because I wanted to loop in thumbnails of posts from the same category that the single.php is currently displaying. Im guessing now that it might be better to do that through specific query. If you know how to do that I′ll be happy to be helped with that instead, if not thanks for wanting to help me with my initial problem ??
Forum: Fixing WordPress
In reply to: Replace image attribute with a class instead? (image uploader)I would like to apply different css-settings to different images, so I have the power to float them around and use different padding and margin if I like.
I did find a code witch adds the image dimensions as a class name, pretty nifty and does the trick for me, since I want to be able to style every image with the same dimensions the same way anyway.
Thanks for telling me about that beeing able to add a class in the advanced editor, I′ve never even seen that! That is great, although in this case I think its just as cumbersome for my clients to do that as to add the class by just typing it in. Anyway, I solved my problem.
Thanks for helping
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] Inserting slide images into a postI am having the same problem, there is no insert button for images that I inserted with “Insert into Post” button when adding to Meteor Slides.
Have you found any solution? I am working on my on theme. Other plugins I use are the WP Coda Slider, PS Disable Auto Formatting and Google XML sitemaps.
Ideas?
Forum: Themes and Templates
In reply to: Could this loop be a problem?Here is the code.
Forum: Themes and Templates
In reply to: Date only showing on last postThank you, I was not aware of that!
Forum: Themes and Templates
In reply to: single.php outputs all posts :(Actually I just noticed when I cleaned it up that my thumbnails where not displayed, so it must have been right from the beginning! Confusing lol!
Forum: Themes and Templates
In reply to: single.php outputs all posts :(Hey, thanks for noticing that 4:th line. I dont think it made any differense because it was still there when I got it to work, but I cleaned it up anyway.
Forum: Themes and Templates
In reply to: single.php outputs all posts :(Actually, I think I got it now.
I changed my single.php to use get_post instead, and the header uses this code instead:<?php $post_id = 85; $queried_post = get_post($post_id); ?>
<p class=”abouttitle”><?php echo $queried_post->post_title; ?></p>
<div id=”abouttext”><p><?php echo $queried_post->post_content; ?></p>There seems to be so many ways to output content with wordpress, I get confused ?? I dont really know when to use what, and when I change things and they suddenly work…i dont really know what I did right ^^