michaelmcguk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Embed WP PHP in my Page?Crikey, like waiting for buses this! ??
Thank you both very much, I’ll look at the two options and see how I go.
Cheers!
Forum: Fixing WordPress
In reply to: Archive.php issuehahaha tell me about it, try 200 in an hour ??
Forum: Fixing WordPress
In reply to: Archive.php issueYes, sorry it should be the || I’m using.
Thank you.
Forum: Fixing WordPress
In reply to: Archive.php issueIs there an is_not_category?
I’ve been trying things like:
if (!in_category(’26’) && !in_category(‘3’) )
if (!is_category(’26’) && !is_category(‘3’) )
but getting nowhere ??
Have you experienced this before?
Forum: Fixing WordPress
In reply to: Archive.php issueAaaah good call. I’ll probably want to list them all, so may remove that clause.
Thank you.
Forum: Fixing WordPress
In reply to: Archive.php issueBrilliante, worked a dream ??
Thanks
Forum: Fixing WordPress
In reply to: Archive.php issueHaha, can’t help but get a kick out of the old suffering game ??
I seem to be getting a Parse Error on the ‘endforeach’ part:
Parse error: syntax error, unexpected T_ENDFOREACH
My code:
<?php if (is_category(5)) : $readposts = get_posts('numberposts=5&category=12'); foreach($readposts as $post) : setup_postdata($post); ?> <?php while (have_posts()) : the_post(); ?> <div class="post"> <h3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3> <small><?php the_time('l, F jS, Y') ?></small> <div class="entry2" style="margin-right:135px;position:relative;"> <?php the_content() ?> </div> </div> <!-- end of post class element --> <?php endforeach; endif; ?>
Promise this is the last time I ask ??
Forum: Fixing WordPress
In reply to: Archive.php issueHahahah, don’t worry, that is the last question. I’m going to become an Insomniac to keep out the time zone thang ??
Thank you
Forum: Fixing WordPress
In reply to: Archive.php issue?Aaaah, my apologies. When I posted it said I hadn’t completed the form, so I just submitted a new one.
I’m sorry ??
Forum: Fixing WordPress
In reply to: Archive.php issue?Sorry, I don’t understand.
Do you have a link I could check out?
Thanks for any suggestions.
Forum: Fixing WordPress
In reply to: News page to have image? CSS issue…Worked a treat Ivovic!
Dead easy once you explained it.
Thanks!
Forum: Fixing WordPress
In reply to: News page to have image? CSS issue…Apologies for the late reply, lunch-time ??
Forum: Fixing WordPress
In reply to: News page to have image? CSS issue…Heheh you’re right, it’s much easier to have it in the post, but it just won’t work the way I’d like it to.
I basically want all my text aligned to the left and image in the post to the right. Not sure how do-able it is though ??
Don’t want any text-wrapping however on the image, that’s the hard part.
Forum: Fixing WordPress
In reply to: News page to have image? CSS issue…Aaaah ok.
Basically right now I have it set up where I have to put HTML directly in e.g.
<img src="images/calendar.jpg" alt="" />
So instead, I should perhaps just enter the image url like you say.
Again, apologies for being such a newb, but I’ve literally just started out with WP and am a sucker for asking on forums ??
Forum: Fixing WordPress
In reply to: News page to have image? CSS issue…Just wondering, will I always have to type in HTML for the image tag, or is there a way to ‘drop it’ into the custom field I’ve added?
Thanks once more.