danmerk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: the_meta and custom feilds:\
Assuming I don’t search? This doesn’t answer my question. Any info would be much appreciated.
Forum: Themes and Templates
In reply to: Static Home page conceptSo if I drop a loop on that template, the page content that is on that page in the admin is removed and replaced with post info?
Forum: Themes and Templates
In reply to: Conditional tags with Single.phpThanks for the help. This is how I remedied it. May be a slight hack, but works perfectly with what I am heading for.
Single.php
<?php if (in_category('news')) {include (TEMPLATEPATH . '/single-news.php'); } else if (in_category('staff')) {include (TEMPLATEPATH . '/single-staff.php'); } else { include (TEMPLATEPATH . '/single.php'); } ?>
Nothing else on that page. Then it checks for the two files I have on the server. Real clean.
Forum: Fixing WordPress
In reply to: Page content overridden by PostsIs there any way to tell WP not to use the index.php template for a category post main page? I only see one location in the UI where you tell it to use a specified Page you’ve created under “Pages.”
Am I having this issue because I’ve selected sort by category?I just want to create a few templates with my own code and not have WP use one index.php for every category page.
Forum: Fixing WordPress
In reply to: Page content overridden by PostsI remedied this by creating a child page under “Newsletters” for each category. Once I did that, I pointed my posts to that page and now the parent page content shows up and the posts are populating the child page. This may be an issue in the future when I may want to categorize news content and make posts to other child pages.
For now, I’ll keep digging into making my own templates. Thanks!
Forum: Fixing WordPress
In reply to: Page content overridden by PostsFor edification:
To make my “newsletter_tpl.php” template, I just copied the file called “page.php” and renamed to another file with the above name.
Forum: Fixing WordPress
In reply to: Page content overridden by PostsSo you are all saying that the index.php will always be the page that any posts is written to? If so, then I have to place:
<?php the_content();?>
On a generic default template in order to show what gets shown on the page template? Seems odd since my other pages all seem to be using the index.php file even when I specify which template to use.
Forum: Fixing WordPress
In reply to: Can’t view my web statsI never had this problem accessing that URI before. Its def since I installed WP. There has to be a way to access that url. Why would WP handle that request?
Forum: Fixing WordPress
In reply to: Upload directoriesSeriously? The question was that if I want to upload some files to my server, I can not do it throgh WP. Well I can, but who wants to use one single directory everytime they upload? In other systems I see that you can specify the path, but here you can only set it once, then they all go to that directory.
Forum: Fixing WordPress
In reply to: Upload directoriesGreat thing here is that all of you never answered my question rather beat me back. Nice community. Thanks for the help. Still no answer…
“Right..”
Forum: Fixing WordPress
In reply to: Upload directoriesOne thing I noticed about this “community” is that you ask logical questions, and they go days if not ever get a response. If you are negative, someone replaies almost immediately. What does that tell you about this “community?” Well I can say from a n00b like me who is passionate about making a blog site with some great application and there is slightly “arrogant” support, provides reasons for the “miffed” part. Apoligies for being harsh. Bottom line, Squeaky wheel gets most grease.
Regarding the comment I was referring to, is that in Moveable type, I am able to depict a location as to where I want to UL a file, on a per file basis. In WP I can define it once and then it is set. I post images almost daily and I would not want to change this everytime. Therefore I am left to FTP to a location, not a problem. However I was saying that most Plugins I was referring to use the DL location to fish out the images and create thumbnails for these galleries. That was the reason for my rant.
So once again, to those that “love” WP, can you explain why this application was designed to specify one location for uploading files? Or better yet, why does it not allow me to specify a location per upload? Thanks.
Forum: Fixing WordPress
In reply to: Category Templates and commentingHow? What code on that page allows for comments to show up? I tried using the loop from teh single.php page and it does not work? Can someone help? Thanks!
Forum: Fixing WordPress
In reply to: Category Templates and commentingOk, but I am not understanding this correctly. I have a page called “single.php” as part of the default templates. This page will show comments “in-line” whereis on ANY other pages such as “archives.php” or “category-1.php” they are displayed as only as a link. WHY???!?!?
Thanks!
Forum: Fixing WordPress
In reply to: Category Templates and commentingNo-one? Huh? Why is it that on categroy templates you can only use the comment popup link and not the “comment_template.php”???
Forum: Fixing WordPress
In reply to: No comments on Category PagesI checked the code. Same thing. Exact. Hmm…
This is single.php page code:
<?php while (have_posts()) : the_post(); ?>
<div class="contentinner">
<p class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><span class="date"><?php the_time('l, F jS, Y') ?></span><br><br>
<?php the_content() ?>
<?php comments_template(); ?>
<?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('Say something »', '1 Comment »', '% Comments »'); ?></div>
<?php endwhile; ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?><?php endif; ?>
This is category-2.php code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="contentnav">
<p class="navlinks"> <?php previous_post_link('« %link') ?> <span class="bigbars">|</span> <?php next_post_link('%link »') ?></div>
<div id="contentside">
<div>
<p align="center"><img src="/~danmerk/wordpress/site/fleuron_top.gif" align="middle"><br><br><img src="/~danmerk/wordpress/site/head_viewdate.gif" align="middle"><p align="center"><?php get_calendar(daylength); ?>
</div>
<!-- <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> //-->
<p class="subheads">Monthly Archives
<p class="archives"><?php wp_get_archives('type=monthly&limit=12'); ?>
<p class="subheads">Search the site<br><?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
<div id="contentinner">
<p class="title"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>" class="title"><?php the_title(); ?></a><div class="content">
<?php the_content('<p class="content">Read the rest of this entry »
'); ?>
<h3>On my mind that day</h3><span class="thinking"><?php echo c2c_get_custom('currently'); ?></span> <?php link_pages('<strong>Pages:</strong> ', '
', 'number'); ?>
<?php comments_template(); ?>
</div>
</div><?php endwhile; else: ?>
Sorry, no posts matched your criteria.<?php endif; ?>