venkman
Forum Replies Created
-
Forum: Themes and Templates
In reply to: No css stylingooooh thanks >.<
Forum: Themes and Templates
In reply to: Widgetizing theme (box set 1.2)this helped me as well. thanks!
similar error here :
i disabled all widgets and error corrected. thanks!
Forum: Themes and Templates
In reply to: date title on the same linehey mendezki, thanks for the reply. it was to do with the ‘h’ tags, i’ll use css to format the text.
i also found the reason the two were being forced onto different lines was i should have deleted everything out the date php brackets so it was simply:
<?php the_date(); ?>
cheers! ??
Forum: Fixing WordPress
In reply to: date and time on the same line?? haha yeah real life can do that.. thanks so much for having a look at this people, it helps – you know?
so i changed the code to
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_date(); ?><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>yes <div class="post" id="post-<?php the_ID(); ?>">
and got it to go onto the same line. the main thing i did there was to get rid of ”,”,” from in the brackets there.
<?php the_date('','',''); ?>
is now
<?php the_date(); ?>
i bet that was so simple / obvious you all decided not to mention it. i knew it had to be one of the php elements, i really am not sure what can go in the php brackets, and am learning when wordpress loads defaults etc : or when it’s just html formatting i missed in there.
all fun, thanks again. i’m sure i’ll have more questions.
until then –> back to the real world.
Forum: Fixing WordPress
In reply to: date and time on the same linewhy is this?
Forum: Fixing WordPress
In reply to: date and time on the same linenope, even if the code is:
div class="post" id="post-<?php the_ID(); ?>"> <?php the_date('','',''); ?>help<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
it’s still on a separate line !
Forum: Fixing WordPress
In reply to: date and time on the same linein the example:
<div class="post" id="post-<?php the_ID(); ?>"> <h3 class="storytitle"><?php the_date('','',''); ?>help<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
when i upload the page, in my browser the date and title appear on different lines. take a peep:
https://img81.imageshack.us/img81/5455/dateandtimewf8.pngmaybe if i take off all the < h > tags..
Forum: Fixing WordPress
In reply to: date and time on the same lineyeah that’s the stuff. so each ‘h’ tag makes the text a different size and each time you change between them it puts a new line right:
so how come if i have the date and the title on the same line in the code and only use the one ‘h3’ tag for that line it still places the date and time on two different lines?
<div class="post" id="post-<?php the_ID(); ?>"> <h3 class="storytitle"><?php the_date('','',''); ?>help<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
i added the word ‘help’ in there to test if ordinary text is affected but it’s on the correct lne – just before the title. like i say, the date is on the line above. how can i get it on the same line?
i guess this might need a simple coding fix?
thanks for looking!
Forum: Everything else WordPress
In reply to: Duplicate contentthanks ??
Forum: Everything else WordPress
In reply to: Duplicate contentshadow, you recently closed a thread i ‘duplicated’ ..
i actually renamed the thread, added only the most pertinent information form the prior thread and changed the ‘room’ from templates to ‘help & how -to’ as i felt this was more appropriate and i had received NO replies in the the other.if you need to do that then i’d really apreciate your looking at the question as well, and offering some advice. or is it just a stupid question?
thanks for your time and interest.
Forum: Themes and Templates
In reply to: date title on the same linereally guys, have a look here please…
even with no css styles at all if i have the the code:
<div class="post" id="post-<?php the_ID(); ?>"> <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?><?php the_date('','<h2>','</h2>'); ?></a></h3>
the date only goes after the story title – not on the ame line. so if i put the date and time – which i take it is the code inclusnd the <?php ?> brackets:
<?php the_date('','<h2>','</h2>'); ?>
before the h3 tag, in the link or after the < a > link it gos on a new line.
i don’t understand how there is any formatting on there (the date became blue when placed within the < a > tag which makes sense, but from where is it getting the idea to start a new line? and also where does the default formatting come from?
i have a fair idea of css and html bu perhaps im missing something in using the php here.. please have a look and see if you can help. thanks very much.
venk.
Forum: Themes and Templates
In reply to: How to make the Date go first before Entry title?bumP ^
Forum: Themes and Templates
In reply to: date title on the same linebumP ^
Forum: Themes and Templates
In reply to: date title on the same lineba bumP ^