MattRamos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displaying the latest wordpress entries on my main pageThanks for all of your help! I figured out that the problem was a setting in my ftp program which wasn’t letting me overwrite files ?? I have things working now.
Thanks Rob and alphaoide
Forum: Fixing WordPress
In reply to: Displaying the latest wordpress entries on my main pageI have “<?php $my_query->the_content(); ?>” in place of the other line and it’s still not working. That was what I was supposed to do, right?
Forum: Fixing WordPress
In reply to: Align Main Table LeftLook for margin: 0px auto; or margin: 0 auto; in #content{}
Just take that out and it should work. And when I say take that out, I mean the margin: 0px auto; or margin: 0 auto;, not the whole #content{}
Forum: Fixing WordPress
In reply to: Displaying the latest wordpress entries on my main pageI’m very new to this stuff. I’m not sure if I have to change anything in what you posted to get it to work.
Right now, this is what I have.
<?php $my_query = new WP_Query(‘showposts=10’); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<?php the_content(__(‘(more…)’)); ?>
<?php endwhile; ?>
I copied the the_content part from my theme, which works. Does it have to be done another way? Is there anything wrong as far as you can see?
Forum: Fixing WordPress
In reply to: Displaying the latest wordpress entries on my main pageThanks for the link, but Rob posted that above and I read through it.
Any tips to get this to work? Thanks!
Forum: Fixing WordPress
In reply to: Displaying the latest wordpress entries on my main pageWell, I did everything you said. I just copied the template tags from my theme’s index.php to it. I added <?php $i = 0; if ( have_posts() ) : while ( have_posts() && $i < 3 ) : the_post(); ?>
and
<?php $i++; endwhile; endif; ?>
But when I go the page, I get this.
Parse error: parse error, unexpected T_ENDWHILE in /home/mattra00/domains/mattramos.com/public_html/index.php on line 65
that line turns out to be <?php $i++; endwhile; endif; ?>
Forum: Fixing WordPress
In reply to: Displaying the latest wordpress entries on my main pageThanks a lot! That’s exactly the kind of reply I was looking for. I’ll have to add the template tags to my homepage.
Thanks again.