ctw
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Retrieving headlines from secondary blogsThat worked great! Do you happen to know the syntax for other variables you can pull like date and author? I didn’t see any info regarding that on those pages.
Forum: Fixing WordPress
In reply to: Retrieving headlines from secondary blogsThanks, I’ll give that a shot.
Forum: Fixing WordPress
In reply to: Using The Loop on external pageThat’s awesome! I can’t believe it turned out to be something so simple. Thank you so much for the help!
Forum: Fixing WordPress
In reply to: Using The Loop on external pageso do you mean it would have to be:
<?php
require(‘https://www.domainname.com/blog/wp-blog-header.php’);
?>Forum: Fixing WordPress
In reply to: 1 specific post on main pageOh well. I went ahead and just pulled out the code for pulling in posts, and instead created a static welcome message. It looks good, and serves my purpose. Not as easy for my users to edit, but oh well.
Thank you so much for the time you put into helping me. It’s much appreciated.
Forum: Fixing WordPress
In reply to: 1 specific post on main pageOk, well I can’t seem to get it to work. I’m modifying the code in index.php. But it’s still showing the newest post only, rather than the one I’m specifying, which is post #1. Here’s what my code in index.php looks like:
<?php get_header(); ?>
<div id=”content” class=”narrowcolumn”>
<?php if (is_home()) {query_posts(‘p=1’);} ?>
<?php if (is_home()){ $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“p=1&paged=$page”);
} ?><div class=”post” id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></small><div class=”entry”>
<?php the_content(‘Read the rest of this entry »’); ?>
</div><p class=”postmetadata”>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></p>
</div><div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Previous Entries’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Next Entries »’) ?></div>
</div></div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: 1 specific post on main pageAwesome! Thanks a lot. I’ll try this out and report back on whether or not I get it to work.
Forum: Developing with WordPress
In reply to: showing post content on another pageI’ll definitely give that a shot. It’s the only thing that might work at this point, other than pointing an iFrame to the blog site. But then I’d have to screw with the look of the blog site, just to get it to appear the way I want it to on the other website. Definitely not something I want to do. Thanks for the input.
Forum: Fixing WordPress
In reply to: 1 blog, multiple authorsWell imagine under the header there’s a button or tab for Lisa, Mike, Dave, and Susan. Click on Lisa and you’re reading her blog. Click on Mike and you’re reading his blog, etc. But it’s all on the same blog using the same database. So basically each author’s page would have the intelligence to only show posts written by that author.
Does that help?