john_london
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Aligning a submit button in a form – please helpThe problem is the code for the div is generated by the plugin, not sure where it needs to be done – is there any other way?
Forum: Themes and Templates
In reply to: Aligning a submit button in a form – please helpHi – thanks for the reply – the only thing is I don’t know how to put it into a list as the code is generated by the plugin!?
Forum: Themes and Templates
In reply to: Displaying post titles on single news story pageOH MY GOD IT’S WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thank you SO much for your time gbaka – it’s amazing that you help people like me – I hope something really pleasant happens to you tomorow like you win the lottery or something. Bless
x
Forum: Themes and Templates
In reply to: Displaying post titles on single news story page<div id="news_menu_left"> <?php $recent = new WP_Query('showposts=10'); while($recent->have_posts()) : $recent->the_post();?> <?php if (have_posts()) : ?> <ul id="news_left_titles"> <?php while (have_posts()) : the_post(); ?> <div class="news_menu_item"> <li id="news_left_titles"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </li> </div> <div id="archives"> <h4>MP NEWS ARCHIVES</h4> <select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'> <option value=""><?php echo attribute_escape(__('Select Month')); ?></option> <?php wp_get_archives('type=monthly&format=option&show_post_count=1'); ?> </select> </div> </div>
Is this right? I keep getting a white screen!! Sorry!!
Forum: Themes and Templates
In reply to: Displaying post titles on single news story pageHi gbaka – I apologise for my stupidity and thank you again – but which code does this replace? I’ve tried a few variations but each time leads to a completely blank page!
Forum: Themes and Templates
In reply to: Displaying post titles on single news story pageHey Gbaka – thanks for the quick reply. Yes, I think so – I’ll use an example to clarify:
Index.php
Post Title 1: T-Shirt Giveaway
Post Title 2: We have a gig tomorow night
Post Title 3: New single out todaySo you click on Post 1, which takes you to:
Single.php
Left div: displays the post titles as with index.php
Main div:
Post Title 1: T-shirt Giveaway
Post 1 Content: Hey guys, we’re giving away free t-shirts so come and get one …etc
Post 1 Comments, etcForum: Themes and Templates
In reply to: Displaying post titles on single news story pageSo basically this is what I’m trying to get:
index.php
a list of the most recent 5 post titles [done]single.php
a list of the most recent 5 post titles (left side div)the selected post title and its content (main div) with comments
Forum: Themes and Templates
In reply to: Displaying post titles on single news story pageMmmm thanks, but that displays one news story but only the first one – it doesn’t change which ever post title I click on – always the same post title on the single page?
Forum: Themes and Templates
In reply to: Listing subpages & naming the classHey thanks again esmi!
Forum: Themes and Templates
In reply to: Listing subpages & naming the classHey esme, thanks – I’ve tried it but it doesn’t seem to name the li items as lyrics list. I’m going to experiment! Really appreciate your help!
Forum: Themes and Templates
In reply to: The most frustrating problem ever – pages re-sizealchmyth YOU ARE A LEGEND – thanks so much!!!
Forum: Themes and Templates
In reply to: Page List and Title ListsHey – that’s brilliant, thanks so much!!
Forum: Fixing WordPress
In reply to: Static home page but with blog excerptsOne more thing though please.
1) So I have created the Broadcast page, and made it my posts page. I want to make this page display the full blog posts.
2) I now want the index page to display the excerpts. Where would I edit this?
Forum: Fixing WordPress
In reply to: Static home page but with blog excerptsHey thanks!