hoss9009
Forum Replies Created
-
sorry… it is… it’s actually
single-webinteractive.php
Hey Maria,
I created a single-post.php for my ECPT posts and I’m still getting 404’s.
How do I point a single post from a page of custom posts to a “single” post page?Thanks.
Forum: Plugins
In reply to: Parent SlugSorry, I didn’t know where else to post this.
Any help would be greatly appreciated.
Forum: Fixing WordPress
In reply to: Parent Slugbtw… the “blog” is NOT a category. I have no idea how I did this.
Forum: Fixing WordPress
In reply to: Parent SlugOk, so I don’t know how, but I have one of my sites show the page title IN the permalinks options!!
But on another site, I can’t get it to work… any ideas?
Any help would greatly be appreciated.
Forum: Fixing WordPress
In reply to: Parent Slughello?
Forum: Fixing WordPress
In reply to: Parent SlugYa I’ve got that. I guess I should’ve mentioned that I’m using custom post types for other pages. My index.php is the “/news/” page.
I wish there was a “/%page%/” permalink.Any other ideas?
Forum: Plugins
In reply to: How does Flutter’s hierarchy work?help?
Forum: Plugins
In reply to: [WP Post Type UI] [Plugin: WP Post Type UI] Custom Post loop?this is for the wp-post-type-ui?
If so, thank you!Forum: Plugins
In reply to: Problem while creating Flutter Layoutsame here… wtf?
Forum: Themes and Templates
In reply to: Template Option No Longer Availablehere, here…
Forum: Fixing WordPress
In reply to: Post Title v. Page TitleIt works!!!!!!!
Forum: Fixing WordPress
In reply to: Post Title v. Page TitleOk… I think I found my solution…. https://idratherbewriting.com/2008/07/31/wordpress-tip-show-the-latest-post-in-full-then-summaries-of-the-other-posts/
Forum: Fixing WordPress
In reply to: Post Title v. Page TitleIf anyone else has any ideas, I would greatly appreciate it.
Forum: Fixing WordPress
In reply to: Post Title v. Page TitleSo I have another problem. How do I structure (keyword) the loop so that the first post looks different than the rest.
Like I said earlier, I found some code that could help me add class(es) to the first post, but I don’t know how to get it the way that I want.I was thinking about something like this, but I think I run into issues of how things look on the pages of posts AFTER the first page of posts:
<?php // Beginning of the loop ?> <?php if ( $paged < 2 ) { ?> <?php $latestPost = new WP_Query(); $latestPost->query('posts_per_page=1'); while ($latestPost->have_posts()) : $latestPost->the_post(); ?> <div id="red-news"></div> <div id="left"> <div class="latest-post"><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="date"><span class="month"><?php the_time('M') ?></span><span class="day"><?php the_time('j') ?></span><span class="year"><?php the_time('Y') ?></span></div> <div class="thumbnail"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('latest'); ?></a></div> <div class="entry"><?php the_excerpt(); ?><div class="read-more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">read more ></a></div> </div><div class="clear"></div><div class="clear"></div></div><!-- end LATEST POST --><?php endwhile; ?> <?php $latestPost = new WP_Query(); $latestPost->query('posts_per_page=2&offset=1' . '&paged=' . get_query_var('paged')); while ($latestPost->have_posts()) : $latestPost->the_post(); ?> <div class="post"> <div class="date"><span class="month"><?php the_time('M') ?></span><span class="day"><?php the_time('j') ?></span><span class="year"><?php the_time('Y') ?></span></div> <div class="thumbnail"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a></div> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="entry"><?php the_excerpt(); ?> <div class="read-more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">(...)</a></div> </div> <div class="clear"></div> </div><!-- end POST --> <?php endwhile; ?> <div id="pagination"><?php wp_pagenavi(); ?></div> <?php //This is the dividing line - Above: First page of the blog / Below: All the other pages ?> <?php } else { ?> <?php $latestPost = new WP_Query(); $latestPost->query('posts_per_page=3&offset=3' . '&paged=' . get_query_var('paged')); while ($latestPost->have_posts()) : $latestPost->the_post(); ?> <div class="post"> <div class="date"><span class="month"><?php the_time('M') ?></span><span class="day"><?php the_time('j') ?></span><span class="year"><?php the_time('Y') ?></span></div> <div class="thumbnail"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a></div> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="entry"><?php the_excerpt(); ?> <div class="read-more"><a href="#">(...)</a></div> </div> <div class="clear"></div> </div><!-- end POST --> <?php endwhile; ?> <?php } ?> <?php // end "if 1st and 2nd page code ?>
Again, this is the OLD code. The original purpose of starting this thread was to get the traditional loop going (which I did), but I still have all the posts looking the same. There’s gotta be an easy way to fix this. Any ideas?
Anything would be GREATLY appreciated.-hoss